title: Logstash zabbix output
body: <p>This is my logstash.conf file. I am trying use logstash-output-zabbix plugin for alerting. But getting this error...</p>
  
  <pre><code>Field referenced by log_getter is missing {:level=&gt;:warn}
  </code></pre>
  
  <p>I have a host named <code>ELK</code> in zabbix server with a <code>log_getter</code> item and <code>hello</code> as key (Zabbix trapper).</p>
  
  <pre><code>My config file...
  input {
    lumberjack {
      port =&gt; 5000
      type =&gt; "logs"
      ssl_certificate =&gt; "/etc/pki/tls/certs/logstash-forwarder.crt"
      ssl_key =&gt; "/etc/pki/tls/private/logstash-forwarder.key"
    }
  }
  
  filter {
    grok {
      match =&gt; [ "message", "%{SYSLOGBASE} %{DATA:data}" ]
      add_tag =&gt; [ "zabbix-sender" ]
      add_field =&gt; [
        "zabbix_host", "%{source_host}",
        "zabbix_item", "item.key",
        "send_field", "data"
      ]
    }
  }
  
  output{
    elasticsearch{
      host =&gt; localhost
    }
  }
  
  output {
    zabbix {
      zabbix_host =&gt; "log_getter"
      zabbix_key =&gt;"hello"
      zabbix_server_host =&gt; "10.0.30.215"
    }
  }
  </code></pre>