Dashboards & Visualizations

Do I have to convert my Advanced XML-based app if it requires initial configuration?

abassili
Explorer

I have a Splunk Web app that's using Advanced XML for all its dashboards. All works well, except that I now need to add some logic to initially configure the app (collects some parameters and writes back this information to configuration files).

My question is, how do I go about this?

Do I have to convert the app to a framework app and convert the XML dashboard into HTML board, JS, Django bindings, or there is an easier way of doing this? If I can keep the OLD XML dashboards, that will be ideal.

0 Karma

alacercogitatus
SplunkTrust
SplunkTrust

You don't have to change dashboards. You need to include a setup.xml file to interface with a custom admin rest endpoint for your configuration file. Which configuration files are you looking to edit?

http://docs.splunk.com/Documentation/Splunk/6.2.2/Admin/Setup.xmlconf
0 Karma

abassili
Explorer

Thanks a lot for your answer. In my case, these are my own configuration files. The app will be used to mointor some servers. I store the server parameters in a configuration file (IP, user ID, password, etc ...). This information will be read by Python scripts to get the data from the server.

0 Karma
Get Updates on the Splunk Community!

Adoption of RUM and APM at Splunk

    Unleash the power of Splunk Observability   Watch Now In this can't miss Tech Talk! The Splunk Growth ...

Routing logs with Splunk OTel Collector for Kubernetes

The Splunk Distribution of the OpenTelemetry (OTel) Collector is a product that provides a way to ingest ...

Welcome to the Splunk Community!

(view in My Videos) We're so glad you're here! The Splunk Community is place to connect, learn, give back, and ...