title: Logstash mutate remove field name 'JSON'
body: <p>I am trying to remove a field name &quot;JSON&quot; in my mongoDB record, while dumping in ELK. But it is not working, may be the case of reserve keyword.</p>
  <p>Below is the document structure:</p>
  <pre><code>&quot;date&quot; : &lt;date&gt;,
  &quot;name&quot; : &quot;xyz&quot;,
  &quot;JSON&quot; : &lt;JSON String&gt;
  </code></pre>
  <p>I wan to remove JSON field. I already tried to rename this field and then remove that also didn't help.</p>
  <p>Below is the filter code with rename:</p>
  <pre><code>mutate {
      rename =&gt; { 'JSON' =&gt; &quot;data&quot; }
      remove_field =&gt; [&quot;data&quot;]
  }
  </code></pre>
  <p>Thanks in advance.</p>