<?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: Eliminate Specific results &amp;amp; include specific result from search query in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/Filter-Specific-results-amp-include-specific-result-in-query/m-p/555551#M157707</link>
    <description>&lt;P&gt;Is this what you mean?&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;| rex field=Logon_Location "(?&amp;lt;logloc&amp;gt;\w\w$)"
| rex field=AD_Location "(?&amp;lt;adloc&amp;gt;\w\w$)"
| where logloc!=adloc AND Event_Title != "Unfamiliar sign-in properties" AND Event_Tilte != "Malware linked IP address"&lt;/LI-CODE&gt;</description>
    <pubDate>Sat, 12 Jun 2021 13:17:39 GMT</pubDate>
    <dc:creator>ITWhisperer</dc:creator>
    <dc:date>2021-06-12T13:17:39Z</dc:date>
    <item>
      <title>Filter Specific results &amp; include specific result in query</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Filter-Specific-results-amp-include-specific-result-in-query/m-p/555550#M157706</link>
      <description>&lt;P&gt;&lt;BR /&gt;If the user's AD &amp;amp; Logon locations are the same, then I am filtering the results with the below query.&amp;nbsp;&lt;/P&gt;&lt;P&gt;| rex field=Logon_Location "(?&amp;lt;logloc&amp;gt;\w\w$)"&lt;BR /&gt;| rex field=AD_Location "(?&amp;lt;adloc&amp;gt;\w\w$)"&lt;BR /&gt;| where logloc!=adloc&lt;/P&gt;&lt;P&gt;Now I want to filter the results for only below 2 "Event_Titles".&lt;/P&gt;&lt;P&gt;Event_Title = "Unfamiliar sign-in properties"&lt;BR /&gt;Event_Tilte = "Malware linked IP address"&lt;/P&gt;&lt;P&gt;And I want to also get all Event_Titles if the user's AD &amp;amp; Logon location is unique and different.&lt;/P&gt;&lt;P&gt;Please help here.&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.splunk.com/t5/user/viewprofilepage/user-id/206061" target="_blank" rel="noopener"&gt;@scelikok&lt;/A&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;A href="https://community.splunk.com/t5/user/viewprofilepage/user-id/214410" target="_blank" rel="noopener"&gt;@soutamo&lt;/A&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;A href="https://community.splunk.com/t5/user/viewprofilepage/user-id/211208" target="_blank" rel="noopener"&gt;@saravanan90&lt;/A&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;A href="https://community.splunk.com/t5/user/viewprofilepage/user-id/129407" target="_blank" rel="noopener"&gt;@thambisetty&lt;/A&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;A href="https://community.splunk.com/t5/user/viewprofilepage/user-id/225168" target="_blank" rel="noopener"&gt;@ITWhisperer&lt;/A&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;A href="https://community.splunk.com/t5/user/viewprofilepage/user-id/161352" target="_blank" rel="noopener"&gt;@gcusello&lt;/A&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;A href="https://community.splunk.com/t5/user/viewprofilepage/user-id/6367" target="_blank" rel="noopener"&gt;@bowesmana&lt;/A&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp;&lt;/SPAN&gt;&lt;A href="https://community.splunk.com/t5/user/viewprofilepage/user-id/184221" target="_blank" rel="noopener"&gt;@to4kawa&lt;/A&gt;&lt;SPAN&gt;&amp;nbsp;&lt;A href="https://community.splunk.com/t5/user/viewprofilepage/user-id/1406" target="_blank" rel="noopener"&gt;@woodcock&lt;/A&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 12 Jun 2021 14:41:02 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Filter-Specific-results-amp-include-specific-result-in-query/m-p/555550#M157706</guid>
      <dc:creator>alexspunkshell</dc:creator>
      <dc:date>2021-06-12T14:41:02Z</dc:date>
    </item>
    <item>
      <title>Re: Eliminate Specific results &amp; include specific result from search query</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Filter-Specific-results-amp-include-specific-result-in-query/m-p/555551#M157707</link>
      <description>&lt;P&gt;Is this what you mean?&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;| rex field=Logon_Location "(?&amp;lt;logloc&amp;gt;\w\w$)"
| rex field=AD_Location "(?&amp;lt;adloc&amp;gt;\w\w$)"
| where logloc!=adloc AND Event_Title != "Unfamiliar sign-in properties" AND Event_Tilte != "Malware linked IP address"&lt;/LI-CODE&gt;</description>
      <pubDate>Sat, 12 Jun 2021 13:17:39 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Filter-Specific-results-amp-include-specific-result-in-query/m-p/555551#M157707</guid>
      <dc:creator>ITWhisperer</dc:creator>
      <dc:date>2021-06-12T13:17:39Z</dc:date>
    </item>
    <item>
      <title>Re: Eliminate Specific results &amp; include specific result from search query</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Filter-Specific-results-amp-include-specific-result-in-query/m-p/555552#M157708</link>
      <description>&lt;P&gt;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/225168"&gt;@ITWhisperer&lt;/a&gt;&amp;nbsp; Thanks much for your reply!&lt;/P&gt;&lt;P&gt;This query filters both Event_Title in the results.&amp;nbsp;&lt;/P&gt;&lt;P&gt;But I want to get all Event_Title in the result &amp;amp; particularly filter, if AD &amp;amp; Logon locations are same for "Unfamiliar sign-in properties" &amp;amp; "Malware linked IP address"&lt;/P&gt;</description>
      <pubDate>Sat, 12 Jun 2021 14:28:23 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Filter-Specific-results-amp-include-specific-result-in-query/m-p/555552#M157708</guid>
      <dc:creator>alexspunkshell</dc:creator>
      <dc:date>2021-06-12T14:28:23Z</dc:date>
    </item>
    <item>
      <title>Re: Eliminate Specific results &amp; include specific result from search query</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Filter-Specific-results-amp-include-specific-result-in-query/m-p/555555#M157709</link>
      <description>&lt;P&gt;Does this match what you are asking for, i.e. only and all events for A in either ad loc or log loc so long as A is in ad loc and log loc at the same time for both the event titles you are interested in?&lt;/P&gt;&lt;TABLE border="1" width="100%"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD width="10.012919896640826%"&gt;&lt;FONT color="#0000FF"&gt;ad loc&lt;/FONT&gt;&lt;/TD&gt;&lt;TD width="10.917312661498709%"&gt;&lt;FONT color="#0000FF"&gt;log loc&lt;/FONT&gt;&lt;/TD&gt;&lt;TD width="54.06976744186046%"&gt;&lt;FONT color="#0000FF"&gt;event title&lt;/FONT&gt;&lt;/TD&gt;&lt;TD width="25%"&gt;&lt;FONT color="#0000FF"&gt;keep&lt;/FONT&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD width="10.012919896640826%"&gt;A&lt;/TD&gt;&lt;TD width="10.917312661498709%"&gt;A&lt;/TD&gt;&lt;TD width="54.06976744186046%"&gt;&lt;SPAN&gt;Unfamiliar sign-in properties&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD width="25%"&gt;Yes&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD width="10.012919896640826%"&gt;A&lt;/TD&gt;&lt;TD width="10.917312661498709%"&gt;A&lt;/TD&gt;&lt;TD width="54.06976744186046%"&gt;&lt;SPAN&gt;Malware linked IP address&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD width="25%"&gt;Yes&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD width="10.012919896640826%"&gt;A&lt;/TD&gt;&lt;TD width="10.917312661498709%"&gt;B&lt;/TD&gt;&lt;TD width="54.06976744186046%"&gt;Something else&lt;/TD&gt;&lt;TD width="25%"&gt;Yes&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD width="10.012919896640826%"&gt;B&lt;/TD&gt;&lt;TD width="10.917312661498709%"&gt;A&lt;/TD&gt;&lt;TD width="54.06976744186046%"&gt;Something else&lt;/TD&gt;&lt;TD width="25%"&gt;Yes&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD width="10.012919896640826%"&gt;B&lt;/TD&gt;&lt;TD width="10.917312661498709%"&gt;B&lt;/TD&gt;&lt;TD width="54.06976744186046%"&gt;&lt;SPAN&gt;Unfamiliar sign-in properties&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD width="25%"&gt;No&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD width="10.012919896640826%"&gt;B&lt;/TD&gt;&lt;TD width="10.917312661498709%"&gt;C&lt;/TD&gt;&lt;TD width="54.06976744186046%"&gt;&lt;SPAN&gt;Malware linked IP address&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD width="25%"&gt;No&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;C&lt;/TD&gt;&lt;TD&gt;B&lt;/TD&gt;&lt;TD&gt;&lt;SPAN&gt;Malware linked IP address&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD&gt;No&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;B&lt;/TD&gt;&lt;TD&gt;C&lt;/TD&gt;&lt;TD&gt;&lt;SPAN&gt;Something else&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD&gt;No&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;</description>
      <pubDate>Sat, 12 Jun 2021 15:18:23 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Filter-Specific-results-amp-include-specific-result-in-query/m-p/555555#M157709</guid>
      <dc:creator>ITWhisperer</dc:creator>
      <dc:date>2021-06-12T15:18:23Z</dc:date>
    </item>
    <item>
      <title>Re: Eliminate Specific results &amp; include specific result from search query</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Filter-Specific-results-amp-include-specific-result-in-query/m-p/555557#M157710</link>
      <description>&lt;P&gt;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/225168"&gt;@ITWhisperer&lt;/a&gt;&amp;nbsp; Thanks for your prompt reply.&lt;/P&gt;&lt;P&gt;Below is the requirement&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="alexspunkshell_0-1623511677412.png" style="width: 499px;"&gt;&lt;img src="https://community.splunk.com/t5/image/serverpage/image-id/14608i6C6C57A563883655/image-dimensions/499x149?v=v2" width="499" height="149" role="button" title="alexspunkshell_0-1623511677412.png" alt="alexspunkshell_0-1623511677412.png" /&gt;&lt;span class="lia-inline-image-caption" onclick="event.preventDefault();"&gt;alexspunkshell_0-1623511677412.png&lt;/span&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Any Location means no matter it is Same or Distinct location but needs to capture in the result.&lt;/P&gt;&lt;P&gt;Below query is filtering results for same AD &amp;amp; Logon location for all the alerts.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;But I want to filter for only for "Unfamiliar sign-in properties &amp;amp; Malware linked IP address" alert if the AD &amp;amp; Logon locations are different.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;| rex field=Logon_Location "(?&amp;lt;logloc&amp;gt;\w\w$)"&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;| rex field=AD_Location "(?&amp;lt;adloc&amp;gt;\w\w$)"&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;| where logloc!=adloc&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 12 Jun 2021 16:06:12 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Filter-Specific-results-amp-include-specific-result-in-query/m-p/555557#M157710</guid>
      <dc:creator>alexspunkshell</dc:creator>
      <dc:date>2021-06-12T16:06:12Z</dc:date>
    </item>
    <item>
      <title>Re: Eliminate Specific results &amp; include specific result from search query</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Filter-Specific-results-amp-include-specific-result-in-query/m-p/555564#M157715</link>
      <description>&lt;LI-CODE lang="markup"&gt;| rex field=Logon_Location "(?&amp;lt;logloc&amp;gt;\w\w$)"
| rex field=AD_Location "(?&amp;lt;adloc&amp;gt;\w\w$)"
| where logloc!=adloc OR (Event_Title != "Unfamiliar sign-in properties" AND Event_Title != "Malware linked IP address")&lt;/LI-CODE&gt;</description>
      <pubDate>Sat, 12 Jun 2021 17:37:58 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Filter-Specific-results-amp-include-specific-result-in-query/m-p/555564#M157715</guid>
      <dc:creator>ITWhisperer</dc:creator>
      <dc:date>2021-06-12T17:37:58Z</dc:date>
    </item>
    <item>
      <title>Re: Eliminate Specific results &amp; include specific result from search query</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Filter-Specific-results-amp-include-specific-result-in-query/m-p/555565#M157716</link>
      <description>&lt;P&gt;| rex field=Logon_Location "(?&amp;lt;logloc&amp;gt;\w\w$)"&lt;BR /&gt;| rex field=AD_Location "(?&amp;lt;adloc&amp;gt;\w\w$)"&lt;BR /&gt;| where logloc!=adloc OR Event_Title!= "Unfamiliar sign-in properties" |where logloc!=adloc OR Event_Title!= "Malware linked IP address"&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/225168"&gt;@ITWhisperer&lt;/a&gt;&amp;nbsp;Thanks much. Above also gives the same result.&lt;/P&gt;</description>
      <pubDate>Sat, 12 Jun 2021 17:41:50 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Filter-Specific-results-amp-include-specific-result-in-query/m-p/555565#M157716</guid>
      <dc:creator>alexspunkshell</dc:creator>
      <dc:date>2021-06-12T17:41:50Z</dc:date>
    </item>
  </channel>
</rss>

