Skip to content

Instantly share code, notes, and snippets.

@antaflos
Created March 5, 2014 14:38
Show Gist options
  • Save antaflos/9368401 to your computer and use it in GitHub Desktop.
Save antaflos/9368401 to your computer and use it in GitHub Desktop.
input {
log4j {
port => 4560
type => "log4j"
codec => plain { charset => "ISO-8859-1" }
}
tcp {
codec => oldlogstashjson
port => 4561
type => "cxxxs"
}
tcp {
codec => json
port => 4563
type => "cxxxs"
}
tcp {
codec => json_lines
port => 4564
type => "cxxxs"
}
}
output {
elasticsearch_http {
host => "eslog01.example.com"
template_overwrite => true
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment