I have telegraf config built using [[inputs.exec]]
, telegraf --test displays data in influx inline format but not seeing the measurement getting created in InfluxDB. Other configs living on the same machine able to feed data to InfluxDB. Any suggestions on what is going wrong?
telegraf --test --config-directory /etc/telegraf/telegraf.d --input-filter exec
2021-01-04T16:53:40Z I! Starting Telegraf 1.16.3
2021-01-04T16:53:40Z I! Using config file: /etc/telegraf/telegraf.conf
> test_exec,apic=10.2.0.22,env=poc,fabricHealthTotal_attributes_dn=health,host=telegrafvm,os=linux,platform=linux fabricHealthTotal_attributes_cur=4i 1609779221000000000
> test_exec,apic=10.2.0.22,env=poc,fabricHealthTotal_attributes_dn=pod-1/health,host=telegrafvm,os=linux,platform=linux fabricHealthTotal_attributes_cur=4i 1609779221000000000