Giter Site home page Giter Site logo

grok-debugger's Introduction

grokdebugger.com

This client-side application uses WebAssembly to emulate the logstash grok library in the browser. It is responsive, feature-rich, and can help you quickly debug your grok patterns. Although it works well in most cases, it is not an exact port of logstash grok, so be sure to test your patterns in your environment before deploying.

Features:

  • Real-time processing (see changes as you type)
  • Autocomplete
  • Match highlighting
  • Syntax highlighting
  • Multiline debugging
  • 20+ pattern sets (AWS, Grok, firewalls, Java, etc.)
  • Add more pattern sets with a URL
  • Save and use your own custom patterns

Limitations:

  • Does not support nested objects in naming e.g. %{IP:user.ip} or <%{NONNEGINT:[log][syslog][priority]}>
  • Does not support explicitly defined output types e.g. %{NUMBER:status:int}
  • Does not support inline flag modifiers e.g. (?i)opid=%{NOTSPACE:event_operation_id} cjslack#6

Run locally:

Must have node.js installed

git clone https://github.com/cjslack/grok-debugger.git
cd grok-debugger
npm install
npm start

How I made this:

node-grok is a library that emulates the grok libarary, but it is not an exact port of it. I forked this node.js library and adapted it to run in the browser with Web Assembly.

grok-debugger's People

Contributors

cjslack 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.