<?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 Capture Both Matched and Unmatched Events After a Lookup Filter in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/How-to-Capture-Both-Matched-and-Unmatched-Events-After-a-Lookup/m-p/703571#M238461</link>
    <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/262191"&gt;@krishna1&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;you have only to remove the filter (where command).&lt;/P&gt;&lt;P&gt;Eventually, you could add a calculation (eval command) to indicate if an event is matching or not, but probably isn't relevant because the matching ones have a value in the&amp;nbsp;&lt;SPAN&gt;work_queue field.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Ciao.&lt;/P&gt;&lt;P&gt;Giuseppe&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Tue, 05 Nov 2024 07:09:41 GMT</pubDate>
    <dc:creator>gcusello</dc:creator>
    <dc:date>2024-11-05T07:09:41Z</dc:date>
    <item>
      <title>How to Capture Both Matched and Unmatched Events After a Lookup Filter</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-Capture-Both-Matched-and-Unmatched-Events-After-a-Lookup/m-p/703557#M238457</link>
      <description>&lt;P&gt;I'm working with a query where I'm using a lookup to enrich events based on the work_queue field and then filtering to pass forward only those events with a matching entry in the lookup file.&lt;BR /&gt;&lt;BR /&gt;Here’s a simplified version of my query:&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;index="acn_ticket_summary" 
| lookup Master.csv "AssignmentGroup" as work_queue outputnew Desk_Ind, cdl_gs, Support_Team
| where isnotnull(work_queue)&lt;/LI-CODE&gt;
&lt;P&gt;&lt;BR /&gt;This filters the events, keeping only those that have a non-null work_queue after the lookup.&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;Requirement&lt;/STRONG&gt;: I also need to capture the events that don’t match (i.e., those that result in isnull(work_queue)) for separate calculations. Is there a way to modify my query to keep both the matched and unmatched events?&lt;/P&gt;
&lt;P&gt;Thank you in advance for your help!&lt;/P&gt;</description>
      <pubDate>Tue, 05 Nov 2024 15:13:50 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-Capture-Both-Matched-and-Unmatched-Events-After-a-Lookup/m-p/703557#M238457</guid>
      <dc:creator>krishna1</dc:creator>
      <dc:date>2024-11-05T15:13:50Z</dc:date>
    </item>
    <item>
      <title>Re: How to Capture Both Matched and Unmatched Events After a Lookup Filter</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-Capture-Both-Matched-and-Unmatched-Events-After-a-Lookup/m-p/703571#M238461</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/262191"&gt;@krishna1&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;you have only to remove the filter (where command).&lt;/P&gt;&lt;P&gt;Eventually, you could add a calculation (eval command) to indicate if an event is matching or not, but probably isn't relevant because the matching ones have a value in the&amp;nbsp;&lt;SPAN&gt;work_queue field.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Ciao.&lt;/P&gt;&lt;P&gt;Giuseppe&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 05 Nov 2024 07:09:41 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-Capture-Both-Matched-and-Unmatched-Events-After-a-Lookup/m-p/703571#M238461</guid>
      <dc:creator>gcusello</dc:creator>
      <dc:date>2024-11-05T07:09:41Z</dc:date>
    </item>
  </channel>
</rss>

