GithubHelp home page GithubHelp logo

sasg / logstash-patterns Goto Github PK

View Code? Open in Web Editor NEW

This project forked from hpcugent/logstash-patterns

0.0 3.0 0.0 170 KB

Grok patterns for parsing and structuring log messages with logstash

Ruby 39.93% Python 60.07%

logstash-patterns's Introduction

Logstash patterns

Patterns for parsing and structuring log messages for different services with Logstash.

Use this app for debugging your patterns! Be careful, there might be subtle differences!

When issuing pull requests to this repository, don't forget to include an example of the messages your commits try to parse!!

Adding pattern

Develop a new pattern typically in its own file, and call the main new pattern <something>_MSG.

Than you can do:

  • extend the RSYSLOGMESSAGE in the rsyslog file with a new pattern, by joining it with a | and placing the new pattern before the GREEDYDATA one. This requires only a new rpm and no configuration changes. This is very convient for testing.
  • add the new pattern to the list in the test configuration to the grok filter before the RSYSLOGMESSAGE as follows: %{RSYSLOGPREFIX}%{<something>_MSG} This requires a new rpm and configuration change in quattor too. Should only be done when a pattern is considered stable.

logstash-patterns's People

Contributors

wpoely86 avatar stdweird avatar piojo-zz avatar itkovian avatar alvarosimon avatar piojo avatar jenstimmerman avatar boegel avatar wdpypere avatar kwaegema avatar

Watchers

Sascha Guenther avatar James Cloos avatar  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.