I'm trying to setup ELK with a flask server. I'm using docker to run my ELK stack. Logstash is running on the port 9601. Here is the setup file I use with the command "./logstash -f logstash.conf" :
logstash.conf
input {
tcp {
host => "127.0.0.1"
port => 5000
}
}
output {
elasticsearch { hosts => ["localhost"]}
stdout {codec => rubydebug}
}
elasticSearch is running on the port 9200 and my flask server on the port 5000. When I launch logstash nothing happens when I print a log in the flask server (I created a webService in the purpose of doing this). ANd I don't know how I can check that it works, but Kibana dosn't show anything. Thanks for your help.