Hi.
Filebeat from node 2 try to send log to Master, but logstash refued it with this error:
Could not index event to Elasticsearch. {:status=>400, :action=>["index",
{:_id=>nil, :_index=>"wazuh-alerts-3.x-2020.02.03", :_type=>"_doc", :routing=>nil},
#<LogStash::Event:0xcdc351a>], :response=>{"index"=>{"_index"=>"wazuh-alerts-3.x-2020.02.03",
"_type"=>"_doc", "_id"=>"jAMzC3ABVXEiUeDeH4cW", "status"=>400, "error"=>{"type"=>"mapper_parsing_exception",
"reason"=>"failed to parse field [host] of type [keyword] in document with id 'jAMzC3ABVXEiUeDeH4cW'. Preview of field's value:
'{name=ossec-nodo2}'", "caused_by"=>{"type"=>"illegal_state_exception", "reason"=>"Can't get text on a START_OBJECT at 1:478"}}}}}
I need to maintain Logstash because i've configured some filters, attached to this mail you can see my Filebeat and Logstash config file, hope this help.