I have installed logstash but struggling to get it working.
my config is located here /etc/logstash/logstash-test.conf
And the content is:
input {
beats {
port => "5044"
}
}
output {
elasticsearch { hosts => ["localhost:9200"]
index => "logstash-%{+YYYY.MM.dd}"
}
stdout { codec => rubydebug }
}
This is how I tried running it but nothing happens when I check on kibana.
cd /usr/share/logstash sudo bin/logstash -f /etc/logstash/logstash-test.conf
I have already created an index for logstash-*
Please help.