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!

Observe and Secure All Apps with Splunk

  Join Us for Our Next Tech Talk: Observe and Secure All Apps with SplunkAs organizations continue to innovate ...

Splunk Decoded: Business Transactions vs Business IQ

It’s the morning of Black Friday, and your e-commerce site is handling 10x normal traffic. Orders are flowing, ...

Fastest way to demo Observability

I’ve been having a lot of fun learning about Kubernetes and Observability. I set myself an interesting ...