Inputting this in my ELK server:
curl -XPUT 'http://localhost:9200/_template/topbeat' -d@topbeat.template.json
I get:
{"error":"Content-Type header [application/x-www-form-urlencoded] is not supported","status":406}
Any ideas why the command is wrong?