<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: How to stop ingesting a field value in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/How-to-stop-ingesting-a-field-value/m-p/529826#M89236</link>
    <description>&lt;P&gt;Actually is the other way around. I do not want to ingest that specific field value (WAFAction=unknown). How could I do?&lt;/P&gt;</description>
    <pubDate>Tue, 17 Nov 2020 20:52:52 GMT</pubDate>
    <dc:creator>franciscof</dc:creator>
    <dc:date>2020-11-17T20:52:52Z</dc:date>
    <item>
      <title>How to stop ingesting a field value</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-to-stop-ingesting-a-field-value/m-p/529813#M89232</link>
      <description>&lt;P&gt;Hi guys, I have an input made from the ASplunk addon for AWS and what I want to do is to stop ingesting a field value. This is cloudflare data and what I want to stop ingesting is the field value WAFAction=unknown&lt;/P&gt;&lt;P&gt;Could I do this through the props and transforms? If so, how should I do it?&lt;/P&gt;&lt;P&gt;Thanks in advance.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;</description>
      <pubDate>Tue, 17 Nov 2020 19:32:02 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-to-stop-ingesting-a-field-value/m-p/529813#M89232</guid>
      <dc:creator>franciscof</dc:creator>
      <dc:date>2020-11-17T19:32:02Z</dc:date>
    </item>
    <item>
      <title>Re: How to stop ingesting a field value</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-to-stop-ingesting-a-field-value/m-p/529825#M89235</link>
      <description>&lt;P&gt;So you want to not ingest the field WAFAction, but only if the value is "unknown", correct?&amp;nbsp; I'm curious about the use case for that.&amp;nbsp; You may be able to do it with INGEST_EVAL.&amp;nbsp; Here's an untested transform:&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;[dropunknownwafaction]
INGEST_EVAL = WAFAction:=if(WAFAction="unknown", null(), WAFAction)&lt;/LI-CODE&gt;</description>
      <pubDate>Tue, 17 Nov 2020 20:19:14 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-to-stop-ingesting-a-field-value/m-p/529825#M89235</guid>
      <dc:creator>richgalloway</dc:creator>
      <dc:date>2020-11-17T20:19:14Z</dc:date>
    </item>
    <item>
      <title>Re: How to stop ingesting a field value</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-to-stop-ingesting-a-field-value/m-p/529826#M89236</link>
      <description>&lt;P&gt;Actually is the other way around. I do not want to ingest that specific field value (WAFAction=unknown). How could I do?&lt;/P&gt;</description>
      <pubDate>Tue, 17 Nov 2020 20:52:52 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-to-stop-ingesting-a-field-value/m-p/529826#M89236</guid>
      <dc:creator>franciscof</dc:creator>
      <dc:date>2020-11-17T20:52:52Z</dc:date>
    </item>
    <item>
      <title>Re: How to stop ingesting a field value</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-to-stop-ingesting-a-field-value/m-p/529914#M89247</link>
      <description>&lt;P&gt;That is why my answer does.&amp;nbsp; It only ingests the WAFAction field if the value is not "unknown".&lt;/P&gt;</description>
      <pubDate>Wed, 18 Nov 2020 14:12:05 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-to-stop-ingesting-a-field-value/m-p/529914#M89247</guid>
      <dc:creator>richgalloway</dc:creator>
      <dc:date>2020-11-18T14:12:05Z</dc:date>
    </item>
  </channel>
</rss>

