Getting Data In

Rest call to splunk licenser/localslave to get master_uri returns "self"

New Member


We have an integration test which verifies expected values after deploying a new splunk instance. This test is written in python using the requests module.

We're using port forwarding to reach the deployed splunk instance, the url we're hitting is:

From the output we're using the following keys to get the master_uri value:

This test often passes, but sometimes will fail because the value returned is "self".

Any idea why this would be happening?

Tags (2)
0 Karma

New Member

Apparently this started happening with Splunk 8, but is not an issue with Splunk 7.3.

0 Karma
Get Updates on the Splunk Community!

.conf24 | Day 0

Hello Splunk Community! My name is Chris, and I'm based in Canberra, Australia's capital, and I travelled for ...

Enhance Security Visibility with Splunk Enterprise Security 7.1 through Threat ...

(view in My Videos)Struggling with alert fatigue, lack of context, and prioritization around security ...

Troubleshooting the OpenTelemetry Collector

  In this tech talk, you’ll learn how to troubleshoot the OpenTelemetry collector - from checking the ...