Created
March 29, 2013 20:22
-
-
Save timconradinc/5273375 to your computer and use it in GitHub Desktop.
csv filter addition
This file contains 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
# CSV filter. Takes an event field containing CSV data, parses it, | |
# and stores it as individual fields (can optionally specify the names). | |
# | |
# Example config: | |
# filter { | |
# grok { | |
# type => "SomeSyslogType" | |
# pattern => "%{SYSLOGTIMESTAMP} %{HOSTNAME} %{GREEDYDATA:csvdata}" | |
# } | |
# | |
# csv { | |
# type => "SomeSyslogType" | |
# csvdata => "@fields" | |
# } | |
# } | |
# |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment