Slackbot
04/04/2023, 3:35 PMnitya-signoz
04/04/2023, 4:40 PMnitya-signoz
04/04/2023, 4:43 PMEven the routing choice here is super-vague by assuming (incorrectly) that any line beginning with a open-curly-brace is in some parse-able JSON format: https://github.com/SigNoz/charts/blob/main/charts/k8s-infra/values.yaml#L96-L104This is incorrect. When your logs are stored by k8s into a file it follows a specific format for storing logs. There won’t be a case where your k8s pod logs are captured but it is not stored in docker or some other format.
Nick Burrett
04/04/2023, 6:38 PMjson_parser
to parse the message.body
then I will have to find a way of applying a conditional expression that allows for different mapping rules dependent on the source app, for example where message.body.xid
for one application would map to session_id
and message.body.xid
for another application would map to transaction_id
.nitya-signoz
04/05/2023, 2:35 PM