Skip to content

Instantly share code, notes, and snippets.

@takscape
Created February 8, 2013 02:38
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 takscape/4736182 to your computer and use it in GitHub Desktop.
Save takscape/4736182 to your computer and use it in GitHub Desktop.
Splunk settings for LTSV
# props.conf
[ltsv]
NO_BINARY_CHECK = 1
SHOULD_LINEMERGE = false
REPORT-ltsv = ltsv-extractions
TIME_FORMAT=%d/%b/%Y:%H:%M:%S %z
TIME_PREFIX=time:
# transforms.conf
[ltsv-extractions]
REGEX = (?:^|\t)([0-9A-Za-z_.-]+):([^\t]*)(?:\t|$)
FORMAT = $1::$2
KEEP_EMPTY_VALS = true
CLEAN_KEYS = 0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment