Javascript library similar to grok plugin


(Jon Burgess) #1

I am researching the possibility of developing a desktop app that allows parsing of log files. As a personal learning exercise, I'd like to do it using the electronjs framework.

I really like the logstash-grok DSL for configuring parsing of log lines, specifically the set of predefined field types, and common log file formats.

Does anyone know of anything similar in the javascript world? I haven't been able to turn up anything in google, FWIW. There are "lower level" pattern matching libraries, such as https://z-pattern-matching.github.io/ but without all the nice extra stuff on top that grok has.

Cheers,
Jon


(Jon Burgess) #2

Nevermind, I found https://github.com/Beh01der/node-grok which looks as though it might do the job.


(system) #3

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.