Logstash exposure on port 12201 (gelf) permission denied

I deployed the ELK certified by Bitnami from GCP market place. My purpose is to receive data from my micro-services sending json to my Logstash pipeline. But when I try with curl (on localhost after use_elk script) to POST some data, I have "permission denied".

Here is my Logstash conf :

input
{
   beats
   {
       ssl => false
       host => “0.0.0.0”
       port => 5044
   }
   gelf
   {
       host => “0.0.0.0"
       codec => “json”
       port => 12201
   }
   http
   {
       ssl => false
       host => “0.0.0.0"
       port => 8888
   }
   tcp
   {
       mode => “server”
       host => “0.0.0.0"
       port => 5010
   }
   udp
   {
       host => “0.0.0.0”
       port => 5000
   }
}
output
{
   elasticsearch
   {
       hosts => [“127.0.0.1:9200"]
       document_id => “%{[@timestamp]}”
       index => “logstash-%{+YYYY.MM.dd}”
   }
   stdout {
        codec => rubydebug
   }
}

Here is my curl command :

curl -XPOST 127.0.0.1:12201 -p0 -d '{"short_message":"Hello there", "host":"example.org", "facility":"test", "_foo":"bar"}'

I already succeeded once to make it work few month ago and I did exactly same thing. Someone has an idea what's wrong ?

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.