r/grafana•
pelmen

Pattern Parsing with logs containing <>?

Hey super new to Loki and grafana. Attempting to pattern parse:

2021-12-17 12:25:52,915 INFO [afdfafacdcaseafas]

[name=[email protected];aname=[email protected];mid=282;ip=10.10.10.140;port=55555;ua=zclient/8.7.1_GA_1670;via=148.1.1.1.1.1(ZimbraWebClient - GC96 (Linux)/8.7.1_GA_1670);]

mailop - Adding Message: id=11111111, Message-ID=<000000000000000000000000000.JavaMail.zimbra@dafa.com>, parentId=-1, folderId=5, folderName=Sent.

pattern '<_> <_> <_> [<_>] [<name>] <_> <_> <_> <_> <_> <_> <_> <_> <_>'

​

I have that but is it even close? I'm guessing the message-ID is messing me up. Can you even pattern parse if it contains < > in the string?

Appreciate any help! Thank you

Posted Dec 17, 2021, 9:08 PM UTC

00

No comments yet

Nobody commented on this post, or the comments weren't captured.