{"error":{"root_cause":[{"type":"parse_exception","reason":"Failed to derive xcontent"}],"type":"parse
_exception","reason":"Failed to derive xcontent"},"status":400}
I think what you're trying to do is to put the winlogbeat.template.json in Elasticsearch.
Is it possible for you to upload it from another source?
And change try to change localhost to the IP-adres, instead of localhost.
I also think that the CURL command you give isn't correct. (I'm not sure!)
How I did it:
I downloaded the winlogbeat.template.json, and uploaded it in /Installs/
I logged on to my Elasticsearch server, which has 192.168.43.51, and performed the following code:
curl -XPUT http://192.168.43.51:9200/_template/winlogbeat -d@/installs/winlogbeat.template.json
(Notice the '@')
What does your Elasticsearch log says?
Did you try to restart Elasticsearch? And on what platform is your Elasticsearch currently running
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant
logo are trademarks of the
Apache Software Foundation
in the United States and/or other countries.