Unverified Commit 9ec7c7a1 authored by Tom Moulard's avatar Tom Moulard
Browse files

logstash: adding sample config file for traefik files

parent 044f662d
Loading
Loading
Loading
Loading

logstash/logstash.conf

0 → 100644
+19 −0
Original line number Diff line number Diff line
input {
    file {
        path => "/var/log/traefik/traefik.log"
        type => "traefik"
    }

    file {
        path => "/var/log/traefik/access.log"
        type => "access"
    }
}

output {
  elasticsearch {
    hosts    => [ 'elasticsearch' ]
    user     => 'elastic'
    password => 'changeme'
  }
}
 No newline at end of file