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.pngVatsalJagani_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!

Turn Cisco Telemetry Into Action with Cisco Data Fabric, powered by the Splunk ...

The surge in machine data is already hitting enterprise budgets, and the agentic era will only intensify it. ...

Persistent Queue at TcpOut — One of Splunk's Most Practical Features

Splunk introduced persistent queueing at the tcpout layer as one of the most practical resilience features in ...

Skip the Awkward Silence: Have a .conf-ersation at .conf26

Picture this. You arrive at .conf26 already having your socializing and networking plans mapped out. No ...