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!

Observability Unlocked: Kubernetes Monitoring with Splunk Observability Cloud

  Ready to master Kubernetes and cloud monitoring like the pros?Join Splunk’s Growth Engineering team for an ...

Wrapping Up Cybersecurity Awareness Month

October might be wrapping up, but for Splunk Education, cybersecurity awareness never goes out of season. ...

🌟 From Audit Chaos to Clarity: Welcoming Audit Trail v2

🗣 You Spoke, We Listened  Audit Trail v2 wasn’t written in isolation—it was shaped by your voices.  In ...