Knowledge Management

How do I find everything owned by a user?

jwhughes58
Contributor

We had a user leave and before he did he asked that I change the ownership of all his reports to another employee.  I did that.  Today I found out that he owns a lookup.  When I look in knowledge objects orphans, it wasn't in there.  From what I've found online, lookups are completely different.  Is there anyway in Splunk to find everything a user owns?  I would rather be proactive and find things the the user didn't mention, rather than wait for notification that something isn't working.

TIA,

Joe

Labels (2)
0 Karma
1 Solution

richgalloway
SplunkTrust
SplunkTrust

The dashboard at Settings->All configurations should show everything a given user owns.  Or you can try this query

| rest /servicesNS/-/-/directory splunk_server=local
| search eai:acl.owner="foo"
| rename eai:* as *, acl.* as *
| sort owner app type
| table owner sharing app title type location
---
If this reply helps you, Karma would be appreciated.

View solution in original post

richgalloway
SplunkTrust
SplunkTrust

The dashboard at Settings->All configurations should show everything a given user owns.  Or you can try this query

| rest /servicesNS/-/-/directory splunk_server=local
| search eai:acl.owner="foo"
| rename eai:* as *, acl.* as *
| sort owner app type
| table owner sharing app title type location
---
If this reply helps you, Karma would be appreciated.

jwhughes58
Contributor

Thanks @richgalloway for the solution.  That does exactly what I need it to do.

Get Updates on the Splunk Community!

Build Scalable Security While Moving to Cloud - Guide From Clayton Homes

 Clayton Homes faced the increased challenge of strengthening their security posture as they went through ...

Mission Control | Explore the latest release of Splunk Mission Control (2.3)

We’re happy to announce the release of Mission Control 2.3 which includes several new and exciting features ...

Cloud Platform | Migrating your Splunk Cloud deployment to Python 3.7

Python 2.7, the last release of Python 2, reached End of Life back on January 1, 2020. As part of our larger ...