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!

Extending Observability Content to Splunk Cloud

Watch Now!   In this Extending Observability Content to Splunk Cloud Tech Talk, you'll see how to leverage ...

More Control Over Your Monitoring Costs with Archived Metrics!

What if there was a way you could keep all the metrics data you need while saving on storage costs?This is now ...

New in Observability Cloud - Explicit Bucket Histograms

Splunk introduces native support for histograms as a metric data type within Observability Cloud with Explicit ...