Created
January 8, 2015 20:05
-
-
Save mavencode01/2f5c8b739ad5e6c97f47 to your computer and use it in GitHub Desktop.
Logstash config
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
input { | |
tcp { | |
type => "apache" | |
port => 3333 | |
add_field => { "server" => "prod1" } | |
} | |
tcp { | |
type => "apache" | |
port => 3334 | |
add_field => { "server" => "prod2" } | |
} | |
tcp { | |
type => "tomcat" | |
port => 3335 | |
add_field => { "server" => "prod1" } | |
} | |
tcp { | |
type => "tomcat" | |
port => 3336 | |
add_field => { "server" => "prod2" } | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment