<?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 identify users (UID) that use program A, but have never used program B? in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/How-to-identify-users-UID-that-use-program-A-but-have-never-used/m-p/158271#M44594</link>
    <description>&lt;P&gt;Hello,&lt;/P&gt;

&lt;P&gt;Try a simple sub-search to exclude users:&lt;/P&gt;

&lt;P&gt;&lt;CODE&gt;index=my_index AND AppName="A" AND NOT&lt;BR /&gt;
[ &lt;BR /&gt;
 search index=my_index AppName="B" | dedup UID | fields UID &lt;BR /&gt;
] &lt;BR /&gt;
| dedup UID | table UID&lt;/CODE&gt;&lt;/P&gt;

&lt;P&gt;The sub-search will basically list every unique UID that used App B, so we get the results and exclude from the users using app A. Now, if you have a user that never used App A neither App B, it won't show... if that might be a problem you need to use another source, list a list of UIDs instead of start with users using App A. Hope it all makes sense for you.&lt;/P&gt;

&lt;P&gt;Cheers,&lt;/P&gt;</description>
    <pubDate>Fri, 10 Oct 2014 04:10:19 GMT</pubDate>
    <dc:creator>musskopf</dc:creator>
    <dc:date>2014-10-10T04:10:19Z</dc:date>
    <item>
      <title>How to identify users (UID) that use program A, but have never used program B?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-identify-users-UID-that-use-program-A-but-have-never-used/m-p/158270#M44593</link>
      <description>&lt;P&gt;I've got users using 2 apps that I'm pulling from, and I'm looking at login reports. Given that the users have unique IDs (UID) and unique app names (AppName), I want to figure out which unique users are using app A but NOT using app B. They can be using both, and I want to see which users have never used app B.&lt;/P&gt;

&lt;P&gt;Is this possible through Splunk, or do I need to print them to a CSV and go from there?&lt;/P&gt;

&lt;P&gt;Thanks for any help!&lt;/P&gt;</description>
      <pubDate>Thu, 09 Oct 2014 21:52:00 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-identify-users-UID-that-use-program-A-but-have-never-used/m-p/158270#M44593</guid>
      <dc:creator>Cox_JoshS</dc:creator>
      <dc:date>2014-10-09T21:52:00Z</dc:date>
    </item>
    <item>
      <title>Re: How to identify users (UID) that use program A, but have never used program B?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-identify-users-UID-that-use-program-A-but-have-never-used/m-p/158271#M44594</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;

&lt;P&gt;Try a simple sub-search to exclude users:&lt;/P&gt;

&lt;P&gt;&lt;CODE&gt;index=my_index AND AppName="A" AND NOT&lt;BR /&gt;
[ &lt;BR /&gt;
 search index=my_index AppName="B" | dedup UID | fields UID &lt;BR /&gt;
] &lt;BR /&gt;
| dedup UID | table UID&lt;/CODE&gt;&lt;/P&gt;

&lt;P&gt;The sub-search will basically list every unique UID that used App B, so we get the results and exclude from the users using app A. Now, if you have a user that never used App A neither App B, it won't show... if that might be a problem you need to use another source, list a list of UIDs instead of start with users using App A. Hope it all makes sense for you.&lt;/P&gt;

&lt;P&gt;Cheers,&lt;/P&gt;</description>
      <pubDate>Fri, 10 Oct 2014 04:10:19 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-identify-users-UID-that-use-program-A-but-have-never-used/m-p/158271#M44594</guid>
      <dc:creator>musskopf</dc:creator>
      <dc:date>2014-10-10T04:10:19Z</dc:date>
    </item>
    <item>
      <title>Re: How to identify users (UID) that use program A, but have never used program B?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-identify-users-UID-that-use-program-A-but-have-never-used/m-p/158272#M44595</link>
      <description>&lt;P&gt;Thanks Musskopf!&lt;/P&gt;

&lt;P&gt;So, let's see if I understand correctly - &lt;/P&gt;

&lt;P&gt;--&lt;/P&gt;

&lt;P&gt;index=my_index AND AppName="A"   -- finding the users that use app "A"&lt;/P&gt;

&lt;P&gt;[ search index=my_index AppName="B" | dedup UID | fields UID ] -- find all users using app "B", remove duplicates, strip all other fields&lt;/P&gt;

&lt;P&gt;--&lt;/P&gt;

&lt;P&gt;index=my_index AND AppName="A" AND NOT [ search index=my_index AppName="B" | dedup UID | fields UID ]&lt;/P&gt;

&lt;P&gt;This combination I'm a little confused about, but if I'm correct this is saying 'if a given item is in the app "A" group, AND NOT in the app "B" group?&lt;/P&gt;

&lt;P&gt;--&lt;/P&gt;

&lt;P&gt;Then you take all of it, strip the duplicates, and make a table.&lt;/P&gt;</description>
      <pubDate>Mon, 28 Sep 2020 17:51:01 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-identify-users-UID-that-use-program-A-but-have-never-used/m-p/158272#M44595</guid>
      <dc:creator>Cox_JoshS</dc:creator>
      <dc:date>2020-09-28T17:51:01Z</dc:date>
    </item>
    <item>
      <title>Re: How to identify users (UID) that use program A, but have never used program B?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-identify-users-UID-that-use-program-A-but-have-never-used/m-p/158273#M44596</link>
      <description>&lt;P&gt;Yep, this has it for me. Thanks again!&lt;/P&gt;</description>
      <pubDate>Fri, 10 Oct 2014 17:27:51 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-identify-users-UID-that-use-program-A-but-have-never-used/m-p/158273#M44596</guid>
      <dc:creator>Cox_JoshS</dc:creator>
      <dc:date>2014-10-10T17:27:51Z</dc:date>
    </item>
    <item>
      <title>Re: How to identify users (UID) that use program A, but have never used program B?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-identify-users-UID-that-use-program-A-but-have-never-used/m-p/158274#M44597</link>
      <description>&lt;P&gt;Yeah, you got it!&lt;/P&gt;</description>
      <pubDate>Sun, 12 Oct 2014 21:31:36 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-identify-users-UID-that-use-program-A-but-have-never-used/m-p/158274#M44597</guid>
      <dc:creator>musskopf</dc:creator>
      <dc:date>2014-10-12T21:31:36Z</dc:date>
    </item>
  </channel>
</rss>

