Replies: 2 comments
-
regex parser is widely used and should support this. What regex did you try? |
Beta Was this translation helpful? Give feedback.
0 replies
-
The commented out parts are the ones I have been experimenting with. I think its my knowledge in regex that is lacking. Help or example how to parse would be helpful. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
{
"body": "2023-11-15 08:46:50.012 INFO 1 --- [AsyncResolver-bootstrap-executor-0] c.n.d.s.r.aws.ConfigClusterResolver : Resolving eureka endpoints via configuration",
"id": "2Y2BBfmM72xDo22HcMx19L2gZsy",
"timestamp": "2023-11-15T07:46:50Z",
"attributes": {
"container_id": "338710e49d90",
"container_name": "opt_example_01",
"severity_field": ""
},
"resources": {},
"severity_text": "",
"severity_number": 0,
"span_id": "",
"trace_flags": 0,
"trace_id": ""
}
Even though I am getting the INFO and 1 in my logs they wont seem to populate the fields severity_text and severity_number. I've looked into the otel-collector and played around a bit with the regex but cant seem to get it to work. Did anyone get this to work? Help would be appreciated! :)
Beta Was this translation helpful? Give feedback.
All reactions