AWS ElasticSearch can' t accept nginx logs from logstash

I' ve configured Logstash to collect my nginx productions logs and send them to Amazon ElasticSearch.
When i tested previously with apache logs, they were successfuly sent and visualized with Kibana,
but now i can't send my nginx production logs.
I've searched in /var/log/logstash logs and there were no errors, connection is successfully established.

Anyway, here is my conf file, if anyone has an idea, i would be very greatful.

input  {
         file {
                path => "/var/log/nginx/access.log"
        }
}


output  {
         amazon_es  {
                hosts =>  ["my-domain.us-east-1.es.amazonaws.com"]
                region => "us-east-1"
                aws_access_key_id => 'ACCESS_KEY'
                aws_secret_access_key => 'SECRET_KEY'
                index => "nginx-%{+YYYY.MM.dd}"
        }
}

You should probably ask the authors of this plugin.
I mean on AWS forums.

BTW did you look at https://www.elastic.co/cloud and https://aws.amazon.com/marketplace/pp/B01N6YCISK ?

Cloud by elastic is one way to have access to all features, all managed by us. Think about what is there yet like Security, Monitoring, Reporting, SQL and what is coming like Canvas...

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