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!

Routing logs with Splunk OTel Collector for Kubernetes

The Splunk Distribution of the OpenTelemetry (OTel) Collector is a product that provides a way to ingest ...

Welcome to the Splunk Community!

(view in My Videos) We're so glad you're here! The Splunk Community is place to connect, learn, give back, and ...

Tech Talk | Elevating Digital Service Excellence: The Synergy of Splunk RUM & APM

Elevating Digital Service Excellence: The Synergy of Real User Monitoring and Application Performance ...