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!

Index This | I am a number, but when you add ‘G’ to me, I go away. What number am I?

March 2024 Edition Hayyy Splunk Education Enthusiasts and the Eternally Curious!  We’re back with another ...

What’s New in Splunk App for PCI Compliance 5.3.1?

The Splunk App for PCI Compliance allows customers to extend the power of their existing Splunk solution with ...

Extending Observability Content to Splunk Cloud

Register to join us !   In this Extending Observability Content to Splunk Cloud Tech Talk, you'll see how to ...