Dashboards & Visualizations

Pulling data from a remote Splunk server via REST with Authentication

jodros
Builder

I have an issue trying to fix a dashboard in Deployment Monitor App, the License Report for last 60 days. It is utilizing a rest command to pull license slaves. The server running the Deployment Monitor App is not the license master. I need to modify the rest url in the search to point to the license master. I have verified that the new rest URL is correct for pulling a listing of license slaves but is not returning results. I tried the rest URL directly in a separate browser and it appears that the license master is prompting for a username/password.

What is the best way to accomplish passing credentials with the rest command?

Thanks in advance.

0 Karma

Ayn
Legend

You'd need to add the server as a search peer in order to be able to use the rest command against it. If that's not the case, you cannot use the rest command. You could develop your own script for doing the same thing, though obviously it's a bit more work.

jodros
Builder

How would this affect this server? This isn't one of our distributed indexers. Would every search scheduled to run on our searchhead send knowledge bundles to the license master even though it will not house any data? All searchheads, forwarders, deployment server, and license master forward all logs, including internal logs to the indexers. I was hoping I would only have to look to them for data.

Let me know, and thanks for the assistance.

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!

Take Action Automatically on Splunk Alerts with Red Hat Ansible Automation Platform

 Are you ready to revolutionize your IT operations? As digital transformation accelerates, the demand for ...

Calling All Security Pros: Ready to Race Through Boston?

Hey Splunkers, .conf25 is heading to Boston and we’re kicking things off with something bold, competitive, and ...

Beyond Detection: How Splunk and Cisco Integrated Security Platforms Transform ...

Financial services organizations face an impossible equation: maintain 99.9% uptime for mission-critical ...