I have an ELK Search running in my environment (CentOS 7). The whole process seems to occur correctly, however, the logs sent by filebeat are not being parsed by logstash.
# logstash input
input {
beats {
host => ["LogstashIP"]
port => 5044
}
}
# httpd filter
filter {
grok {
match => { "message" => "%{COMBINEDAPACHELOG}" }
}
}
# logstash output
output {
elasticsearch {
hosts => ["elasticSearchIP:9200"]
manage_template => false
index => "%{[@metadata][beat]}-%{[@metadata][version]}-%{+YYYY.MM.dd}"
}
}
# filebeat output
filebeat:
prospectors:
-
paths:
- /var/log/httpd/application.log*
input_type: log
document_type: httpd
registry_file: /var/lib/filebeat/registry
output:
logstash:
hosts: ["LogstashIP:5044"]
bulk_max_size: 1024
shipper:
logging:
files:
rotateeverybytes: 10485760 # = 10MB
On Kibana discover menu, i can't access information like geoip, status response,request method... Only the full message log, this way i also can't create dashboards with those data
Can anyone help me ?