Check latest version of on GitHub.
The protobix script from @jbfavre is required. use Monitoring APIs of Logstash.


From pip: pip install protobix


Put in your favorite scripts folder (/usr/local/bin in this case)

Zabbix Template

Import Template_Logstash.xml if you are using Zabbix 3.4.
If you are using Zabbix 3.2, import Template_Logstash-32.xml.

Zabbix agent configuration

Put in UserParameter in zabbix agent configuration.

UserParameter=logstash.check,/usr/local/bin/ --update-items
UserParameter=logstash.discovery,/usr/local/bin/ --discovery

Restart zabbix agent.

Link Template to host in Zabbix.