<?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 do you find the disabled usernames along with the status of their respective adm-usernames? in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/How-do-you-find-the-disabled-usernames-along-with-the-status-of/m-p/436992#M174116</link>
    <description>&lt;P&gt;Hello @deepak007, do you have a search for finding the status of an adm-username?&lt;BR /&gt;
How are usernames and adm-usernames connected? Is it just the prefix "adm-" before the username?&lt;/P&gt;</description>
    <pubDate>Fri, 14 Dec 2018 10:10:48 GMT</pubDate>
    <dc:creator>whrg</dc:creator>
    <dc:date>2018-12-14T10:10:48Z</dc:date>
    <item>
      <title>How do you find the disabled usernames along with the status of their respective adm-usernames?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-do-you-find-the-disabled-usernames-along-with-the-status-of/m-p/436991#M174115</link>
      <description>&lt;P&gt;I have 2 types of account for the same user's like&lt;BR /&gt;
1. username&lt;BR /&gt;
2. adm-username&lt;/P&gt;

&lt;P&gt;As a requirement, I need to find the disabled usernames along with the status of their respective adm-usernames&lt;/P&gt;

&lt;P&gt;I have the query to find the disabled usernames, but I need to know the status of their adm-username account status.&lt;/P&gt;</description>
      <pubDate>Fri, 14 Dec 2018 09:13:56 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-do-you-find-the-disabled-usernames-along-with-the-status-of/m-p/436991#M174115</guid>
      <dc:creator>deepak007</dc:creator>
      <dc:date>2018-12-14T09:13:56Z</dc:date>
    </item>
    <item>
      <title>Re: How do you find the disabled usernames along with the status of their respective adm-usernames?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-do-you-find-the-disabled-usernames-along-with-the-status-of/m-p/436992#M174116</link>
      <description>&lt;P&gt;Hello @deepak007, do you have a search for finding the status of an adm-username?&lt;BR /&gt;
How are usernames and adm-usernames connected? Is it just the prefix "adm-" before the username?&lt;/P&gt;</description>
      <pubDate>Fri, 14 Dec 2018 10:10:48 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-do-you-find-the-disabled-usernames-along-with-the-status-of/m-p/436992#M174116</guid>
      <dc:creator>whrg</dc:creator>
      <dc:date>2018-12-14T10:10:48Z</dc:date>
    </item>
    <item>
      <title>Re: How do you find the disabled usernames along with the status of their respective adm-usernames?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-do-you-find-the-disabled-usernames-along-with-the-status-of/m-p/436993#M174117</link>
      <description>&lt;P&gt;yes we have 2 types of user names in our environment&lt;/P&gt;

&lt;OL&gt;
&lt;LI&gt;username&lt;/LI&gt;
&lt;LI&gt;adm-username&lt;/LI&gt;
&lt;/OL&gt;

&lt;P&gt;same user holds both the accounts, but both the accounts are different&lt;/P&gt;</description>
      <pubDate>Mon, 17 Dec 2018 02:13:17 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-do-you-find-the-disabled-usernames-along-with-the-status-of/m-p/436993#M174117</guid>
      <dc:creator>deepak007</dc:creator>
      <dc:date>2018-12-17T02:13:17Z</dc:date>
    </item>
    <item>
      <title>Re: How do you find the disabled usernames along with the status of their respective adm-usernames?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-do-you-find-the-disabled-usernames-along-with-the-status-of/m-p/436994#M174118</link>
      <description>&lt;P&gt;I presume you have two searches:&lt;BR /&gt;
- one search for finding all disabled users&lt;BR /&gt;
- one search for finding all adm-users and their respective status&lt;/P&gt;

&lt;P&gt;I suggest you use the &lt;A href="https://docs.splunk.com/Documentation/Splunk/latest/SearchReference/Join" target="_blank"&gt;join command&lt;/A&gt;:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;index=... your search for all disabled users | dedup username | table username
| eval adm_username="adm-".username
| join type=left adm_username [search index=... your search for all adm-users | rename username as adm_username status as adm_status | table adm_username,adm_status]
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;This should get you a table with the columns: username, adm_username, adm_status&lt;/P&gt;</description>
      <pubDate>Tue, 29 Sep 2020 22:24:45 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-do-you-find-the-disabled-usernames-along-with-the-status-of/m-p/436994#M174118</guid>
      <dc:creator>whrg</dc:creator>
      <dc:date>2020-09-29T22:24:45Z</dc:date>
    </item>
    <item>
      <title>Re: How do you find the disabled usernames along with the status of their respective adm-usernames?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-do-you-find-the-disabled-usernames-along-with-the-status-of/m-p/436995#M174119</link>
      <description>&lt;P&gt;not getting what I need to, its just changing the name by prefixing the ADM- in front of username.&lt;/P&gt;

&lt;P&gt;maybe I was not clear with the query, I need to search the existing ADM accounts present or not for the users that are disabled, as we dont have adm account for all the user's&lt;/P&gt;

&lt;P&gt;running this query not solving the issue&lt;/P&gt;

&lt;P&gt;sourcetype="WinEventLog:Security" EventCode=4725 user!="&lt;EM&gt;$"  | dedup user | table user&lt;BR /&gt;
 | eval adm_username="adm-".user&lt;BR /&gt;
 | join type=left adm_username [search sourcetype="WinEventLog:Security" EventCode=4725 user!="&lt;/EM&gt;$" OR user="adm-*" | rename user as adm_username status as adm_status | table adm_username,adm_status]&lt;/P&gt;</description>
      <pubDate>Tue, 29 Sep 2020 22:26:36 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-do-you-find-the-disabled-usernames-along-with-the-status-of/m-p/436995#M174119</guid>
      <dc:creator>deepak007</dc:creator>
      <dc:date>2020-09-29T22:26:36Z</dc:date>
    </item>
    <item>
      <title>Re: How do you find the disabled usernames along with the status of their respective adm-usernames?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-do-you-find-the-disabled-usernames-along-with-the-status-of/m-p/436996#M174120</link>
      <description>&lt;P&gt;So do you just want to list all ADM accounts which are disabled? Or do you want to list all ADM accounts with their respective status (enabled/disabled)? Perhaps you could provide an example as to what the expected results should look like.&lt;/P&gt;</description>
      <pubDate>Thu, 20 Dec 2018 09:44:54 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-do-you-find-the-disabled-usernames-along-with-the-status-of/m-p/436996#M174120</guid>
      <dc:creator>whrg</dc:creator>
      <dc:date>2018-12-20T09:44:54Z</dc:date>
    </item>
    <item>
      <title>Re: How do you find the disabled usernames along with the status of their respective adm-usernames?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-do-you-find-the-disabled-usernames-along-with-the-status-of/m-p/436997#M174121</link>
      <description>&lt;P&gt;Hi Whrg,&lt;/P&gt;

&lt;P&gt;basically I want the  ADM accounts  which are  left out.&lt;BR /&gt;
in our organization there is a process of disabling the user accounts not the adm accounts, i need something that  tells me the adm account is left for the respective user account which is disabled.&lt;BR /&gt;
so that we can manually disable them&lt;/P&gt;

&lt;P&gt;note: ADM account is not for all the user's in the organization, its just 40% of the users have ADM account&lt;/P&gt;</description>
      <pubDate>Wed, 02 Jan 2019 04:09:02 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-do-you-find-the-disabled-usernames-along-with-the-status-of/m-p/436997#M174121</guid>
      <dc:creator>deepak007</dc:creator>
      <dc:date>2019-01-02T04:09:02Z</dc:date>
    </item>
  </channel>
</rss>

