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
How can I add a field called message or formatted_log to store the raw log, similar to how Filebeat + Logstash create a message field containing the log in this format: 12:50:48.414-0300 [XNIO-1 task-2] [91d3e27785c6dff592ac89b48d9b918a] [d533f7fc7db1d30d] DEBUG c.k.t.infrastructure.Controller - transfer-encoding: [chunked]? I would like to have the log in this format, but also split each field to make it easier to search the logs. Would this be possible? I'm using Spring Boot, Otel Collector, Logback Appender for Otel and elasticsearch to save. I even asked a question on StackOverflow, but I haven't had any success yet.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
How can I add a field called
message
orformatted_log
to store the raw log, similar to how Filebeat + Logstash create a message field containing the log in this format:12:50:48.414-0300 [XNIO-1 task-2] [91d3e27785c6dff592ac89b48d9b918a] [d533f7fc7db1d30d] DEBUG c.k.t.infrastructure.Controller - transfer-encoding: [chunked]
? I would like to have the log in this format, but also split each field to make it easier to search the logs. Would this be possible? I'm using Spring Boot, Otel Collector, Logback Appender for Otel and elasticsearch to save. I even asked a question on StackOverflow, but I haven't had any success yet.Beta Was this translation helpful? Give feedback.
All reactions