<?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: Eval Expression filter ingestion actions in Splunk Enterprise</title>
    <link>https://community.splunk.com/t5/Splunk-Enterprise/Eval-Expression-filter-ingestion-actions/m-p/750122#M22676</link>
    <description>&lt;P&gt;The typical issue when working in the ingest pipeline is that you don't have search-time field extracted at this point. You must work on raw event contents.&lt;/P&gt;</description>
    <pubDate>Sat, 19 Jul 2025 08:07:25 GMT</pubDate>
    <dc:creator>PickleRick</dc:creator>
    <dc:date>2025-07-19T08:07:25Z</dc:date>
    <item>
      <title>Eval Expression filter ingestion actions</title>
      <link>https://community.splunk.com/t5/Splunk-Enterprise/Eval-Expression-filter-ingestion-actions/m-p/750085#M22672</link>
      <description>&lt;P&gt;I am ingesting data from the Splunk Add on for O365. I want to use the Eval Expression filter within an ingestion action to filter what email addresses we ingest data from. Sampling the data is easy but the next bit isn't. I drop events where the RecipientAddress is not&amp;nbsp;&lt;A href="mailto:splunk.test@test.co.uk" target="_blank"&gt;splunk.test@test.co.uk&lt;/A&gt;.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Creating an | eval within a search is simple but creating something that works for a filter using eval expression,&amp;nbsp; which drops Events is where i am struggling.&lt;/P&gt;&lt;P&gt;Our Exchange/Entra team are having problems limiting the online mailboxes the Splunk application which is why I am looking at this workaround.&lt;BR /&gt;&lt;BR /&gt;Ignore the application thats tagged as we are using Enterprise 9.3.4. Can you help?&lt;/P&gt;</description>
      <pubDate>Fri, 18 Jul 2025 14:18:55 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Enterprise/Eval-Expression-filter-ingestion-actions/m-p/750085#M22672</guid>
      <dc:creator>vishalduttauk</dc:creator>
      <dc:date>2025-07-18T14:18:55Z</dc:date>
    </item>
    <item>
      <title>Re: Eval Expression filter ingestion actions</title>
      <link>https://community.splunk.com/t5/Splunk-Enterprise/Eval-Expression-filter-ingestion-actions/m-p/750087#M22673</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/228513"&gt;@vishalduttauk&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Can you share the eval you created which works in the search and I can check this against Ingest Actions.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-unicode-emoji" title=":glowing_star:"&gt;🌟&lt;/span&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;Did this answer help you?&lt;/STRONG&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;If so, please consider:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;Adding karma to show it was useful&lt;/LI&gt;&lt;LI&gt;Marking it as the solution if it resolved your issue&lt;/LI&gt;&lt;LI&gt;Commenting if you need any clarification&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;Your feedback encourages the volunteers in this community to continue contributing&lt;/P&gt;</description>
      <pubDate>Fri, 18 Jul 2025 14:48:31 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Enterprise/Eval-Expression-filter-ingestion-actions/m-p/750087#M22673</guid>
      <dc:creator>livehybrid</dc:creator>
      <dc:date>2025-07-18T14:48:31Z</dc:date>
    </item>
    <item>
      <title>Re: Eval Expression filter ingestion actions</title>
      <link>https://community.splunk.com/t5/Splunk-Enterprise/Eval-Expression-filter-ingestion-actions/m-p/750091#M22674</link>
      <description>Hi &lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/170906"&gt;@livehybrid&lt;/a&gt;, Here is the eval which works on the search | eval match=if(RecipientAddress="splunk.test@vwfs.co.uk",1,0) | search match=1</description>
      <pubDate>Fri, 18 Jul 2025 15:02:08 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Enterprise/Eval-Expression-filter-ingestion-actions/m-p/750091#M22674</guid>
      <dc:creator>vishalduttauk</dc:creator>
      <dc:date>2025-07-18T15:02:08Z</dc:date>
    </item>
    <item>
      <title>Re: Eval Expression filter ingestion actions</title>
      <link>https://community.splunk.com/t5/Splunk-Enterprise/Eval-Expression-filter-ingestion-actions/m-p/750092#M22675</link>
      <description>&lt;P&gt;I might have a solution now by using this statement:&lt;BR /&gt;&lt;BR /&gt;NOT match(_raw,"splunk.test@test.co.uk")&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 18 Jul 2025 15:16:47 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Enterprise/Eval-Expression-filter-ingestion-actions/m-p/750092#M22675</guid>
      <dc:creator>vishalduttauk</dc:creator>
      <dc:date>2025-07-18T15:16:47Z</dc:date>
    </item>
    <item>
      <title>Re: Eval Expression filter ingestion actions</title>
      <link>https://community.splunk.com/t5/Splunk-Enterprise/Eval-Expression-filter-ingestion-actions/m-p/750122#M22676</link>
      <description>&lt;P&gt;The typical issue when working in the ingest pipeline is that you don't have search-time field extracted at this point. You must work on raw event contents.&lt;/P&gt;</description>
      <pubDate>Sat, 19 Jul 2025 08:07:25 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Enterprise/Eval-Expression-filter-ingestion-actions/m-p/750122#M22676</guid>
      <dc:creator>PickleRick</dc:creator>
      <dc:date>2025-07-19T08:07:25Z</dc:date>
    </item>
    <item>
      <title>Re: Eval Expression filter ingestion actions</title>
      <link>https://community.splunk.com/t5/Splunk-Enterprise/Eval-Expression-filter-ingestion-actions/m-p/750214#M22682</link>
      <description>&lt;P&gt;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/228513"&gt;@vishalduttauk&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;In a regular search, RecipientAddress is extracted at &lt;STRONG&gt;search time, so you can use it directly in eval. But in Ingest Actions, you're working with the raw event stream before&lt;/STRONG&gt; field extractions happen.&lt;/P&gt;&lt;P&gt;But you can use this as workaround to drop events that contain this email address.&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;NOT match(_raw, "splunk\.test@test\.co\.uk")&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards,&lt;BR /&gt;Prewin&lt;BR /&gt;Splunk Enthusiast | Always happy to help! If this answer helped you, please consider marking it as the solution or giving a Karma. Thanks!&lt;/P&gt;</description>
      <pubDate>Tue, 22 Jul 2025 05:05:30 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Enterprise/Eval-Expression-filter-ingestion-actions/m-p/750214#M22682</guid>
      <dc:creator>PrewinThomas</dc:creator>
      <dc:date>2025-07-22T05:05:30Z</dc:date>
    </item>
    <item>
      <title>Re: Eval Expression filter ingestion actions</title>
      <link>https://community.splunk.com/t5/Splunk-Enterprise/Eval-Expression-filter-ingestion-actions/m-p/750227#M22685</link>
      <description>&lt;P&gt;Thank you Prewin that has worked&lt;/P&gt;</description>
      <pubDate>Tue, 22 Jul 2025 07:38:18 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Enterprise/Eval-Expression-filter-ingestion-actions/m-p/750227#M22685</guid>
      <dc:creator>vishalduttauk</dc:creator>
      <dc:date>2025-07-22T07:38:18Z</dc:date>
    </item>
  </channel>
</rss>

