# Monitoring logstash

**URL:** <https://discuss.elastic.co/t/monitoring-logstash/162120>\
**Category:** Logstash\
**Tags:** elastic-stack-monitoring\
**Created:** [December 26, 2018, 9:43am UTC](https://discuss.elastic.co/t/monitoring-logstash/162120 "2018-12-26T09:43:12Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![2501492a6edd02b1386b](https://avatars.discourse-cdn.com/v4/letter/2/9de0a6/32.png) [@2501492a6edd02b1386b](https://discuss.elastic.co/u/2501492a6edd02b1386b)\
**Post date:** [December 26, 2018, 9:43am UTC](https://discuss.elastic.co/t/monitoring-logstash/162120/1 "2018-12-26T09:43:13Z")

</div>

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](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.

---

<div class="post-metadata">

**Author:** ![AquaX](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/aquax/32/92006_2.png) [@AquaX](https://discuss.elastic.co/u/AquaX)\
**Post date:** [January 3, 2019, 3:27pm UTC](https://discuss.elastic.co/t/monitoring-logstash/162120/2 "2019-01-03T15:27:46Z")

</div>

> [@2501492a6edd02b1386b](#):
>
> Unrecognized SSL message, plaintext connection?

> [@2501492a6edd02b1386b](#):
>
> xpack.monitoring.elasticsearch.url: ["[https://localhost:9200](https://localhost:9200)"]

Change [https://localhost:9200](https://localhost:9200) to [http://localhost:9200](http://localhost:9200)

---

<div class="post-metadata">

**Author:** ![2501492a6edd02b1386b](https://avatars.discourse-cdn.com/v4/letter/2/9de0a6/32.png) [@2501492a6edd02b1386b](https://discuss.elastic.co/u/2501492a6edd02b1386b)\
**Post date:** [January 4, 2019, 7:02am UTC](https://discuss.elastic.co/t/monitoring-logstash/162120/3 "2019-01-04T07:02:53Z")

</div>

Hi, man. Thank you very much. Problem is fixed.

I have no idea how I've created soo stupid mistake in config)

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [February 1, 2019, 7:03am UTC](https://discuss.elastic.co/t/monitoring-logstash/162120/4 "2019-02-01T07:03:08Z")

</div>

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