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!

Splunk Observability Cloud | Customer Survey!

If you use Splunk Observability Cloud, we invite you to share your valuable insights with us through a brief ...

.conf23 | Get Your Cybersecurity Defense Analyst Certification in Vegas

We’re excited to announce a new Splunk certification exam being released at .conf23! If you’re going to Las ...

Starting With Observability: OpenTelemetry Best Practices

Tech Talk Starting With Observability: OpenTelemetry Best Practices Tuesday, October 17, 2023   |  11AM PST / ...