fluent-plugin-grok-parser
JSVerbalExpressions
fluent-plugin-grok-parser | JSVerbalExpressions | |
---|---|---|
1 | 4 | |
106 | 12,167 | |
1.9% | 0.1% | |
2.7 | 7.8 | |
8 months ago | 5 days ago | |
Ruby | JavaScript | |
GNU General Public License v3.0 or later | MIT License |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
fluent-plugin-grok-parser
-
A portable, modern regular expression language
It may have originated from a project but many other log parser projects such as Vector and fluentd have such support.
https://vector.dev/docs/reference/vrl/examples/#parse_grok
https://github.com/fluent/fluent-plugin-grok-parser
JSVerbalExpressions
-
A portable, modern regular expression language
I agree with you. I got tired of fighting with regex where I got to the point of simply not using it if at all possible.
A comment further up offered a very promising alternative.
https://github.com/VerbalExpressions/JSVerbalExpressions#tes...
It's a bit verbose, but I don't care anymore, I am too much a veteran to care about my code being sleek, I want it readable and workable.
-
Melody - A language that compiles to regular expressions and aims to be more easily readable and maintainable
There is also VerbalExpressions with a somewhat similar idea
-
Regular expressions vs Me
JSVerbalExpressions — construct regular expressions with natural language terms
-
Super-expressive – Write regex in natural language
https://github.com/VerbalExpressions/JSVerbalExpressions
What are some alternatives?
common-regex - Most common regex
melody - Melody is a language that compiles to regular expressions and aims to be more readable and maintainable
rx - Standalone version of Emacs' rx macro
super-expressive - 🦜 Super Expressive is a zero-dependency JavaScript library for building regular expressions in (almost) natural language
kbnf - KBNF has been renamed to Dogma
logstash-patterns - Grok patterns for parsing and structuring log messages with logstash
hfst - Helsinki Finite-State Technology (library and application suite)
ocaml-re - Pure OCaml regular expressions, with support for Perl and POSIX-style strings
fluent-plugin-rewrite-tag-filter - Fluentd Output filter plugin to rewrite tags that matches specified attribute.
regex - Regex to parse translator