You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The exec input should be able to handle commands which run, and then stream their output data.
Current behavior:
Currently telegraf expects commands launched by the exec input to generate output and then exit. Thus telegraf buffers all the output until the command does exit.
Desired behavior:
Telegraf should instead be able to launch the command and read the output as the command generates it.
Use case: [Why is this important (helps with prioritizing requests)]
This is useful for plugins which stay running, generating statistics on their own interval. Currently the only way to get data from such inputs is through some sort of socket (tcp/udp), which is less than ideal.
In my specific use case, I am trying to launch a second telegraf inside a network namespace to collect statistics from that namespace. I have the second telegraf configured with the file output plugin writing to STDOUT.
The text was updated successfully, but these errors were encountered:
Feature Request
Proposal:
The
exec
input should be able to handle commands which run, and then stream their output data.Current behavior:
Currently telegraf expects commands launched by the
exec
input to generate output and then exit. Thus telegraf buffers all the output until the command does exit.Desired behavior:
Telegraf should instead be able to launch the command and read the output as the command generates it.
Use case: [Why is this important (helps with prioritizing requests)]
This is useful for plugins which stay running, generating statistics on their own interval. Currently the only way to get data from such inputs is through some sort of socket (tcp/udp), which is less than ideal.
In my specific use case, I am trying to launch a second telegraf inside a network namespace to collect statistics from that namespace. I have the second telegraf configured with the
file
output plugin writing to STDOUT.The text was updated successfully, but these errors were encountered: