All Apps and Add-ons

Error 401 with Webtools v3.1.2 and username/password

splunkreal
Motivator

Hello @jkat54 noticed in splunkbase release notes "-Removed ability to specify user and pass with the command, use splunkpasswdname & splunkpasswdcontext OR token=<token> OR splunkauth=true instead."

You should update the curl commands on Details tab of splunkbase app as this is misleading.

For the moment using v3.1.2 could only make work using token not username/password. Getting error 401 when it works correctly with CLI curl command. I'm using "REST storage/passwords Manager for Splunk"

 

syntax: | curl method=get uri="https://xxx/internalqueries?queryguid={3A798982-3D8F-465C-BB01-9E90CE4D3B4D}&filterguid={73B09AC4-6C...}" splunkpasswdname="api.xxx" splunkauth=f

 

I could make it work using v3.1.0 so maybe there is a bug with latest version?

 

Thanks for your help and thank you for this app!

* If this helps, please upvote or accept solution if it solved *
Labels (2)
0 Karma
1 Solution

jkat54
SplunkTrust
SplunkTrust

I think I'll update to "token or splunkauth" only.  

that app we used previously for storing passwords isn't cloud compatible and hasn't been updated since 3/2024 so I guess we ditched it in the latest cloud version.

Thanks for the feedback, you can always use the working version as needed.  

The newer versions may have more functionality but the primary reason we continue to update is to keep in line with cloud  compatibility policies. 

Cheers!

 

View solution in original post

jkat54
SplunkTrust
SplunkTrust

I think I'll update to "token or splunkauth" only.  

that app we used previously for storing passwords isn't cloud compatible and hasn't been updated since 3/2024 so I guess we ditched it in the latest cloud version.

Thanks for the feedback, you can always use the working version as needed.  

The newer versions may have more functionality but the primary reason we continue to update is to keep in line with cloud  compatibility policies. 

Cheers!

 

livehybrid
SplunkTrust
SplunkTrust

Hi @splunkreal 

You are probably better off speaking directly with @jkat54 rather than tagging in a post as they might not check these boards regularly.

You might find it better to DM on Splunk Community Slack (https://community.splunk.com/t5/Join-Slack/ct-p/join-slack)

🌟 Did this answer help you? If so, please consider:

  • Adding karma to show it was useful
  • Marking it as the solution if it resolved your issue
  • Commenting if you need any clarification

Your feedback encourages the volunteers in this community to continue contributing

Get Updates on the Splunk Community!

Accelerating Observability as Code with the Splunk AI Assistant

We’ve seen in previous posts what Observability as Code (OaC) is and how it’s now essential for managing ...

Integrating Splunk Search API and Quarto to Create Reproducible Investigation ...

 Splunk is More Than Just the Web Console For Digital Forensics and Incident Response (DFIR) practitioners, ...

Congratulations to the 2025-2026 SplunkTrust!

Hello, Splunk Community! We are beyond thrilled to announce our newest group of SplunkTrust members!  The ...