Juniper / fluent-plugin-udp-native-sensors

Apache License 2.0
5 stars 10 forks source link

Error when starting TD-Agent #10

Open mohsin106 opened 5 years ago

mohsin106 commented 5 years ago

Hi, I'm getting the following error when trying to start the TD agent:

2019-09-12 15:57:29 +0000 [info]: parsing config file is succeeded path="/etc/td-agent/td-agent.conf" 2019-09-12 15:57:30 +0000 [error]: config error file="/etc/td-agent/td-agent.conf" error_class=Fluent::ConfigError error="Unknown parser plugin 'juniper_udp_native'. Run 'gem search -rd fluent-plugin' to find plugins" 2019-09-12 15:57:30 +0000 [info]: parsing config file is succeeded path="/etc/td-agent/td-agent.conf" 2019-09-12 15:57:30 +0000 [error]: config error file="/etc/td-agent/td-agent.conf" error_class=Fluent::ConfigError error="Unknown parser plugin 'juniper_udp_native'. Run 'gem search -rd fluent-plugin' to find plugins" 2019-09-12 15:57:31 +0000 [info]: parsing config file is succeeded path="/etc/td-agent/td-agent.conf" 2019-09-12 15:57:31 +0000 [error]: config error file="/etc/td-agent/td-agent.conf" error_class=Fluent::ConfigError error="Unknown parser plugin 'juniper_udp_native'. Run 'gem search -rd fluent-plugin' to find plugins" 2019-09-12 15:57:31 +0000 [info]: parsing config file is succeeded path="/etc/td-agent/td-agent.conf" 2019-09-12 15:57:31 +0000 [error]: config error file="/etc/td-agent/td-agent.conf" error_class=Fluent::ConfigError error="Unknown parser plugin 'juniper_udp_native'. Run 'gem search -rd fluent-plugin' to find plugins" 2019-09-12 15:57:32 +0000 [info]: parsing config file is succeeded path="/etc/td-agent/td-agent.conf" 2019-09-12 15:57:32 +0000 [error]: config error file="/etc/td-agent/td-agent.conf" error_class=Fluent::ConfigError error="Unknown parser plugin 'juniper_udp_native'. Run 'gem search -rd fluent-plugin' to find plugins"

This is what my td-agent.conf file looks like:

<source>
    @type udp
    tag juniperNetworks
    format juniper_udp_native
    port 50051
    bind 0.0.0.0
</source>
<match juniperNetworks>
  @type stdout
  @id stdout_output
</match>
gaddevijay commented 4 years ago

@mohsin106 Can you please specify the version of the fluentd you are using

gaddevijay commented 4 years ago

I just checked this using td-agent approach and work fine. Did you install the plugin? You should find something like below

$ td-agent-gem list | grep udp fluent-plugin-udp-native-sensors (0.0.1) $