Update monitoring HTTP end point

This commit changes /_xpack/monitoring/_bulk to /_monitoring/bulk.
The former is deprecrated as 7.0.0.

Relates https://github.com/elastic/elasticsearch/pull/36130
Relates https://github.com/elastic/elasticsearch/issues/35958

Fixes #10528
This commit is contained in:
Jake Landis 2019-03-10 16:18:52 -05:00 committed by João Duarte
parent 5c1a0975c6
commit dcde7e3ba6

View file

@ -13,7 +13,7 @@ input {
output {
elasticsearch {
hosts => <%= es_hosts %>
bulk_path => "/_xpack/monitoring/_bulk?system_id=logstash&system_api_version=<%= system_api_version %>&interval=1s"
bulk_path => "/_monitoring/bulk?system_id=logstash&system_api_version=<%= system_api_version %>&interval=1s"
manage_template => false
document_type => "%{[@metadata][document_type]}"
index => ""