I don’t want to write regex for my log lines during my promtail setup as I have Loglines generated from multiple kind of apps which follow a very different format not like logfmt/json/etc.
I have 2 fields traceID and spanID in all my log lines which I want extracted in “Log_Labels” part in Grafana. My final aim is to build custom dashboards on top of that.
I have tried using the Derived Fields feature in Grafana - That works but labels show in Detected Fields - not in Log labels.
What kind of Promtail Setup I can do do using Pipelines so that I can extract 2 small key-value pairs in “LOG-LABELS” in Grafana which can help me group them and create dashboards?