Greetings,
Running influxdb 2, telegraf latest on Windows 10. I have written my custom conf file
[[inputs.exec]]
## Commands array
commands = [
"./e_discovernodes.py"
]
## Timeout for each command to complete.
timeout = "5s"
## measurement name suffix (for separating different commands)
name_suffix = "_mycollector"
## Data format to consume.
## Each data format has its own unique set of configuration options, read
## more about them here:
## https://github.com/influxdata/telegraf/blob/master/docs/DATA_FORMATS_INPUT.md
data_format = "json"
my python scripts runs an elastic search query and returning the data as json. Am I going in the right direction?
I am currently getting an error
%1 is not a valid Win32 application. for command
I will sort this out myself but was wondering if my conf file is looking good?
Thanks!