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
For this example we can solve all issues when we parse prometheus already in inputs plugin (and not use grok).
But our real life issue is based on [[inputs.win_eventlog]], there we cant set data_format to "prometheus" inside inputs plugin.
Currently we solve this issue with merge = "" but this means all global tags are lost including "host" tag. Also tag mytag = "mytagvalue" is lost which we need for flow control because we use multiple configs on same host. Thats our main issue: We dont know how we can "transfer" our [inputs.file.tags] and agent.conf global tags to any metric generated by [[processors.parser]], without specifying duplicated manually via processors.starlark or processors.override.
The text was updated successfully, but these errors were encountered:
Relevant telegraf.conf
Logs from Telegraf
System info
Telegraf 1.32.1
Docker
No response
Steps to reproduce
...
Expected behavior
Output:
All parsed metrics are merged with inital input metric.
Actual behavior
Output:
All metrics but one have been lost.
Additional info
For this example we can solve all issues when we parse prometheus already in inputs plugin (and not use grok).
But our real life issue is based on
[[inputs.win_eventlog]]
, there we cant set data_format to "prometheus" inside inputs plugin.Currently we solve this issue with
merge = ""
but this means all global tags are lost including "host" tag. Also tagmytag = "mytagvalue"
is lost which we need for flow control because we use multiple configs on same host. Thats our main issue: We dont know how we can "transfer" our [inputs.file.tags] and agent.conf global tags to any metric generated by [[processors.parser]], without specifying duplicated manually via processors.starlark or processors.override.The text was updated successfully, but these errors were encountered: