Created
June 27, 2016 15:47
-
-
Save justin-mecham/d7afee7dc36bc64865e504d4c6a42455 to your computer and use it in GitHub Desktop.
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 { | |
port => 5000 | |
} | |
} | |
## Add your filters / logstash plugins configuration here | |
filter { | |
grok { | |
match => { "message" => "%{SYSLOGBASE} %{GREEDYDATA:syslog_message}" } | |
} | |
date { | |
match => [ "timestamp", "MMM dd HH:mm:ss", "MMM d HH:mm:ss", "ISO8601" ] | |
target => "@timestamp" | |
timezone => "America/New_York" | |
} | |
} | |
output { | |
elasticsearch { | |
hosts => "elasticsearch:9200" | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment