Splunk Dev

How to explicitly say App is configured with Python?

VatsalJagani
SplunkTrust
SplunkTrust

How to explicitly say App is configured with Python?

* I have a custom setup page (dashboard) in my App.

* I'm using Python rest-endpoint to configure the App and then executing the below REST endpoint (code) to ask Splunk that App has been successfully configured.

 

VatsalJagani_1-1666876859834.png

* This concept works fine in regular SHs.

* We have faced an issue in Search Head Cluster (Splunk version 9.0.1)

* Our app.conf with parameter is_configured = 1 is replicated across all the SHs.

* Problem is that even though the conf file is being replicated perfectly fine, other SHs are still redirecting to the setup page.

* Below are some other endpoints that I tried to use as an alternate but had no luck.

* BTW, all of the endpoints which I tried gave success responses but the above issue persisted.

 

Has anyone know the right way to do it? Is this a bug in 9.0.x?

0 Karma

cameron_just
New Member

Did you ever find a solution to this?

I'm experiencing the same issue with my addon on a search head cluster.

0 Karma
Got questions? Get answers!

Join the Splunk Community Slack to learn, troubleshoot, and make connections with fellow Splunk practitioners in real time!

Meet up IRL or virtually!

Join Splunk User Groups to connect and learn in-person by region or remotely by topic or industry.

Get Updates on the Splunk Community!

How to Break a Kubernetes Pod on Purpose and Let the AI Troubleshooting Agent Find ...

Let's say I've just rolled out a Kubernetes Deployment with a typo in the image tag. Nothing explodes. The pod ...

Splunk Add-on for Microsoft Windows 11.0.3: Parse Once, Search Faster

The updated Splunk Add-on for Microsoft Windows helps customers search Windows events faster by reducing ...

What's New in Splunk Enterprise Security 8.8 and Beyond

Threats move at machine speed. Keeping up should not depend on having the biggest budget, the largest team, or ...