Description
Check Logstash 7.x status and LLD pipelines.
Check JVM memory.
Check pipelines events.
Check stages events metrics.
It is assumed that the Logstash is listening on a localhost 9600 port.
Metrics are identified by ID, therefore it is advisable to explicitly set their values in the logstash config.
Like:
grok {
id => "nginx-base"
match => { "message" => [
...
Dependencies
python, curl, zabbix-agent.
Installation
- copy logstash_pipelines_lld.py and logstash_pipelines_lld-full.py to /etc/zabbix/
- copy zabbix_agentd.d/logstash.conf to /etc/zabbix/zabbix_agentd.d/
- chmod 755 /etc/zabbix/logstash_pipelines_lld.py /etc/zabbix/logstash_pipelines_lld-full.py
- if needed, change in logstash.conf, logstash_pipelines_lld.py and logstash_pipelines_lld-full.py host and port.
- restart zabbix-agent daemon.
- import "zbx_templates/Template Logstash.xml" into your templates.
- apply template "Template Logstash" to Logstash node.
- enjoy.
PS
You can easily change the settings for monitoring a remote Logstash node.