[processor] Is it possible to generate metrics from logs? #10583
-
HIs it possible to write a custom processor that will process logs and generate new metrics from those logs? We have existing system that puts a lot of interesting metadata in some logs. We'd like to generate metrics from those logs on-the-fly. Custom processor looks like a good way to do it, but it looks like processors are confined to their pipelines, so log processor can only mutate logs, but not create metrics from it. Or do I understand it wrong? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
I'm not a contributor but I think if you look at the spanmetrics processor it does something similar but with spans, and may be a good starting point for what you suggest. |
Beta Was this translation helpful? Give feedback.
I'm not a contributor but I think if you look at the spanmetrics processor it does something similar but with spans, and may be a good starting point for what you suggest.