Open ycombinator opened 5 years ago
I have the same error. logstash7.1 set xpack.monitoring.collection.interval =60s,but get error: [2019-08-22T17:40:33,656][ERROR][logstash.outputs.elasticsearch] Encountered a retryable error. Will Retry with exponential backoff {:code=>400, :url=>"http://localhost:9200/_monitoring/bulk?system_id=logstash&system_api_version=7&interval=1s"}
When
xpack.monitoring.enabled
is set totrue
, Logstash will periodically collect its own monitoring metrics and ship them to the Elasticsearch cluster specified byxpack.monitoring.elasticsearch.hosts
. The frequency of collection is determined by thexpack.monitoring.collection.interval
setting, whose default value is10s
.This setting value should be sent as as the
interval
query string parameter to thePOST _monitoring/bulk
Elasticsearch API endpoint that Logstash calls to send the monitoring data to Elasticsearch.However, it appears that no matter what value is set for the
xpack.monitoring.collection.interval
setting, a value of1s
is always sent as theinterval
parameter.