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!

Introducing Splunk Enterprise 9.2

WATCH HERE! Watch this Tech Talk to learn about the latest features and enhancements shipped in the new Splunk ...

Adoption of RUM and APM at Splunk

    Unleash the power of Splunk Observability   Watch Now In this can't miss Tech Talk! The Splunk Growth ...

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