title: How to overwrite a rewrite_tag in fluent-bit
body: <p>In my scenario, I'm using a fluent-bit (<em>version 1.6.1</em>) filter to identify a particular log pattern and tag (<em>from.solr.out</em>) it.</p>
  <pre><code>[FILTER]
      Name          rewrite_tag
      Match         test_tag
      Rule          $msg &quot;^\d{4}-\d{2}-\d{2} \d{2}:\d{2}:\d{2}.*$&quot;  from.solr.out false
      Emitter_Name  re_emitted
  </code></pre>
  <p>Then I modify the record to add a field like below</p>
  <pre><code>[FILTER]
      Name record_modifier
      Match from.solr.out
      Record aid 53
  </code></pre>
  <p>Now I need to give a new tag (<em>format.logging</em>) to that modified record which I tried with below code snippet and it doesn't work.</p>
  <pre><code>[FILTER]
      Name          rewrite_tag
      Match         from.solr.out
      Rule          $from.solr.out &quot;^.*$&quot;  format.logging false
      Emitter_Name  re_emitted_indexing
  </code></pre>
  <ul>
  <li><p>What is wrong with that approach?</p>
  </li>
  <li><p>Is there any better approach/filter to achieve this task?</p>
  </li>
  </ul>