Security

User has left the company, now getting "Could not find user:" errors

mikelanghorst
Motivator

I've had a few users leave the company now that have had saved searches. Removing the $splunk_home/etc/users/ directory doesn't resolve the errors.

If I search for files that contain the login name, I find the following example entry for "tuser"q:
etc/apps/search/local/viewstates.conf:
[viewstates/flashtimeline%3Agu5s5mv8]
owner = tuser
version = 4.2.3
export = system

Is it safe to remove these entries? Is there a better way to remove terminated users?

Tags (1)

Brian_Osburn
Builder

Make sure the users not in any meta files either. If you're on a linux machine I'd do the following:

grep -r "username" $SPLUNK_HOME

That'll find all instances of the user name in any configuration files.

mikelanghorst
Motivator

Removing those entries in viewstates.conf doesn't resolve the error either.

0 Karma
Get Updates on the Splunk Community!

Stay Connected: Your Guide to May Tech Talks, Office Hours, and Webinars!

Take a look below to explore our upcoming Community Office Hours, Tech Talks, and Webinars this month. This ...

They're back! Join the SplunkTrust and MVP at .conf24

With our highly anticipated annual conference, .conf, comes the fez-wearers you can trust! The SplunkTrust, as ...

Enterprise Security Content Update (ESCU) | New Releases

Last month, the Splunk Threat Research Team had two releases of new security content via the Enterprise ...