Created
September 26, 2013 00:28
-
-
Save rebx/6708199 to your computer and use it in GitHub Desktop.
grok syslogtimestamp + year pattern
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
# added year to SYSLOGTIMESTAMP | |
SYSLOGTIMESTAMPYEAR %{MONTH} %{MONTHDAY} %{YEAR} %{TIME} | |
SYSLOGBACKFILLYEAR %{SYSLOGTIMESTAMPYEAR:syslog_timestamp} %{SYSLOGHOST:syslog_hostname} %{PROG:syslog_program}(?:\[%{POSINT:syslog_pid}\])?: %{GREEDYDATA:syslog_message} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment