logstash-plugins / logstash-filter-http

HTTP Filter Plugin for Logstash
Apache License 2.0
12 stars 29 forks source link

Need clarification on sending data as json #47

Closed kaisecheng closed 1 year ago

kaisecheng commented 1 year ago

Tell us about the issue

Description:
User has confusion about how to send data in json format as the document misses to point out the requirement of body and body_format.

body_format => "json" works only when body is an array or a hash

URL: https://www.elastic.co/guide/en/logstash/current/plugins-filters-http.html#plugins-filters-http-body https://www.elastic.co/guide/en/logstash/current/plugins-filters-http.html#plugins-filters-http-body_format

Anything else?