This is my current configuration file.
filebeat.inputs:
- type: log
enabled: true
paths:
- /var/log/apache2/*.log
output.logstash:
hosts: ["localhost:5044"]
enabled: true
setup.dashboards.enabled: true
setup.kibana:
host: "localhost:5601"
my logstash.conf file.
input {
beats {
port => "5044"
}
}
filter {
grok {
match => { "message" => "%{COMBINEDAPACHELOG}" }
}
date {
match => [ "timestamp", "dd/MMM/yyyy:HH:mm:ss Z" ]
}
}
output {
elasticsearch {
hosts => ["localhost:9200"]
index => "apache"
}
stdout {}
}
although filebeat listening 5044 port, there is nothing on elasticsearch. how can i solve?