logstash-filter-grok icon indicating copy to clipboard operation
logstash-filter-grok copied to clipboard

Grok plugin to parse unstructured (log) data into something structured.

Results 64 logstash-filter-grok issues
Sort by recently updated
recently updated
newest added

Migrated from https://github.com/elastic/logstash/issues/7281 Created by @ror6ax ----- I'm having an issue with grok. I've wrote a string to match `10.155.16.115 - - [30/May/2017:08:53:41 +0000] "GET /sqi HTTP/1.1" 404 16 "-"...

Hi, I have been making use of freely available logstash configs and patterns, like this (https://github.com/nxhack/logstash/blob/master/patterns/sshd) awesome one for SSHD. I've copied a small section of the file for illustrative...

## Usecase I have few custom regex patterns which looks for some sensitive information in the log messages like credit card number, social security number etc. I have applied these...

relates to https://github.com/logstash-plugins/logstash-filter-grok/issues/82 It'd be great to print a grok filter regex taking a long time to execute. cc @andrewvc

enhancement

With the introduction of text vs. keyword fields in 5.x, it can be a nice feature to provide a way for the end user to define if a field should...

enhancement

![96f3849a-0ad1-4448-8174-deb659892408](https://cloud.githubusercontent.com/assets/6914040/18504266/ffdf35d6-7a93-11e6-94c7-0710ec1efdb9.png) I think we should add a specific Filename Extension for pattern files. - Version: - Operating System: Ubuntu 14.0 - Config File (if you have sensitive info, please remove...

Not sure if this is already possible, but it doesn't seem so. Given the String: `Hello:1 Hello:2 Hello:3`, In Perl, you could do: `/Hello:(\d+)/g` , with the Global modifier (`/g`),...

running the specs fail for `logstash-core >= 2.2` ``` /tmp/logstash-filter-grok (git)-[master] % bundle exec rspec Using Accessor#strict_set for specs NoMethodError: undefined method `pattern_path' for LogStash::Environment:Module Grok at /private/tmp/logstash-filter-grok/lib/logstash/filters/grok.rb:226 (root) at...

test script: ``` ruby # encoding: utf-8 require 'logstash/event' require 'logstash/environment' require 'spec/filters/grok_spec' grok_base = LogStash::Filters::Grok.new( "match" => ["message", '%{IPORHOST:clientip} %{USER:ident} %{USER:auth} \[%{HTTPDATE:timestamp}\] "%{WORD:verb} %{DATA:request} HTTP/%{NUMBER:httpversion}" %{NUMBER:response:int} (?:-|%{NUMBER:bytes:int}) %{QS:referrer} %{QS:agent}'])...

Total time to process the same apache log line 1_000_000 times with `%{COMMONAPACHELOG}`: 93.88s (~10k e/s) The 6 biggest time offenders use 70.46s - 75% of total time: | Action...

performance-improvements
discuss