Dashboards & Visualizations

Add a link to setup page in default.xml

RiccardoV
Communicator

Hi,
i'm using splunk6 and I want to add a link to the /setup page into my default.xml.

the only way I found is to add this line into the xml file:

<a href="/manager/APP_NAME/apps/local/APP_NAME/setup?action=edit">Configuration</a>

But in this way I have the app name hardcoded into the file. Does it exist a way to make the name dynamic?

I tried something like

<a href="${make_url('app/%s/?setup=1' % APP['id'])}">Configuration</a>

but with no success.

thanks

0 Karma

amiracle
Splunk Employee
Splunk Employee

Here's what I used and it worked for me:

<a href="/manager/<splunk_app>/apps/local/<splunk_app>/setup?action=edit">Setup My App</a>

This works fine if you want to have a link to the setup page for your app. Just replace with your app's name.

Get Updates on the Splunk Community!

Upcoming Webinar: Unmasking Insider Threats with Slunk Enterprise Security’s UEBA

Join us on Wed, Dec 10. at 10AM PST / 1PM EST for a live webinar and demo with Splunk experts! Discover how ...

.conf25 technical session recap of Observability for Gen AI: Monitoring LLM ...

If you’re unfamiliar, .conf is Splunk’s premier event where the Splunk community, customers, partners, and ...

A Season of Skills: New Splunk Courses to Light Up Your Learning Journey

There’s something special about this time of year—maybe it’s the glow of the holidays, maybe it’s the ...