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?