Deployment Architecture

How to retrieve information from a custom config file created from setup?

yanlajeunesse
Explorer

Hello,

What i'm trying to achieve is : a setup page where the users can enter different information that my app's different dashboards will use. Ideally, I would even like to create email alerts and the user could set his email address from the setup, but that seems more advanced.

I have read multiple docs about how to create such a setup page. I've used the example from the "Developer Guidance - Setup View Example For Splunk" app, and it works fine as in i can easily write my own configuration file with stanza and fields of my choosing.

What I dont know though, is how to access these stored information from my splunk app itself, say, from a search. Is it stored as tokens? I'm starting to consider tweaking my setup to just write a .csv file instead and use it as a lookup, but it feels absolutely hackish.

Any hints to point me towards the light would be greatly appreciated 🙂

Thank you!

Tags (2)
Get Updates on the Splunk Community!

Introducing the Splunk Community Dashboard Challenge!

Welcome to Splunk Community Dashboard Challenge! This is your chance to showcase your skills in creating ...

Get the T-shirt to Prove You Survived Splunk University Bootcamp

As if Splunk University, in Las Vegas, in-person, with three days of bootcamps and labs weren’t enough, now ...

Wondering How to Build Resiliency in the Cloud?

IT leaders are choosing Splunk Cloud as an ideal cloud transformation platform to drive business resilience,  ...