"Got response code '400' contacting Elasticsearch at URL 'http://localhost:9200
- Dominant language
- Java
- Stars
- 14.9k
- Forks
- 3.5k
- Avg merge
- 19h 14m
- Merged PRs (30d)
- 63
Description
hi , my problem is same #6254 , i set monitoring and manage_index_templates privilege for logstash user ,but still response is :
logstash.outputs.elasticsearch] Failed to install template. {:message=>"Got response code '400' contacting Elasticsearch at URL 'http://localhost:9200/_template .....
Configuration :
Elasticsearch 5.3
Logstash 5.3
Kibana 5.3
X-Pack 5.3
when i comment manage_template in logstash output and it dosent pars mapping to elasticsearch ,,it runs ok.
elasticsearch
{ hosts => ["localhost:9200"]
user => "logstash_internal"
password => "123456"
index => "stock-%{+YYYY.MM.dd}"
manage_template => true
template_name => "stock"
template => "/tmp/stockTemp.conf"
template_overwrite => true
Contributor guide
Assessment
This issue has not been assessed yet.