I got an impression that plugins , once configured in telegraf, run always.
For example, if I attach a tail plugin or a logparser plugin, they will always run and populate my influxdb with data.
But if I only interested in short periods of invocation of such plugins?
That means “on demand”, “on command”.
How can I switch them on or switch them off when I want?
The obvious way is to run telegraf by command, supplying a config file with parameters of plugins.
But this means, I need exec/ssh permissions on a server, where I run telegraf agent and remote access.
This is not a good option for me, because my OPS people oppose that.
I can start telegraf agent only 1-ce to work FOREVER.
Once I started, all plugins run, I can not stop/start any of them.
And to use logparser plugin constantly is a big impact, we need enable it only for periods, when we want.
Ideally, if we can do that from Grafana - start/stop telegraf plugin on demand.
Is it to much to expect from telegraf?
In general, telegraf is a good agent, but when it comes to ways of plugins run-time control - it is somehow inaccessible.
Am I wrong? Do you have ideas?
Thanks a lot!