Skip to content

Instantly share code, notes, and snippets.

@crankycoder
Created November 22, 2013 20:52
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save crankycoder/7606676 to your computer and use it in GitHub Desktop.
Save crankycoder/7606676 to your computer and use it in GitHub Desktop.
TOML config to debug syslog over UDP problems
[UdpInput]
address = "127.0.0.1:2514"
parser_type = "packet"
decoder = "syslog_sandbox"
[syslog_sandbox]
type = "SandboxDecoder"
script_type = "lua"
filename = "/tmp/syslog_decoder.lua"
timestamp_field = "syslog_ts"
timestamp_layout = "Jan _2 15:04:05"
timestamp_location = "America/Toronto"
[LogOutput]
message_matcher = "TRUE"
payload_only = false
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment