Security

Splunk 7.3 - Fail on Fetch tokens collection

marcus_santos_s
Path Finder

Regards,

I upgraded my Splunk server from version 7.1.2 to 7.3 and received the error ** Failed to fetch search tokens. Details: [object Response] ** when I enable the Token Authentication feature. Can anyone help solve this problem?

alt text

1 Solution

codebuilder
Influencer

I've encountered this issue when upgrading from 7.0.x to 7.2.x.

The solution that worked for me was to first determine captaincy within the SHC.
Cycle Splunk on the captain, which will force a new election.
One Splunk is again healthy on the previous captain, force a re-sync of the KV Store.
Validate via splunkd logs and/or DMC.

Jon
(always test in non-prod!)

----
An upvote would be appreciated and Accept Solution if it helps!

View solution in original post

0 Karma

codebuilder
Influencer

I've encountered this issue when upgrading from 7.0.x to 7.2.x.

The solution that worked for me was to first determine captaincy within the SHC.
Cycle Splunk on the captain, which will force a new election.
One Splunk is again healthy on the previous captain, force a re-sync of the KV Store.
Validate via splunkd logs and/or DMC.

Jon
(always test in non-prod!)

----
An upvote would be appreciated and Accept Solution if it helps!
0 Karma

marcus_santos_s
Path Finder

Hi, @codebuilder,

I understood, but I have a standalone instance and not a search head cluster.
Probably this solution would not work for me but I'll try to resynchronize the kvstore.

0 Karma

marcus_santos_s
Path Finder

Taking into account what you said, I did a clean up at the KV Store.
This command solved for me:

SPLUNK_BIN/splunk clean kvstore --local
0 Karma
Get Updates on the Splunk Community!

OpenTelemetry for Legacy Apps? Yes, You Can!

This article is a follow-up to my previous article posted on the OpenTelemetry Blog, "Your Critical Legacy App ...

UCC Framework: Discover Developer Toolkit for Building Technology Add-ons

The Next-Gen Toolkit for Splunk Technology Add-on Development The Universal Configuration Console (UCC) ...

.conf25 Community Recap

Hello Splunkers, And just like that, .conf25 is in the books! What an incredible few days — full of learning, ...