-
Hi, how to specify logline/content in loki sink? Current config works labels are applied, but all json lines is written to logline and i only need .message. I know i could delete some fields by using del(), but i can't delete .app, .hostname, .level as they are used as lables later in the sink. Here's my values.yaml file.
|
Beta Was this translation helpful? Give feedback.
Answered by
9Lucky9
Nov 22, 2024
Replies: 1 comment 1 reply
-
So i figured this out by doing this:
If this is not the preferred/best way of doing this, correct me. Final values.yaml config:
|
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
9Lucky9
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
So i figured this out by doing this:
remove_label_fields: true
to loki sink.encoding.codec
to "text"If this is not the preferred/best way of doing this, correct me.
Final values.yaml config: