hello
I am trying to configure monitoring for logstash via x-pack and faces the issue.
When I execute logstash I see following error in logs:
[2018-12-26T12:21:15,309][ERROR][logstash.licensechecker.licensereader] Unable to retrieve license information from license server {:message=>"Unrecognized SSL message, plaintext connection?"}
[2018-12-26T12:21:15,345][ERROR][logstash.monitoring.internalpipelinesource] Failed to fetch X-Pack information from Elasticsearch. This is likely due to failure to reach a live Elasticsearch cluster.
My stack:
logstash-6.5.3 from deb packet
elasticsearch 6.5.3 from deb packet
kibana 6.5.3 from deb packet
basic license
I did this:
in file /etc/logstash/logstash.yml
xpack.monitoring.enabled: true
#xpack.monitoring.elasticsearch.username: logstash_system
#xpack.monitoring.elasticsearch.password: password
xpack.monitoring.elasticsearch.url: ["https://localhost:9200"]
in elasticsearch
GET _cluster/settings
{
"persistent" : {
"action" : {
"search" : {
"shard_count" : {
"limit" : "1500"
}
}
},
"xpack" : {
"monitoring" : {
"elasticsearch" : {
"collection" : {
"enabled" : "true"
}
},
"collection" : {
"enabled" : "true"
}
}
}
},
"transient" : { }
}
We don't use x-pack security features.
monitoring for Elasticsearch and Kibana works perfectly
Could you please help me with logstash monitoring.