grok
grok copied to clipboard
DRY and RAD for regular expressions and then some.
Adding "+ 1" to allocation includes NULL terminator to avoid buffer overflow as PCRE library runs strlen on the string and requires the string to be properly terminated by NULL.
Attempted fixes for issue #8. Created a script that will grab the ubuntu version number from the /etc/issue file. Make changes to the Makefile so that if Ubuntu 11.10 is...
Could grok get a README describing its purpose, and maybe some example usage snippets?
Could we clean up the project organization a bit by moving the source code into a directory (`src/`)?
Clean Ubuntu Server 12.04 LTS following https://github.com/jordansissel/grok/blob/master/INSTALL ``` apt-get install build-essential unzip -y apt-get install bison ctags flex gperf libevent-dev libpcre3-dev libtokyocabinet-dev -y wget https://github.com/jordansissel/grok/archive/master.zip -O grok.zip unzip grok.zip cd...
Any reason that the Makefile only installs grok/patterns/base? There are also java, ruby, and nagios files in the distro. Any reason to not do this? ``` diff diff --git a/Makefile...
It looks like the grok gemspec that is published with the 0.9.4 jls-grok is incorrect. When I try and install the gem with jruby 1.6.5.1 running in an rbenv environment,...
grok script used: program { load-patterns: "patterns/base" load-patterns: "patterns/linux-syslog" load-patterns: "patterns/postfix" # exec "grep outbound- /var/log/maillog" # file "/var/log/maillog.1" { file "/var/lib/hadoop-0.20/ajay.m/maillog.1" { follow: true } match { pattern: "%{POSTFIXSMTPLOG}"...