You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I expect that the log will be parsed based on the regex mask, preserving the body key and its value, and correctly published in loki, as happens in normalize regex.
Actual Behavior
I have an incoming log message from a container with nginx:
And accordingly, nothing gets into my loki.
If I first copy the contents of the body: in the message: and parse the message, then parsing the log and publishing it in loki occurs correctly.
I also noticed that if you use the outdated normalize regex, then there are no problems either. The log is parsed by mask and published in loki.
What version of Loggie?
v1.4.1
Expected Behavior
I expect that the log will be parsed based on the regex mask, preserving the body key and its value, and correctly published in loki, as happens in normalize regex.
Actual Behavior
I have an incoming log message from a container with nginx:
I parse it using regex by mask:
Those. my crd interceptors looks like this:
By transferring loggie to debug and adding
print()
, I see that my log message is parsed correctly, but the body key with its value disappears.And accordingly, nothing gets into my loki.
If I first copy the contents of the
body:
in themessage:
and parse the message, then parsing the log and publishing it in loki occurs correctly.I also noticed that if you use the outdated
normalize
regex, then there are no problems either. The log is parsed by mask and published in loki.Steps to Reproduce the Problem
The text was updated successfully, but these errors were encountered: