Skip to main content

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

example-v0.1.0

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 env create

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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

dismew-0.1.0.tar.gz (88.1 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

dismew-0.1.0-py3-none-any.whl (26.0 kB view details)

Uploaded Python 3

File details

Details for the file dismew-0.1.0.tar.gz.

File metadata

  • Download URL: dismew-0.1.0.tar.gz
  • Upload date:
  • Size: 88.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: python-httpx/0.28.1

File hashes

Hashes for dismew-0.1.0.tar.gz
Algorithm Hash digest
SHA256 33d2f7c8203a0a6ca16f9ca36f2252be889e7b9a78f277bb443e7d04d1f35fcd
MD5 ce1e050371b5dffeeb54c31a0561ef18
BLAKE2b-256 5f9ac407f7ab5169fcc8f2a780aa73bfff1e5d5f7bc5d7efd43e6b14d06a31d4

See more details on using hashes here.

File details

Details for the file dismew-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: dismew-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 26.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: python-httpx/0.28.1

File hashes

Hashes for dismew-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 9c4200389b77e556ebbd5c59fab3a620ede845c5cb909359d1095a44f1489143
MD5 c5254e76dbc8b1afd1d1e2faaf238a4a
BLAKE2b-256 4f3ad21cd4fdc13ceb299e5b1792d3b851cb9e004a658c499f654003d0312fdb

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page