package
0.0.0-20241107035240-db96926ac414
Repository: https://github.com/aintelligencegame/clicktail.git
Documentation: pkg.go.dev

# README

Golang regexp package uses the RE2 syntax.

Example CLI usage (from honeytail root)

honeytail -p regex -k $HONEYTAIL_WRITEKEY \
  -f some/path/system.log \
  --dataset 'MY_TEST_DATASET' \
  --backfill \
  --regex.line_regex="(?P<time>\d{2}:\d{2}:\d{2}) (?P<field1>\w+)" \
  --regex.line_regex="(?P<foo>\w+)" \
  --regex.timefield="time" \
  --regex.time_format="%H:%M:%S"

# Functions

RegexLineParser factory.
Compile a regex & validate expectations for log line parsing.
Compile multiple log line regexes.

# Structs

No description provided by the author
No description provided by the author
No description provided by the author