Beats refuse to start if Kibana is not ready, even if retry is enabled

Works in 6.8.1. Doesn't work in 7.2.0.

I'm using docker-compose to bring up Elasticsearch, Kibana, Logstash, Metricbeat, and Packetbeat.

Both Metricbeat and Packetbeat are set up to depend on Logstash and Kibana.

Using this config fragment in packetbeat and metricbeat (sorry for the formatting, I thought "preformatted text" would preserve the indentation).
setup.dashboards: enabled: true always_kibana: true retry.enabled: true retry.interval: 10s
When Metricbeat and Packetbeat attempt to start, they immediately fail with this message:

metricbeat | Exiting: error connecting to Kibana: fail to get the Kibana version: HTTP GET request to http://kibana:5601/api/status fails: parsing kibana response: invalid character 'K' looking for beginning of value. Response: Kibana server is not ready yet.

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.