Debugger tool for Logstash's Grok parsing language.
Project description
Dismew
A debugger for Logstash's Grok parsing language. Supports all ecs-v1 patterns (AWS, Java, Firewalls, etc.) listed here. This is suitable solution to those who have a more terminal-centric workflow in their work, you can e.g. create a shortcut to launch the program from you editor, as if it were part of it.
Installation
Use Pipx to run it in an isolated environment (recommended)
pipx install dismew
or with pip
pip install dismew
Example
Things I that need completion before V1 can be released
-
Add pattern suggestions
-
Faster everything
-
Highlighting for matches
-
Support both full matching and partial
-
Allow to continue from previous state, meaning pattern, sample and outcome stay as they were on program launch.
-
Display hints on how to fix broken pattern
-
Documentation on patterns with examples, so that user can easily check what patterns suits their usecase.
Develop
Project management is with Hatch.
Clone this repository
git clone https://codeberg.org/spuzkov/dismew.git
cd dismew
Create an environment
hatch env create
Attach to the environment
hatch shell
Open new terminal window/pane/tab for debugging, and run
textual console
Run in debugging mode
textual run --dev /src/dismew/app.py
Contributing
All contributions are welcome (except those that have been made with LLMs). Please respect this request of not contributing generated code.
What ways you can contribute
- Write issues
- Create feature requests
- Write code
- Anything you can think of really
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file dismew-0.2.0.tar.gz.
File metadata
- Download URL: dismew-0.2.0.tar.gz
- Upload date:
- Size: 90.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: python-httpx/0.28.1
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
579f06a402cfb3d2e509f5d2f44c843ee0f4cd0af2fbbcbed96fb3338ee52b25
|
|
| MD5 |
419ac0fd11ea4039b1d0acd25f095ae8
|
|
| BLAKE2b-256 |
b7d18659666f30b0037146cc33d50eba713b387e97b9cc94e3dc936d605b4d91
|
File details
Details for the file dismew-0.2.0-py3-none-any.whl.
File metadata
- Download URL: dismew-0.2.0-py3-none-any.whl
- Upload date:
- Size: 50.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: python-httpx/0.28.1
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
32fe2e2386e6fb063469173c7854922948ecf316b8292c21ff58b3267f482e46
|
|
| MD5 |
f1d133c34fe1a27eadfce972012ba7c6
|
|
| BLAKE2b-256 |
0f61f8896cb282538b55f48a6a1687d367e16f88127c5ba2448108ffaf05c5e0
|