Skip to content

Instantly share code, notes, and snippets.

@xrl
Created December 28, 2015 22:41
Show Gist options
  • Save xrl/e7d39dde15543c40c9dd to your computer and use it in GitHub Desktop.
Save xrl/e7d39dde15543c40c9dd to your computer and use it in GitHub Desktop.
[LogstreamerInput]
log_directory = "/mnt/syslog-archive/all"
file_match = 'cisco-(?P<Year>\d+).(?P<Month>\d+).(?P<Day>\d+).log' # works
#file_match = 'cisco-2015.09.(?P<Day>\d+).log' # doesn't work
priority = ["Year", "Month", "Day"]
decoder = "MyCiscoDecoder"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment