Skip to content

Instantly share code, notes, and snippets.

@davidbirdsong
Created January 4, 2014 17:55
Show Gist options
  • Select an option

  • Save davidbirdsong/8258163 to your computer and use it in GitHub Desktop.

Select an option

Save davidbirdsong/8258163 to your computer and use it in GitHub Desktop.
simple logline regex decoder
[diamond-carbon]
type = "LogfileInput"
logger = "diamond-carbon"
logfile = "/data/log/diamond-archive/archive.log"
parser_type = "regexp"
delimiter = '/^servers.+example\.my\.example\.metric \w+ \w+\n$/'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment