Giter VIP home page Giter VIP logo

Comments (22)

thommiller avatar thommiller commented on July 20, 2024 4

Also came here to say this would be a great feature. Either recursive definitions or ideally something like the regex [aZ]{1,3} which will match anything between 1 and 3 alphabetic characters. If we could do this with grok tags like
%{NOTSPACE:variable}{1,3}

from logstash-filter-grok.

Littlericket avatar Littlericket commented on July 20, 2024 1

Same. Would also perfectly fit for grokking mod_security logs and their tags.

from logstash-filter-grok.

tom-christie avatar tom-christie commented on July 20, 2024

I have the same question. Why was this closed?

from logstash-filter-grok.

ph avatar ph commented on July 20, 2024

@tom-christie the issue is not closed, it was moved from the main logstash repository to the plugin specific repository.

from logstash-filter-grok.

DustinChaloupka avatar DustinChaloupka commented on July 20, 2024

👍 Have also noticed this. A workaround could be to use the split filter and find some sort of delimiter (in this case statusCode= could maybe be used) and send it through the grok filter as separate events...

from logstash-filter-grok.

jordansissel avatar jordansissel commented on July 20, 2024

Maybe related to #34 or #35.

from logstash-filter-grok.

naisanza avatar naisanza commented on July 20, 2024

+1 this is more or less what I was looking for with #50 as well!

from logstash-filter-grok.

Solisol avatar Solisol commented on July 20, 2024

+1

from logstash-filter-grok.

gilles-m avatar gilles-m commented on July 20, 2024

+1

from logstash-filter-grok.

 avatar commented on July 20, 2024

+1

from logstash-filter-grok.

thenom avatar thenom commented on July 20, 2024

+1

from logstash-filter-grok.

maniankara avatar maniankara commented on July 20, 2024

+1

from logstash-filter-grok.

okazymyrov avatar okazymyrov commented on July 20, 2024

+1

from logstash-filter-grok.

Name-less avatar Name-less commented on July 20, 2024

+1

from logstash-filter-grok.

sergunSpb avatar sergunSpb commented on July 20, 2024

Hi devs,
really needs this feature.

from logstash-filter-grok.

thadumi avatar thadumi commented on July 20, 2024

Hi, I'm also looking for this feature.
Did someone find a solution?

from logstash-filter-grok.

torbajanos avatar torbajanos commented on July 20, 2024

I'm also looking for this feature.

from logstash-filter-grok.

epacke avatar epacke commented on July 20, 2024

Me too! And thanks for making logstash, it's great!

from logstash-filter-grok.

Erni avatar Erni commented on July 20, 2024

It would definitely be a great feature, asked by many users already.

from logstash-filter-grok.

galiacheng avatar galiacheng commented on July 20, 2024

I'm also looking for this feature.

from logstash-filter-grok.

ifleg avatar ifleg commented on July 20, 2024

+1

from logstash-filter-grok.

ifleg avatar ifleg commented on July 20, 2024

For those who are interested, I succeeded using the scan function in ruby !
I can extract the tags from modsecurity alerts using the following filter in logstash :

ruby {
	code => "event.set('modsec.tags', event.get('message').scan(/(?<=\[tag \")[^\]]*(?=\"\])/))"
}

This identify ALL the tags in message and put them in the modsec.tags field.

from logstash-filter-grok.

Related Issues (20)

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.