DEV Community

Anuja Piayadigama
Anuja Piayadigama

Posted on

How to overwrite a rewrite_tag in fluent-bit

How to overwrite a rewrite_tag in fluent-bit

0

In my scenario, I'm using a fluent-bit (version 1.6.1) filter to identify a particular log pattern and tag (from.solr.out) it.

[FILTER]
    Name          rewrite_tag
    Match         test_tag
    Rule          $msg "^\d{4}-\d{2}-\d{2} \d{2}:\d{2}:\d{2}.*$"  from.solr.out false
    Emitter_Name  re_emitted

Then I modify the record to add a field like below

[FILTER]
    Name

Top comments (0)