# Logstash-output-zabbix (question about multi\_value)

**URL:** <https://discuss.elastic.co/t/logstash-output-zabbix-question-about-multi-value/101515>\
**Category:** Logstash\
**Created:** [September 22, 2017, 3:47pm UTC](https://discuss.elastic.co/t/logstash-output-zabbix-question-about-multi-value/101515 "2017-09-22T15:47:36Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![vl.zemtsov](https://avatars.discourse-cdn.com/v4/letter/v/eb9ed0/32.png) [@vl.zemtsov](https://discuss.elastic.co/u/vl.zemtsov)\
**Post date:** [September 22, 2017, 3:47pm UTC](https://discuss.elastic.co/t/logstash-output-zabbix-question-about-multi-value/101515/1 "2017-09-22T15:47:36Z")

</div>

Hello. I dont understand how use multi\_value in logstash (zabbix output).

(Use logstash 5.5.2)

For example:  
in filter:

> ```
> filter {
> mutate {
> add_field => {
> "zabbix_key" => ["zabbix.key.1", "zabbix.key.2", "zabbix.key.2", "zabbix.key.2"]
> "zabbix_value" => ["value.for.zabbix.key.1", "value.for.zabbix.key.1", "value.for.zabbix.key.1", "value.for.zabbix.key.1"]
> "zabbix_host" => "HOSTNAME_IN_ZABBIX"
> }
> }
> }
> 
> ```

in output:

> ```
> output {
> zabbix {
> zabbix_server_host => "<ZABBIX_SERVER_HOST>"
> multi_value => [zabbix_key, zabbix_value]
> zabbix_host => "zabbix_host"
> }
> }
> 
> ```

But in log i see:

> [[main]\>worker0] WARN logstash.outputs.zabbix - Zabbix server at \<ZABBIX\_SERVER\_HOST\> rejected all items sent. {:zabbix\_host=\>"HOSTNAME\_IN\_ZABBIX"}

I see it, because output config - wrong?

---

<div class="post-metadata">

**Author:** ![theuntergeek](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/theuntergeek/32/44961_2.png) [@theuntergeek](https://discuss.elastic.co/u/theuntergeek)\
**Post date:** [September 22, 2017, 3:54pm UTC](https://discuss.elastic.co/t/logstash-output-zabbix-question-about-multi-value/101515/2 "2017-09-22T15:54:44Z")

</div>

No. It's because the plugin needs to be updated to work with Zabbix 3.x. Something shifted between 2.x and 3.x, and the plugin needs patching.

---

<div class="post-metadata">

**Author:** ![vl.zemtsov](https://avatars.discourse-cdn.com/v4/letter/v/eb9ed0/32.png) [@vl.zemtsov](https://discuss.elastic.co/u/vl.zemtsov)\
**Post date:** [September 22, 2017, 4:02pm UTC](https://discuss.elastic.co/t/logstash-output-zabbix-question-about-multi-value/101515/3 "2017-09-22T16:02:41Z")

</div>

> [@theuntergeek](#):
>
> No. It's because the plugin needs to be updated to work with Zabbix 3.x. Something shifted between 2.x and 3.x, and the plugin needs patching.

oh damn...  
Aaand... I cant send to zabbix (3.2.6) many data to 1 host?  
Its imposible?

---

<div class="post-metadata">

**Author:** ![theuntergeek](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/theuntergeek/32/44961_2.png) [@theuntergeek](https://discuss.elastic.co/u/theuntergeek)\
**Post date:** [September 22, 2017, 4:21pm UTC](https://discuss.elastic.co/t/logstash-output-zabbix-question-about-multi-value/101515/4 "2017-09-22T16:21:30Z")

</div>

Not until the plugin is updated, no.

---

<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:** [October 20, 2017, 4:21pm UTC](https://discuss.elastic.co/t/logstash-output-zabbix-question-about-multi-value/101515/5 "2017-10-20T16:21:46Z")

</div>

Closed on October 20, 2017, 4:21pm UTC

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