practicalli / practicalli/clojure-web-services
Log line parsers
Nobody has claimed this yet.
- Dominant language
- Markdown
- Stars
- 16
- Forks
- 14
- PR merge metrics
- No merged PRs in 30d
Description
Libraries or tools that support log-line parsers for logs across the variety of languages/platforms?
- instaparse or clj-antlr are feature rich libraries
- regex for a more manual approach
Notes from the community
clj-antlr might be the most robust as you might find compatible grammar definitions around the internet
(that's how we kick started our Lucene-like query interface in our product)
Started with regex, too limiting, have moved on to instaparse. Thought about clj-antlr, but didn't have a lot of hope for finding open-sourced grammars. I guess I should actually look...
If care about speed ANTLR is much faster than instaparse
Definitely. Instaparse is nice for REPL-driven development, but once I get the grammars nailed down I'll probably move to ANTLR.
i noticed that https://github.com/antlr/grammars-v4 had a variety of grammars -- is it possible one of them might already be close to what you might need?
turning out to be pretty easy to define log parsers in instaparse.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
This is a discussion about log-line parser libraries, mentioning instaparse, clj-antlr, regex, and ANTLR, but it names no project files, tests, or concrete change. First clarify the desired feature and supported log formats; completion criteria are not defined in the issue.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- clojure
- Domain
- backend
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 15/100