You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It would be nice if there was a config option to simply send the entire logstash event as a json in the POST body (by using event.to_json). In my use case, the server needs to most of the event data, and it's much easier to parse the POST body as a JSON object that to handle each parameter independently.
The text was updated successfully, but these errors were encountered:
Hi @bradvido,
I'm not sure whether this is a step too far (as this was originally intended as a filter plugin). Couldn't this be realised using the logstash http output plugin and format => "json"? Do you need the possibility to handle the rest response?
The idea is that the entire event JSON would be sent to an "enrichment webservice" and it would return the entire enriched JSON. It's simpler for my use case to send the entire event than specifying 10-20 different parameters in the HTTP request.
It would be nice if there was a config option to simply send the entire logstash event as a json in the POST body (by using
event.to_json
). In my use case, the server needs to most of the event data, and it's much easier to parse the POST body as a JSON object that to handle each parameter independently.The text was updated successfully, but these errors were encountered: