News for hackers. Stuff that matters.
Re:Pattern Matching Without Regex – Introducing the Rosie Pa... by busterarm on Wednesday November 14, 2018 @11:56AM (#18451334)
I wish. I think the closest that you can get is to run Logstash locally with the stdout output plugin. You'll have to do some work with the logstash config to set up your grok input filters each time, but it should give you what you want otherwise.
Re:Pattern Matching Without Regex – Introducing the Rosie Pa... by aequitas on Wednesday November 14, 2018 @12:15PM (#18451529)
Grok is implemented in other languages too. For example https://github.com/garyelephant/pygrok/ It makes developing and unit testing Logstash Grok patterns a lot quicker compared to spinning up a full Logstash instance for every line of code changed.