Dashboards & Visualizations

Is there a simple way to store values in some sort of configuration file so I can use them in a Simple XML app?

kkatzgraukeyw
Explorer

Is there a simple way to store values in some sort of configuration file so that I can use them in a SimpleXML app?

For example, I have chart palette definitions that are being replicated several times, and it would make much more sense to have them stored in a config as opposed to the XML.

0 Karma

jaredlaney
Contributor

Referencing similar post that I think may apply. The only configuration that I know of that can be used in simple xml is a lookup or kv store.

http://answers.splunk.com/answers/221617/retrieving-values-from-config-file.html

"I personally would use a lookup table to achieve this. Place this data into a csv and import as a lookup file, create a lookup definition for it then if you like create an automatic lookup so you never need to do it again."

kv store:
http://dev.splunk.com/view/webframework-features/SP-CAAAEZK

0 Karma
Get Updates on the Splunk Community!

.conf24 | Registration Open!

Hello, hello! I come bearing good news: Registration for .conf24 is now open!   conf is Splunk’s rad annual ...

Using the Splunk Threat Research Team’s Latest Security Content

REGISTER HERE Tech Talk | Security Edition Did you know the Splunk Threat Research Team regularly releases ...

SplunkTrust | 2024 SplunkTrust Application Period is Open!

It's that time again, folks! That's right, the application/nomination period for the 2024 SplunkTrust is ...