This message was deleted.
# general
s
This message was deleted.
n
Hi there Hannes! So great to see that you're trying out SigNoz. I'm new to the team and not certain of the best way to get some structure out of a plaintext log. It's 4am for the rest of the team right now so I'll see what they say in a few hours 🙂
h
I managed to get this done with a combination of
regex_parser
& `key_value_parser`:
Copy code
logstransform/internal:
     operators:
       - type: regex_parser
         regex: 'trace_id=(?P<trace_id>\S*)'
       - type: key_value_parser
        parse_to: attributes
       - type: regex_parser
         regex: 'span_id=(?P<span_id>\S*)'
       - type: key_value_parser
         parse_to: attributes