-
Notifications
You must be signed in to change notification settings - Fork 3
Usage
Filip Halas edited this page Apr 3, 2014
·
11 revisions
Usage: gomatch (OPTIONAL: [FLAG] [ARGUMENT])
Options:
-a, --a Filepath for AMQP config file. (default none)
-i, --i Data input. (default STDIN)
-n, --u Unmatched data output. (default no_match.log)
-o, --o Matched data output. (default STDOUT)
-p, --p Patterns input. (default ./Patterns)
-s, --s Reading from socket. (default none, overrides -i)
-t, --t Tokens input. (default ./Tokens)
Three examples of usage doing the same thing.
gomatch -i ./auth.log -p ./authEvents -o output.xml
cat auth.log | gomatch -p ./authEvents > output.xml
gomatch --i auth.log --p authEvents > output.xml