Version 6.3.2
I configure x-pack in logstash , but unseen monitor of logstash in kibana's monitor UI
logstash.yml
xpack.monitoring.collection.enabled: true
xpack.monitoring.enabled: true
xpack.monitoring.elasticsearch.url: ["http://192.168.1.168:9200 ","http://192.168.1.169:9200 "]
xpack.monitoring.elasticsearch.username: "logstash_system"
xpack.monitoring.elasticsearch.password: "logstash_system123456"
Are there any error in the logstash logs, or in either ES cluster logs indicating a potential error?
You can also run this query against both http://192.168.1.168:9200 and http://192.168.1.169:9200 to see if there is any monitoring data on either cluster.
POST .monitoring-logstash-6-*/_search
{
"size": 1,
"query": {
"bool": {
"filter": [
{
"range": {
"timestamp": {
"gte": "now-2m",
"lte": "now"
}
}
}
]
}
}
}
If you find results on one of the clusters (or both), how is your Kibana configured in terms of elasticsearch urls? Read this article for more help here: https://www.elastic.co/guide/en/kibana/current/configuring-monitoring.html
Thank your Reply
Only .monitoring-Kibana and .monitoring-es in my cluster
When i enable debug mode to start logstash , I find "xpack.monitoring.enabled: false" in log file.
But i do setting "xpack.monitoring.enabled: true" in logstash.yml
[2019-03-08T17:25:20,171][DEBUG][logstash.runner ] xpack.management.enabled: false
[2019-03-08T17:25:20,171][DEBUG][logstash.runner ] xpack.management.logstash.poll_interval: 5000000000
[2019-03-08T17:25:20,171][DEBUG][logstash.runner ] xpack.management.pipeline.id: ["main"]
[2019-03-08T17:25:20,171][DEBUG][logstash.runner ] xpack.management.elasticsearch.username: "logstash_system"
[2019-03-08T17:25:20,172][DEBUG][logstash.runner ] xpack.management.elasticsearch.url: ["https://localhost:9200 "]
[2019-03-08T17:25:20,172][DEBUG][logstash.runner ] xpack.management.elasticsearch.sniffing: false
[2019-03-08T17:25:20,172][DEBUG][logstash.runner ] xpack.monitoring.enabled: false
[2019-03-08T17:25:20,172][DEBUG][logstash.runner ] xpack.monitoring.elasticsearch.url: ["http://localhost:9200 "]
[2019-03-08T17:25:20,172][DEBUG][logstash.runner ] xpack.monitoring.collection.interval: 10000000000
[2019-03-08T17:25:20,172][DEBUG][logstash.runner ] xpack.monitoring.collection.timeout_interval: 600000000000
[2019-03-08T17:25:20,172][DEBUG][logstash.runner ] xpack.monitoring.elasticsearch.username: "logstash_system"
[2019-03-08T17:25:20,172][DEBUG][logstash.runner ] xpack.monitoring.elasticsearch.ssl.verification_mode: "certificate"
[2019-03-08T17:25:20,172][DEBUG][logstash.runner ] xpack.monitoring.elasticsearch.sniffing: false
[2019-03-08T17:25:20,172][DEBUG][logstash.runner ] xpack.monitoring.collection.pipeline.details.enabled: true
[2019-03-08T17:25:20,172][DEBUG][logstash.runner ] xpack.monitoring.collection.config.enabled: true
system
(system)
Closed
April 5, 2019, 9:33am
6
This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.