Skip to content

Example for body_key and headers_key #5854

Discussion options

You must be logged in to vote

I realized that my headers are not supposed to be a string. only the body.
so it should look like this

[INPUT]
    NAME   dummy
    Dummy  {"level":"info","message":"hello world", "headers":{"content-type":"application/json"}}
    Tag logs

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Answer selected by agup006
Comment options

You must be logged in to vote
0 replies
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