<?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 Search for deleted Splunk users? in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/Search-for-deleted-Splunk-users/m-p/13104#M1151</link>
    <description>&lt;P&gt;I had some Splunk users who were deleted from UI Manager page.&lt;/P&gt;

&lt;P&gt;Is there some way to search for deleted Splunk users and who deleted them?  Searching on index=_audit doesn't seem to return deleted user information.&lt;/P&gt;</description>
    <pubDate>Fri, 07 May 2010 22:46:31 GMT</pubDate>
    <dc:creator>the_wolverine</dc:creator>
    <dc:date>2010-05-07T22:46:31Z</dc:date>
    <item>
      <title>Search for deleted Splunk users?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Search-for-deleted-Splunk-users/m-p/13104#M1151</link>
      <description>&lt;P&gt;I had some Splunk users who were deleted from UI Manager page.&lt;/P&gt;

&lt;P&gt;Is there some way to search for deleted Splunk users and who deleted them?  Searching on index=_audit doesn't seem to return deleted user information.&lt;/P&gt;</description>
      <pubDate>Fri, 07 May 2010 22:46:31 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Search-for-deleted-Splunk-users/m-p/13104#M1151</guid>
      <dc:creator>the_wolverine</dc:creator>
      <dc:date>2010-05-07T22:46:31Z</dc:date>
    </item>
    <item>
      <title>Re: Search for deleted Splunk users?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Search-for-deleted-Splunk-users/m-p/13105#M1152</link>
      <description>&lt;P&gt;Users who had login access via splunk auth which was revoked?  Or something else?  We can't create such a list for LDAP/scripted auth, of course.&lt;/P&gt;</description>
      <pubDate>Sat, 08 May 2010 00:55:04 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Search-for-deleted-Splunk-users/m-p/13105#M1152</guid>
      <dc:creator>jrodman</dc:creator>
      <dc:date>2010-05-08T00:55:04Z</dc:date>
    </item>
    <item>
      <title>Re: Search for deleted Splunk users?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Search-for-deleted-Splunk-users/m-p/13106#M1153</link>
      <description>&lt;P&gt;Hello the_wolverine:&lt;/P&gt;

&lt;P&gt;If you are trying to see who deleted a user through Splunk Web, you could search for the following event:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;127.0.0.1 - admin [07/May/2010:09:57:47.181] "DELETE /servicesNS/-/search/authentication/users/tester1 HTTP/1.1" 200 2009 - - - 2ms
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;The search to find the above event would look like:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;index=_internal sourcetype=splunkd delete authentication users servicesNS
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;To get a list, you could run an all time search for this event and extract the final value in the URI for the user name.   In the above case, the user is tester1.   I do not believe we monitor the file.&lt;/P&gt;</description>
      <pubDate>Sat, 08 May 2010 03:21:36 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Search-for-deleted-Splunk-users/m-p/13106#M1153</guid>
      <dc:creator>Simeon</dc:creator>
      <dc:date>2010-05-08T03:21:36Z</dc:date>
    </item>
    <item>
      <title>Re: Search for deleted Splunk users?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Search-for-deleted-Splunk-users/m-p/13107#M1154</link>
      <description>&lt;P&gt;The events in question are in the splunkd_access.log, which gets given sourcetype=splunkd_access and lives in the _internal index. &lt;/P&gt;

&lt;P&gt;Digging around these events in the search UI, the fields all seem to get pulled out, so here's a neat little report showing the count of deleting_user by deleted_users&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;index=_internal sourcetype=splunkd_access uri_path="/servicesNS/-/launcher/authentication/users/*" 
method="DELETE" | rename file as dead_user user as deleting_user | stats count by deleting_user dead_user 
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Fri, 14 May 2010 10:58:46 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Search-for-deleted-Splunk-users/m-p/13107#M1154</guid>
      <dc:creator>sideview</dc:creator>
      <dc:date>2010-05-14T10:58:46Z</dc:date>
    </item>
    <item>
      <title>Re: Search for deleted Splunk users?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Search-for-deleted-Splunk-users/m-p/13108#M1155</link>
      <description>&lt;P&gt;This is very specific to SplunkAuth users who have been deleted from UI.&lt;/P&gt;</description>
      <pubDate>Sat, 15 May 2010 00:59:14 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Search-for-deleted-Splunk-users/m-p/13108#M1155</guid>
      <dc:creator>the_wolverine</dc:creator>
      <dc:date>2010-05-15T00:59:14Z</dc:date>
    </item>
    <item>
      <title>Re: Search for deleted Splunk users?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Search-for-deleted-Splunk-users/m-p/13109#M1156</link>
      <description>&lt;P&gt;To add to this awesome little search query from T. Wolverine one can do the following:
index="_internal" sourcetype="splunkd_access" uri_path="/servicesNS/-/&lt;EM&gt;/authentication/&lt;/EM&gt;" method="DELETE"&lt;/P&gt;

&lt;P&gt;What's different? 
First notice that not ALL users get created/deleted when you are in the search app.
Second, notice that the above will also show deleted roles as well. (both can be tweaked to look like T.Wolverine has made them look. - pretty and all.)&lt;/P&gt;

&lt;P&gt;Notice my search results:&lt;BR /&gt;
#
1       6/4/10
3:34:31.329 PM  127.0.0.1 - admin [04/Jun/2010:15:34:31.329] "DELETE /servicesNS/-/search/authentication/roles/test HTTP/1.1" 200 2009 - - - 3ms&lt;/P&gt;

&lt;P&gt;#
2       6/4/10
3:34:20.717 PM  127.0.0.1 - admin [04/Jun/2010:15:34:20.717] "DELETE /servicesNS/-/search/authentication/users/tuser HTTP/1.1" 200 2009 - - - 2ms&lt;/P&gt;

&lt;P&gt;#
3       6/4/10
3:29:40.288 PM  127.0.0.1 - admin [04/Jun/2010:15:29:40.288] "DELETE /servicesNS/-/search/authentication/roles/dudum HTTP/1.1" 200 2009 - - - 3ms&lt;/P&gt;

&lt;P&gt;#
4       6/4/10
3:28:45.162 PM  127.0.0.1 - admin [04/Jun/2010:15:28:45.162] "DELETE /servicesNS/-/search/authentication/users/dudum HTTP/1.1" 200 2009 - - - 2ms&lt;/P&gt;

&lt;P&gt;#
5       6/4/10
3:26:01.878 PM  127.0.0.1 - admin [04/Jun/2010:15:26:01.878] "DELETE /servicesNS/-/launcher/authentication/users/dudum HTTP/1.1" 200 2013 - - - 2ms.&lt;/P&gt;

&lt;P&gt;user dudum was deleted from both search app and launcher app (i added it twice, wrong choice for showing up here but doesnt matter..) 
Also note that tuser was deleted from search app (which would not have been seen using T.W's query).&lt;/P&gt;

&lt;P&gt;Also note, in the results you can see the role that was deleted, "test".&lt;BR /&gt;
cheers,&lt;BR /&gt;
.gz&lt;/P&gt;</description>
      <pubDate>Sat, 05 Jun 2010 05:50:33 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Search-for-deleted-Splunk-users/m-p/13109#M1156</guid>
      <dc:creator>Genti</dc:creator>
      <dc:date>2010-06-05T05:50:33Z</dc:date>
    </item>
    <item>
      <title>Re: Search for deleted Splunk users?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Search-for-deleted-Splunk-users/m-p/690603#M235192</link>
      <description>&lt;P&gt;Updated query for 2024 looks like this:&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;index=_audit sourcetype=audittrail action=remove_user &lt;BR /&gt;| stats values(_time) as _time values(user) as removed_by by username&lt;/PRE&gt;</description>
      <pubDate>Thu, 13 Jun 2024 11:41:51 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Search-for-deleted-Splunk-users/m-p/690603#M235192</guid>
      <dc:creator>makelovenotwar</dc:creator>
      <dc:date>2024-06-13T11:41:51Z</dc:date>
    </item>
  </channel>
</rss>

