Code Monkey home page Code Monkey logo

grokdebug's Introduction

grokdebug

Forked to use custom patterns. Added separate page for viewing loaded patterns.

grokdebug's People

Contributors

artbikes avatar danielpetisme avatar mkopta avatar nickethier avatar shadyabhi avatar simmel avatar zyphlar avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

grokdebug's Issues

Support nested fields as used in Logstash

Using grok variable names with [brackets] in them does not seem to work. This can make it harder to debug Logstash grok patterns as the brackets are used to define nested fields, e.g. [ingress][port].

Example

With sample:

[namespace/service-name:8080]

This works:

\[%{DATA:ingress_namespace}/%{DATA:ingress_service}:%{DATA:ingress_port}\]

This doesn't:

\[%{DATA:[ingress][namespace]}/%{DATA:[ingress][service]}:%{DATA:[ingress][port]}\]```

Input to textarea for input and pattern fields

Hello,

Any thoughts on changing the inputs to textarea's? I would find it easier to debug long lines of text. Right now I change it in the inspect element panel in chrome.

Here is what it looks like if you change the inputs to textarea's:

image

Thanks,

Nathan

Type conversions cause grokdebug to fail

A pattern like this: %{NUMBER:num:int} where the :int cause the output to be converted causes a "no matches". There is also :float according to the docs.

Workaround - remove type conversions whilst testing!

A simple note on the page would probably do the trick - it's a pattern debugger after all.

Feature request (perhaps different application interface paradigm)

The application works excellent for developing and testing patterns.
A couple things that I think would greatly improve work flow (especially when building generic patterns files) would be:

  • Multiple input lines to match results thus allowing you to take an input type that takes multiple forms and test adaptive matching patterns
  • Onchange hook for custom patterns field that triggers re-match
  • Adjustable size custom patterns input field, perhaps even a popout editor and/or remote resources (git hub link?)

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.