Dashboards & Visualizations

Credentials not accepted for port 8089

tmontney
Builder

For instance when trying to access https://mypc:8089/services/apps/local/myapp?refresh=true my credentials aren't being accepted. I'm doing this as the admin account created at setup, and can sign in to the web console fine. Splunk is running on my local machine. I have no issues with two other servers Splunk's installed on, one of which uses a self-signed certificate (like my machine).

0 Karma

isoutamo
SplunkTrust
SplunkTrust
Hi
Are you sure that there is “built in” admin account as splunk didn’t create it anymore by default. You could check if there is admin user on Splunk’s password file and if not then here https://community.splunk.com/t5/Security/What-is-new-Splunk-admin-password/m-p/502916 is instructions how to add it.
r. Ismo
0 Karma

tmontney
Builder

The account I created during setup is named "admin". It's the same one I use to logon to the web console. I've also created another user with admin role, same result.

0 Karma

isoutamo
SplunkTrust
SplunkTrust

Did this works?

curl -vk -u <your user>:<your password>  https://mypc:8089/services/apps/local/myapp?refresh=true

And what you will get to internal logs (splunkd_access, splunkd)?

r. Ismo 

0 Karma

tmontney
Builder

https://community.splunk.com/t5/All-Apps-and-Add-ons/Restart-a-splunk-app-via-script/m-p/256938

This seems to work, for whatever reason:

splunk  _internal call /services/apps/local/myapp/_reload -auth admin:mypassword
0 Karma

tmontney
Builder

Unauthorized from curl. Nothing generated from these logs

  • splunkd_access.log
  • splunkd.log
  • splunkd_ui_access.log
  • web_access.log
  • web_service.log
0 Karma
Career Survey
First 500 qualified respondents will receive a $20 gift card! Tell us about your professional Splunk journey.

Can’t make it to .conf25? Join us online!

Get Updates on the Splunk Community!

Leveraging Automated Threat Analysis Across the Splunk Ecosystem

Are you leveraging automation to its fullest potential in your threat detection strategy?Our upcoming Security ...

Can’t Make It to Boston? Stream .conf25 and Learn with Haya Husain

Boston may be buzzing this September with Splunk University and .conf25, but you don’t have to pack a bag to ...

Splunk Lantern’s Guide to The Most Popular .conf25 Sessions

Splunk Lantern is a Splunk customer success center that provides advice from Splunk experts on valuable data ...