-
Is there any way to create a counter with "log_to_metric" that gets the sum of a value instead of getting the number of occurrences of a log? I have a log with turnAroundTime that I want to have in counter format |
Beta Was this translation helpful? Give feedback.
Answered by
jszwedko
Dec 15, 2022
Replies: 1 comment
-
Hey @garceger ! Yeah, you should be able to sum the values. See this example: https://vector.dev/docs/reference/configuration/transforms/log_to_metric/#examples-sum |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
jszwedko
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hey @garceger !
Yeah, you should be able to sum the values. See this example: https://vector.dev/docs/reference/configuration/transforms/log_to_metric/#examples-sum