Skip to content

Instantly share code, notes, and snippets.

@adionditsak
Created April 2, 2014 13:32
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save adionditsak/9934172 to your computer and use it in GitHub Desktop.
Save adionditsak/9934172 to your computer and use it in GitHub Desktop.
input {
stdin {
type => "stdin-type"
}
file {
type => "apache"
path => ["/var/log/apache2/access.log", "/var/log/apache2/ error.log"]
}
file {
type => "mysql"
path => ["/var/log/mysql.log", "/var/log/mysql.err"]
}
file {
type => "mail"
path => ["/var/log/mail.log", "/var/log/mail.err"]
}
}
output {
elasticsearch {
host => localhost
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment