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!

Infographic provides the TL;DR for the 2023 Splunk Career Impact Report

We’ve been shouting it from the rooftops! The findings from the 2023 Splunk Career Impact Report showing that ...

Splunk Lantern | Getting Started with Edge Processor, Machine Learning Toolkit ...

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

Enterprise Security Content Update (ESCU) | New Releases

In the last month, the Splunk Threat Research Team (STRT) has had 2 releases of new security content via the ...