I am trying to Monitor our Tomcat logs with Elastic Search / LogStash
when i try and create a mapping:
curl -XPUT "http://:9200/logs/" -d '{ "mappings" : { "tomcat_access":{ "discover":".*"}}}'
I am getting the following Error:
{"error":"Content-Type header [application/x-www-form-urlencoded] is not supported","status":406}root@ip-10-239-48-161:/etc/logstash/conf.d#