hello everyone ,
i have a problem with filebeat i think , i will explain :
i have server A and B and C , all run filebeat with the same configuration , the server A run logstash and elasticseach , so when i added file in Server B it's okay i can see log in elasticseach (via kibana) which runing on A
but when i added files in server A (which run ELK ) or server C , nothing happen .
i dont know why , i am not sure if this message log of logstash that i got can explain something :
logstash_1 | [2018-07-25T11:10:33,455][WARN ][logstash.outputs.elasticsearch] Could not index event to Elasticsearch. {:status=>400, :action=>["index", {:_id=>nil, :_index=>"logstash-cluster2", :_type=>"doc", :_routing=>nil}, #LogStash::Event:0x16221c45], :response=>{"index"=>{"_index"=>"logstash-cluster2", "_type"=>"doc", "_id"=>"c_Ii0WQBpZGgqA6VJVnt", "status"=>400, "error"=>{"type"=>"mapper_parsing_exception", "reason"=>"failed to parse [host]", "caused_by"=>{"type"=>"illegal_state_exception", "reason"=>"Can't get text on a START_OBJECT at 1:37"}}}}}