Splunk Dev

In app setup screen

rantravee
Path Finder

Hi,

Is it possible to define a setup screen to capture credentials and other important information and have this setup screen available within the application like a separate navigation tab ? . I need this because I want to allow the user to be able easily to customize what the app is polling .

0 Karma

lknecht_splunk
Splunk Employee
Splunk Employee

Hi there,

I just wanted to bring your attention to the setup view solution that is available for developer guidance here.

Developer Guidance - Setup View Example For Splunk
https://splunkbase.splunk.com/app/3728/

The source code can be found here
https://github.com/splunk/Developer_Guidance_Setup_View_Example

The code here can essentially be re-used by others looking to accomplish the same functionality.

To achieve the solution you're looking for, all you have to do is make a setup view, then add a link to the setup view in your default/data/ui/nav/ xml file, and it should allow you to redirect the user to the setup page every time.

0 Karma

alacercogitatus
SplunkTrust
SplunkTrust

Yes, you can setup a screen to just that. It is called setup.xml. Please see the docs for more information: http://docs.splunk.com/Documentation/Splunk/6.0/AdvancedDev/SetupApp

rantravee
Path Finder

Interesting, I will explore this option.

0 Karma

alacercogitatus
SplunkTrust
SplunkTrust

You can access the setup screen at any time. In your navigation for the app, (http://docs.splunk.com/Documentation/Splunk/6.0/AdvancedDev/BuildNavigation) add in a link for the setup screen (https://HOSTNAME/en-US/manager/search/apps/local/APPNAME/setup?action=edit)

rantravee
Path Finder

I meant something like that, but that is not showed only once when the app is first opened. Instead it is available within the app at any time the user desires ti reconfigure some params

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