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!

Built-in Service Level Objectives Management to Bridge the Gap Between Service & ...

Wednesday, May 29, 2024  |  11AM PST / 2PM ESTRegister now and join us to learn more about how you can ...

Get Your Exclusive Splunk Certified Cybersecurity Defense Engineer at Splunk .conf24 ...

We’re excited to announce a new Splunk certification exam being released at .conf24! If you’re headed to Vegas ...

Share Your Ideas & Meet the Lantern team at .Conf! Plus All of This Month’s New ...

Splunk Lantern is Splunk’s customer success center that provides advice from Splunk experts on valuable data ...