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!

Index This | I am a number, but when you add ‘G’ to me, I go away. What number am I?

March 2024 Edition Hayyy Splunk Education Enthusiasts and the Eternally Curious!  We’re back with another ...

What’s New in Splunk App for PCI Compliance 5.3.1?

The Splunk App for PCI Compliance allows customers to extend the power of their existing Splunk solution with ...

Extending Observability Content to Splunk Cloud

Register to join us !   In this Extending Observability Content to Splunk Cloud Tech Talk, you'll see how to ...