fluent-plugin-grok-parser
common-regex
fluent-plugin-grok-parser | common-regex | |
---|---|---|
1 | 1 | |
105 | 0 | |
1.0% | - | |
2.7 | 10.0 | |
8 months ago | over 5 years ago | |
Ruby | Rust | |
GNU General Public License v3.0 or later | Apache License 2.0 |
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
common-regex
-
A portable, modern regular expression language
comparitor.insert("iyr", Regex::new(r"^(201[0-9]|2020)$").unwrap());
There are lots of number parsing.
I would enable both [[:1-12:]] and [[:01-12:]] as options without / with leading zeros.
About the variables:
This file would look much more readable with variables that are reusing other regexes:
https://github.com/spcan/common-regex/blob/3238bc8ee85e0e000...
What are some alternatives?
rx - Standalone version of Emacs' rx macro
kbnf - KBNF has been renamed to Dogma
hfst - Helsinki Finite-State Technology (library and application suite)
logstash-patterns - Grok patterns for parsing and structuring log messages with logstash
JSVerbalExpressions - JavaScript Regular expressions made easy
oil - Oils is our upgrade path from bash to a better language and runtime. It's also for Python and JavaScript users who avoid shell!
fluent-plugin-rewrite-tag-filter - Fluentd Output filter plugin to rewrite tags that matches specified attribute.