# Logstash with zabbix output ISSUE

**URL:** <https://discuss.elastic.co/t/logstash-with-zabbix-output-issue/1434>\
**Category:** Logstash\
**Created:** [May 28, 2015, 12:21am UTC](https://discuss.elastic.co/t/logstash-with-zabbix-output-issue/1434 "2015-05-28T00:21:49Z")\
**Posts on this page:** 1\
**Showing post:** 7

<div class="post-metadata">

**Author:** ![Cenzoooo](https://avatars.discourse-cdn.com/v4/letter/c/85f322/32.png) [@Cenzoooo](https://discuss.elastic.co/u/Cenzoooo)\
**Post date:** [May 29, 2015, 9:54pm UTC](https://discuss.elastic.co/t/logstash-with-zabbix-output-issue/1434/7 "2015-05-29T21:54:30Z")

</div>

[quote]I have upgraded to Logstash 1.5  
Now my zabbix output looks like:

zabbix {  
zabbix\_host =\> "re01os01.net.ot.hr",  
zabbix\_key =\> "broj",  
zabbix\_value =\> "message"  
}  
}

but when i start logstash i got error:

Error: Expected one of #, {, } at line 35, column 36 (byte 784) after output {  
stdout { codec =\> rubydebug }

zabbix {  
zabbix\_host =\> "re01os01.net.ot.hr"  
You may be interested in the '--configtest' flag which you can  
use to validate logstash's configuration before you choose  
to restart a running system.

I don't get it, help!  
[/quote]

Continuing the discussion from [Logstash with zabbix output ISSUE](https://discuss.elastic.co/t/logstash-with-zabbix-output-issue/1434/7):

> [@Cenzoooo](#):
>
> I have upgraded to Logstash 1.5  
> Now my zabbix output looks like:
> 
> zabbix {  
> zabbix\_host =\> "re01os01.net.ot.hr",  
> zabbix\_key =\> "broj",  
> zabbix\_value =\> "message"  
> }  
> }
> 
> but when i start logstash i got error:
> 
> Error: Expected one of #, {, } at line 35, column 36 (byte 784) after output {  
> stdout { codec =\> rubydebug }
> 
> zabbix {  
> zabbix\_host =\> "re01os01.net.ot.hr"  
> You may be interested in the '--configtest' flag which you can  
> use to validate logstash's configuration before you choose  
> to restart a running system.
> 
> I don't get it, help!

I found error, it was about ","  
Now I start logstash and it says "Logstash startup completed", and when i input example of Log i got message :"Skipping zabbix output; field referenced by re01os01.net.ot.hr is missing {:level=\>:warn}"

I have configured re01os01.net.ot.hr as Hostname in Zabbix, and my conf looks like:

output {  
zabbix {  
zabbix\_host =\> "re01os01.net.ot.hr"  
zabbix\_key =\> "broj"  
zabbix\_value =\> "message"  
}  
}

---

_[View the full topic](https://discuss.elastic.co/t/logstash-with-zabbix-output-issue/1434)._
