ELK 6.3 logstash not monitoring

I am unable to get monitoring to work on Logstash.

My logstash yml file
xpack.security.enabled: false
xpack.graph.enabled: true
xpack.ml.enabled: true
xpack.monitoring.enabled: true
xpack.watcher.enabled: true
xpack.monitoring.elasticsearch.url: ['http://localhost:9200']
xpack.reporting.enabled: true

My Elasticsearch yml

xpack.security.enabled: false
xpack.graph.enabled: true
xpack.ml.enabled: true
xpack.monitoring.enabled: true
xpack.watcher.enabled: true
action.auto_create_index: true

Perhaps you could describe the symptoms of your problem for us so that we have something to go on.

The monitoring-logstash index is not being created and I am not able to monitor logstash in the monitoring area of Kibana.

I found this in my log and that makes no sense to me given the config.
Preformatted text[2018-06-27T16:13:51,742][DEBUG][logstash.runner ] xpack.monitoring.enabled: false
[2018-06-27T16:13:51,742][DEBUG][logstash.runner ] xpack.monitoring.elasticsearch.url: ["http://localhost:9200"]
[2018-06-27T16:13:51,742][DEBUG][logstash.runner ] xpack.monitoring.collection.interval: 10000000000
[2018-06-27T16:13:51,742][DEBUG][logstash.runner ] xpack.monitoring.collection.timeout_interval: 600000000000
[2018-06-27T16:13:51,743][DEBUG][logstash.runner ] xpack.monitoring.elasticsearch.username: "logstash_system"
[2018-06-27T16:13:51,743][DEBUG][logstash.runner ] xpack.monitoring.elasticsearch.ssl.verification_mode: "certificate"
[2018-06-27T16:13:51,743][DEBUG][logstash.runner ] xpack.monitoring.elasticsearch.sniffing: false
[2018-06-27T16:13:51,743][DEBUG][logstash.runner ] xpack.monitoring.collection.pipeline.details.enabled: true
[2018-06-27T16:13:51,744][DEBUG][logstash.runner ] xpack.monitoring.collection.config.enabled: true
[2018-06-27T16:13:51,744][DEBUG][logstash.runner ] node.uuid: ""
'

Any ideas?

Bump. Hey Tim, any ideas???

Still looking for help

Please read this: About the Elasticsearch category, especially the "Also be patient" part. These forums are operated on a best efforts basis, with no commitment to response times.

The output from logstash doesn't concur with the configuration (logstash.yml) you have shared with us. How did you install logstash ( zip archive, deb/rpm , are you running on docker ? ) and what is the location of your logstash.yml file ?

ikakavas,

Thank you for the reply. I was worried that in the constant barrage of posts that my issue was lost.

I installed logstash through the repository. I am running ubuntu 16.04.
My logstash.yml is located in the config directory of logstash. I have also verified it is looking there for the configurations in the service settings and startup.options.

Are you running Elasticsearch 6.3 ?

Have you set xpack.monitoring.collection.enabled: true ?
See: https://www.elastic.co/guide/en/elasticsearch/reference/6.3/release-notes-6.3.0.html#breaking-6.3.0

Tim,

Yes and yes. I have read through the breaking document and deleted the folders.

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