Hi again forum!
I've been again playing with ELK stuff these days, I've upgraded my 3 VM baby cluster lab from 5.4 to 6.3, and started adding new data onto it ... and I've realized that it is possible to monitor logstash in kibana, alongside Elasticsearch and Kibana itself ... I find all this fantastic, but I miss logstash being monitored by default.
I've read the documentation... and it lloked simple enough to dare trying it ... but I failed all the time.
If I add this pair of lines at the end of /etc/logstash/logstash.yml
xpack.monitoring.elasticsearch.url:
["http://192.168.1.4:9200", "http://192.168.1.5:9200", "http://192.168.1.6:9200"]
logstash starts ... but it says on logs that it can't connect to elasticsearch, and, it never raises the filebeat listening services... the process starts, but never ends the startup.
So, I though I was missing something on elasticsearch side, and so, I added the following line at the end of my mostly default elasticsearch.yml
xpack.monitoring.collection.enabled: true
Which causes elasticsearch to process start, but to not join the cluster or become really 'up'
My setup has no xpack stuff setup, no SSL, no authentication... mostly default package install.
By reading the docs, I've no clue on how to go next ... it just 'don't work'
... could someone give me some advice, some clue, or some link to a 'howto' on how set this up?
Thank you very much in advance, best regards.xpack.monitoring.enabled: "true"
EDIT / solution (just doesn't crash and show on Kibana... don't tested to which extent does this work):
- Logstash side .yml config:
xpack.monitoring.enabled: "true"
xpack.monitoring.elasticsearch.url: ["http://192.168.1.4:9200", "http://192.168.1.5:9200", "http://192.168.1.6:9200"]
- Elasticsearch side:
ADD NOTHING / Leave as package default