Dashboards & Visualizations
Highlighted

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

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
Highlighted

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

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