Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add a Grok option #26

Open
JoaquinSV opened this issue Apr 22, 2016 · 2 comments
Open

Add a Grok option #26

JoaquinSV opened this issue Apr 22, 2016 · 2 comments

Comments

@JoaquinSV
Copy link

Hi, it is possible to add a grok parser in addition to the regex one?.
Regards,

@y-ken
Copy link
Member

y-ken commented Mar 16, 2017

Sounds nice to have it!

@okkez
Copy link
Contributor

okkez commented Oct 13, 2017

built-in filter_parser and fluent-plugin-grok-parser can handle Grok pattern.

For example (pseudo code):

<source>
  @type forward
  @label @rewritetag
</source>

<label @rewritetag>
  <filter>
    @type parser
    <parse>
      @type grok
      <grok>
         pattern ...
      </grok>
    </parse>
  </filter>
  <match>
    @type rewrite_tag_filter
    <rule>
     ...
    </rule>
  </match>
</label>

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants