Guys, how can I seperate message field with filebeat to more field ? It keep just giving me message field, I am trying to use grok filter but it does not work. Filebeat agent work in 1 machine meanwhile elastic server work in another machine.
2020-10-14T01:57:40.537+0700 8.8.8.8 34 10.121.42.12 97 nophoso chrome
for example log like this
this is my grok filter
'input {
beats {
port => 5044
}
}
filter {
grok {
match => { "message" => "%{TIMESTAMP_ISO8601:time} %{IP:ipsend} %{NUMBER:ports} %{IP:ipreceive} %{NUMBER:portr} %{WORD:action} %{WORD:td}" }
}
}
output {
elasticsearch { hosts => ["10.151.128.97:9200"]
hosts => "10.151.128.97:9200"
manage_template => false
index => "%{[@metadata][beat]}-%{+YYYY.MM.dd}"
document_type => "%{[@metadata][type]}"
}
}
'
Pls help me . Tks
I use Kibana/elastic/logstash server on 10.151.128.97 and I use filebeat on 10.157.128.98 server. I change the grok filter on logstash server. The message field still does not seperate to 7 field. So do u think what did I do wrong ?
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.