logstash-plugins / logstash-filter-http

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

Allow additional content types #27

Closed MikeKemmerer closed 3 years ago

MikeKemmerer commented 3 years ago

Adding a check to see if "Content-Type" or "content-type" is set in the headers setting. If unset, then the body_format setting will override the content-type header with either application/json or text/plain. I needed to add this to allow "application/x-www-form-urlencoded" to work.