Unverified Commit eb23746d authored by Tom Moulard's avatar Tom Moulard
Browse files

logstash: exporting nginx logs to elsastic search via config file

parent 50a4b870
Loading
Loading
Loading
Loading
+12 −2
Original line number Diff line number Diff line
input {
    file {
        path => "/var/log/traefik/traefik.log"
        type => "traefik"
        type => "traefik_traefik"
    }

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

    file {
        path => "/var/log/nginx/error.log"
        type => "nginx_error"
    }

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