Skip to content

How to refer a nested JSON field in Loki sink's label? #21496

Answered by jszwedko
tiantangkuohai asked this question in Q&A
Discussion options

You must be logged in to vote

Hey! .message.method is correct (or message.method). However, your remap configuration is adding the field at .method so you should use that instead.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by jszwedko
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants