Splunk Enterprise

splunk cli command -token argument not working on windows

cman_sc
Loves-to-Learn

Hello Folks

I have a scripted input using -passAuth in my inputs.conf.

However i've been testing the script on a *nix vm and it worked fine. (splunk 8.1).

To double check the passAuth variable i printed it out to a file, copied the token and ran the following:

 

splunk backup kvstore -token $token_from_scripted_input

 

Or any command that requires auth and it worked like a charm.

Doing the same now on windows and splunk 7.3.3 does not work at all as splunk keeps asking for username/pw when im using the -token option.

Any ideas?

Labels (1)
Tags (2)
0 Karma

richgalloway
SplunkTrust
SplunkTrust

As I understand the Release Notes, version 7.3.3 does not support tokens in CLI commands, just REST calls.

---
If this reply helps you, Karma would be appreciated.
0 Karma
Get Updates on the Splunk Community!

Splunk + ThousandEyes: Correlate frontend, app, and network data to troubleshoot ...

 Are you tired of troubleshooting delays caused by siloed frontend, application, and network data? We've got a ...

Splunk Observability for AI

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

🔐 Trust at Every Hop: How mTLS in Splunk Enterprise 10.0 Makes Security Simpler

From Idea to Implementation: Why Splunk Built mTLS into Splunk Enterprise 10.0  mTLS wasn’t just a checkbox ...