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!

[Puzzles] Solve, Learn, Repeat: Character substitutions with Regular Expressions

This challenge was first posted on Slack #puzzles channelFor BORE at .conf23, we had a puzzle question which ...

Shape the Future of Splunk: Join the Product Research Lab!

Join the Splunk Product Research Lab and connect with us in the Slack channel #product-research-lab to get ...

Auto-Injector for Everything Else: Making OpenTelemetry Truly Universal

You might have seen Splunk’s recent announcement about donating the OpenTelemetry Injector to the ...