Hi, i'm try to parse the ngfw event with logstash in tcp port 5000 to Elasticsearch but the logstash-plain.log always said:
"status"=>400, "error"=>{"type"=>"ma pper_parsing_exception", "reason"=>"object mapping for [host] tried to parse fie ld [host] as object, but found a concrete value"
my logstash config is:
input {
tcp {
port => 5000
codec => cef {
delimiter => "\n"
ecs_compatibility => v1
}
}
}
output {
elasticsearch {
hosts => "<my ip>:9200"
user => "elastic"
password => "<mypass>"
index => "ngfw"
ecs_compatibility => disabled
}
}
What should i do to make the event show in kibana?