Splunk Search

serches not displayed after upgrade to 6.0

wojtek_swiatek
Path Finder

Hello,

We have just upgraded a splunk instance to 6.0 and the searches which worked previously now display:

In handler 'savedsearch': User
'nobody' could not act as: r4o

The user r4o was the creator of the search, he left some time ago (when we were still on 5.x). The users are handled though a connection to AD (where r4o is not present anymore).

I assume the issue comes from there (?)

  • is there a way to allow user 'nobody' to run the searches anyway
  • OR can we change in a batch the ownership of the searches to a known user
  • OR can we change the rights so that anyone (including 'nobody' who apparently acts on behalf of 'r4o') can run the searches?

Thank you!

Tags (3)

davidpaper
Contributor

After upgrading from 5.x to 6.1.2 yesterday, I now see this problem too.

Did you find an answer to this problem?

davidpaper
Contributor

Ah, I did figure out how to fix this! In the app that owns the saved search, look for the $app/metadata/local.meta file. In that file, look for the name of the saved search. There is a field called "owner" that has the old AD or LDAP userid in it. Replace that old userid with "nobody" (no quotes). This is a userid that Splunk sets aside to be able to run saved searches when there is no real userid that owns the search anymore.

Restart the search head after the change, or run $SPLUNK/bin/splunk btool fix-dangling and wait a few seconds and reload the dashboard.

0 Karma

wojtek_swiatek
Path Finder

Unfortunately not. We ended up recreating the searches and graphs.

0 Karma

simonmaas
Explorer

Hello wojtek.swiatek,

does it mean the VMware app won't be updated at all or just the searches and graphs?

Thanks!

0 Karma
Get Updates on the Splunk Community!

Splunk Observability for AI

Don’t miss out on an exciting Tech Talk on Splunk Observability for AI!Discover how Splunk’s agentic AI ...

Splunk Enterprise Security 8.x: The Essential Upgrade for Threat Detection, ...

Watch On Demand the Tech Talk on November 6 at 11AM PT, and empower your SOC to reach new heights! Duration: ...

Splunk Observability as Code: From Zero to Dashboard

For the details on what Self-Service Observability and Observability as Code is, we have some awesome content ...