Giter Club home page Giter Club logo

groppy's Introduction

Groppy

Python Versions Groppy version Packages License

A desktop application written purely in python using customtkinter and tksheet (and requests). This application is the ideal friend of someone who wants to create regex patterns. The application facilitates managing grok patterns, reading JSON-files and parsing fields in an ELK environment.

Details

The primary focus of this application was to facilitate working with regex. Although, i wrote this program with focus on minmal dependency on other libraries to make version control and code transparency better. This resulted in customtkinter, tksheet, requests, json, re and os being the main utilized libraries - all well known and trusted. Less is more. The application requires python 3.11+ in order to perform atomic grouping and possessive quantifiers. However, if no such regex is being used, the application can still be utilized given that included libraries support a lower version.

Features

  • Create and test regex
  • Query data from an elasticsearch REST API.
    • Select a field to retrieve data from, create a query (e.g. tags: "_grokparsefailure")
    • Auto discovers available indices and fields
    • HTTP Basic auth, API-Token, SSL Cert
  • Load local text files
    • Filter to load unique rows
  • Load local grok patterns
  • Load local JSON file
    • Specify which key to retrieve data from
  • Test grok patterns to see how applicable they are
    • Tests every pattern towards every row
    • Filter which grok patterns that should be tested (include/exclude)
  • Export grok patterns
  • Multiple different themes
    • Blue, Dark-Blue, DaynNight, FlipperZero, GhostTrain, Green, Greengage, GreyGhost, Hades, Harlequin, NightTrain, Oceanix, TestCard, TrojanBlue, Yellow
  • Dark and Light mode
  • Configuration file to save settings such as mode, theme, elasticsearch details

Themes

View themes

TrojanBlue

TrojanBlue

Hades

Hades

GhostTrain

GhostTrain

FlipperZero

FlipperZero

Greengage

Greengage

Settings file

A file called settings.json will be created on first launch with the following settings that may be altered which are loaded upon start.

{
    "mode": "Light",
    "theme": "GhostTrain",
    "elastic_host": "localhost",
    "elastic_port": "9200",
    "elastic_auth": false,
    "elastic_user": "",
    "elastic_api_key_is_used": true,
    "elastic_api_key_value": "UmVnZXhpbmcgaXMgZnVuIQ==",
    "elastic_cert_is_used": false,
    "elastic_cert_path": ""
}

groppy's People

Contributors

h4nm avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.