Logstash and Postgres Error

Hey everyone, I had several problems with the configuration of logstash, jumping from post to post, but the error I had now I do not have much information and now began to move cok ELK, I have little knowledge ... Could someone help me?

/log/logstash/

Error: Java::OrgPostgresqlUtil::PSQLException: FATAL: role "logstash" does not exist.

my .conf

input {
  jdbc {
    jdbc_driver_library => ""
                jdbc_driver_class => "org.postgresql.Driver"
                jdbc_connection_string => "jdbc:postgresql://localhost:5432/master"
                jdbc_user => "postgres"
                schedule => "* * * * *"
                jdbc_validate_connection => true
                statement => "SELECT * FROM check_agent"
                type => "check-agent"
  }
}

output {
  elasticsearch {

        index => "managed_system_name"
        document_id => "%{type}"
        hosts => ["http://localhost:9200"]

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