Name: fluent-plugin-udp-native-sensors
Owner: Juniper Networks
Description: null
Created: 2018-03-31 04:24:53.0
Updated: 2018-04-26 06:02:11.0
Pushed: 2018-04-18 06:32:51.0
Homepage: null
Size: 30
Language: Ruby
GitHub Committers
User | Most Recent Commit | # Commits |
---|
Other Committers
User | Most Recent Commit | # Commits |
---|
This plugin is designed to parse the Juniper Native sensors data. Juniper Native sensor data are Google Protobuf messages sent over UDP. Hence this plugin should be used with UDP input plugin.
Data from all the sensors are emitted with same tag. So if you want to distinguish data from different sensors, then rewrite_tag_filter
should be used.
What this means is, in case if you want to store the data in databases, by default all the data will be stored in single table/measurement.
If you want the data to be stored separately per sensor, then you have to use rewrite_tag_filter
plugin. Configs examples are given below.
Below are few points that are considered:
Download the plugin from https://git.juniper.net/vijaygadde/fluent-plugin-udp-native-sensors
Change directory to <path-of-download>/fluent-plugin-udp-native-sensors
Build using gem build fluent-plugin-udp-native-sensors.gemspec
Install using gem install fluent-plugin-udp-native-sensors-0.0.1.gem
rce>
@type udp
tag juniperNetworks
format juniper_udp_native
port 22000
bind 0.0.0.0
urce>
ch juniperNetworks>
ype rewrite_tag_filter
writerule1 sensor_name (.+) ${tag}.$1
tch>
On starting td-agent, Logging supported like below.
-09-12 10:50:44 +0530 [debug]: plugin/parser_juniper_udp_native.rb:63:parse: Extract sensor data from etina:60.60.60.1 with output structured i
-09-12 10:50:44 +0530 [debug]: plugin/parser_juniper_udp_native.rb:70:parse: ==============================================================
-09-12 10:50:44 +0530 [debug]: plugin/parser_juniper_udp_native.rb:75:parse: jnpr_qmon_ext={"queue_monitor_element_info"=>[{"if_name"=>"xe-2/0/1", ......
-09-12 10:50:44 +0530 [debug]: plugin/parser_juniper_udp_native.rb:76:parse: ==============================================================
Pull requests are very welcome!!
Copyright : Copyright (c) 2017 Juniper Networks, Inc. All rights reserved.
License : Apache License, Version 2.0