Hi everyone i upgraded from 6.2.4 winlogbeats to 6.8
Same exact configs, same logstash conf file
I now get this error any ideas ?
[2020-04-13T11:18:30,467][WARN ][logstash.outputs.elasticsearch] Could not index event to Elasticsearch. {:status=>400, :action=>["index", {:_id=>nil, :_index=>"winevents-domain-controllers-2020.04.13", :_type=>"doc", :routing=>nil}, #LogStash::Event:0x6d25b8b3], :response=>{"index"=>{"_index"=>"winevents-domain-controllers-2020.04.13", "_type"=>"doc", "_id"=>"PtUedHEBacbM0UXs2o7Z", "status"=>400, "error"=>{"type"=>"mapper_parsing_exception", "reason"=>"failed to parse field [host] of type [keyword] in document with id 'PtUedHEBacbM0UXs2o7Z'", "caused_by"=>{"type"=>"illegal_state_exception", "reason"=>"Can't get text on a START_OBJECT at 1:978"}}}}}
ECS has a host.name field, which corresponds to the host name being output from Logstash. By adding a Mutate filter with a rename directive, you can move the host field to host.name with the field-reference syntax as below to align with the schema that you already have in Elasticsearch:
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant
logo are trademarks of the
Apache Software Foundation
in the United States and/or other countries.