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
filter { | |
if [nxtags] == "nxlogsyslog" { | |
mutate { | |
add_field => [ "type", "%{nxtags}" ] | |
replace => [ "host", "%{Hostname}" ] | |
} | |
# Parse the date 2014-02-27 14:57:04 - Needed to set timezone value to nxlog server's timezone | |
date { |