# ELK 8, Zabbix 7.2, set trigger on Zabbix server

**URL:** <https://discuss.elastic.co/t/elk-8-zabbix-7-2-set-trigger-on-zabbix-server/372681>\
**Category:** Logstash\
**Created:** [January 1, 2025, 1:30pm UTC](https://discuss.elastic.co/t/elk-8-zabbix-7-2-set-trigger-on-zabbix-server/372681 "2025-01-01T13:30:35Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Mostafa\_Faridi](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/mostafa_faridi/32/121792_2.png) [@Mostafa\_Faridi](https://discuss.elastic.co/u/Mostafa_Faridi)\
**Post date:** [January 1, 2025, 1:30pm UTC](https://discuss.elastic.co/t/elk-8-zabbix-7-2-set-trigger-on-zabbix-server/372681/1 "2025-01-01T13:30:35Z")

</div>

I have ELK 8 server, on this server I have elasticsearch, logstash and kibana, on other servers I install filebeat, filebeat send logs to logstash,  
I also have Zabbix 7.2 LTS version too,  
this is sample logs generate by our application and filebeat send logs to logstash

```auto
2024-12-04T11:37:56,104 | INFO | [https-jsse-nio-8443-exec-3] | i.u.c.l.LogFilter(doFilterInternal:54) | {"tracking":{"requestID":"b453403e-f2a1-412c-add2-3853bf0ea0dc","requestResponseTime":501,"isSuccess":false,"nationalId":"fa0617b3654099f58efkfkkfk4b5156d8d6ddd814iunbedslkdhsrfwgsbaafddfdfdfd6720ee72","phoneNumber":"8335426566824852e5d1530c9lkknn80ae393a09awsxasdftrt39ecf92764f95","lid":"UYTQZC7NUKWFTQ2VZ2CZU6KPVX90EIF6XGWNGCVNGZ7POV8FJW8L1PPWUVYYW3A7"},"request":{"requestTime":1733299675599,"type":"GET","address":"/identify","queryParams":{},"headers":{"authorization":["bearer vgzSmn0rQN01jzPIjg7EXwykL0Y"],"host":["uid.isc.co.ir"],"connection":["close"],"x-forwarded-for":["89.196.143.52"],"accept-encoding":["gzip"],"accept":["application/json"],"user-agent":["okhttp/5.0.0-alpha.2"]},"body":""},"response":{"responseTime":1733299676100,"status":500,"requestTime":1733299675599,"headers":{"Set-Cookie":["JSESSIONID=43D28EFDA23280FE9CFBE26B6FE2CA5B; Path=/; Secure; HttpOnly"],"Vary":["Origin"]},"body":"{\"timestamp\":\"2024-12-04T08:07:56.099+00:00\",\"status\":500,\"error\":\"Internal Server Error\",\"message\":\" our production has an error.\"}"}}

```

in these logs I have status codes like 500, 400, 200 and other status code  
In Zabbix server count these status codes and make trigger and graph for these status codes  
What is best way to send these logs to Zabbix server?  
I search around and I can not find best way for new version of ELK and Zabbix

---

<div class="post-metadata">

**Author:** ![Musab\_Dogan](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/musab_dogan/32/70691_2.png) [@Musab\_Dogan](https://discuss.elastic.co/u/Musab_Dogan)\
**Post date:** [January 2, 2025, 7:06pm UTC](https://discuss.elastic.co/t/elk-8-zabbix-7-2-set-trigger-on-zabbix-server/372681/2 "2025-01-02T19:06:13Z")

</div>

You can try [Logstash zabbix output](https://www.elastic.co/guide/en/logstash/current/plugins-outputs-zabbix.html) plugin.

> **[Zabbix output plugin | Logstash Reference \[8.17\] | Elastic](https://www.elastic.co/guide/en/logstash/current/plugins-outputs-zabbix.html)**
