Logstash monitorin in kibana

Hi Team,

I installed logstash version 7.4.2 in through Kubernetes

my elastic cluster and kibana running well.

If I see the monitoring in kibana dashboard, its showing only elastic cluster and kibana but its not showing logstash.

I configure below setting logstash.yml file in logstash for monitoring

xpack.monitoring.enabled: true
xpack.monitoring.elasticsearch.hosts: https://test.com:243
xpack.monitoring.elasticsearch.username: xxxxx
xpack.monitoring.elasticsearch.password: xxxxxxx

logstash logs are showing below like this.

[2020-01-22T10:53:04,552][ERROR][l.o.elasticsearch ] Encountered a retryable error. Will Retry with exponential backoff {:code=>400, :url=>"https://test.com:243/_monitoring/bulk?system_id=logstash&system_api_version=7&interval=1s"}

Could you please suggest this.

Thanks and regards,
shivudu

Are you targeting the elasticsearch REST port? (9200 is standard).

Are there any corresponding errors in the elasticsearch logs?

FYI it appears that monitoring is moving toward using metricbeat modules instead of this method we have all used in the past. I encountered this in a 7.5 QA stach but haven't researched yet.

Thanks for the reply..

Hi Team,

I installed logstash version 7.4.2 in through Kubernetes

my elastic cluster and kibana running well.

If I see the monitoring in kibana dashboard, its showing only elastic cluster and kibana but its not showing logstash.

I configure below setting logstash.yml file in logstash for monitoring

xpack.monitoring.enabled: true
xpack.monitoring.elasticsearch.hosts: https://test.com:443
xpack.monitoring.elasticsearch.username: xxxxx
xpack.monitoring.elasticsearch.password: xxxxxxx

logstash logs are showing below like this.

[2020-01-22T10:53:04,552][ERROR][l.o.elasticsearch ] Encountered a retryable error. Will Retry with exponential backoff {:code=>400, :url=>"https://test.com:243/_monitoring/bulk?system_id=logstash&system_api_version=7&interval=1s"}

targeting the elasticsearch REST port 9200 is standard
Could you please suggest this.

Thanks and regards,
shivudu

Hi Rugenl,
Thanks for the reply.

I am not using any file beat.
Just i want to see logstash monitoring in kibana dashboard, for this i configured below settings in logstash.yml file

xpack.monitoring.enabled: true
xpack.monitoring.elasticsearch.hosts: https://test.com:443

xpack.monitoring.elasticsearch.username: elastic
xpack.monitoring.elasticsearch.password: ${LOGSTASH_KEYSTORE_PASS}

Could you please let me know , what i am missing in configuration file.

Thanks,
shivudu.M

Are there any errors in the logstash logs?

It may be ssl certificate validation.

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