Skip to content

Unable to access @timestamp in http_post2_payload #1096

Locked Answered by akusei
akusei asked this question in Q&A
Discussion options

You must be logged in to vote

There's another option to handle escaped data in the post payload. I kept going back and forth with some ideas because I don't necessarily like the idea of requiring a specific subset of yaml escaping or quotes to account for json rest calls being made with the post2 plugin. This would be a big change but I think I can do it while maintaining existing functionality.

Currently only YAML is supported in the http_post2_payload field but that field gets converted to json when sending. Json and Yaml are fairly interchangeable but in this case it causes some weirdness with needing to escape certain characters or even using different quotes to account for these oddities. What do you think about …

Replies: 3 comments 8 replies

Comment options

You must be logged in to vote
5 replies
@akusei
Comment options

@jertel
Comment options

@akusei
Comment options

@jertel
Comment options

@akusei
Comment options

Comment options

You must be logged in to vote
2 replies
@jertel
Comment options

@akusei
Comment options

Comment options

You must be logged in to vote
1 reply
@jertel
Comment options

Answer selected by jertel
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