Splunk Dev

How to access the configuration settings in custom config file based on values?

troyward
Explorer

I'm trying to build an app that requires some configurations to be saved that affect the output of some of the searches (i.e if something should be counted or not). My idea is to save these as a custom config file in apps local directory (mycustomfile.conf) but my problem is, how can I access the configuration settings within it to modify the searches based on their values? I've read about creating a setup.xml file and think I understand that, just not sure how to actually put those values into use.

Labels (2)

pierznj
Engager

My kingdom for an answer to this question! (Sorry I don't really have a kingdom.)

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 ...

ICYMI - Check out the latest releases of Splunk Edge Processor

Splunk is pleased to announce the latest enhancements to Splunk Edge Processor.  HEC Receiver authorization ...

Introducing the 2024 SplunkTrust!

Hello, Splunk Community! We are beyond thrilled to announce our newest group of SplunkTrust members!  The ...