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!

Announcing Scheduled Export GA for Dashboard Studio

We're excited to announce the general availability of Scheduled Export for Dashboard Studio. Starting in ...

Extending Observability Content to Splunk Cloud

Watch Now!   In this Extending Observability Content to Splunk Cloud Tech Talk, you'll see how to leverage ...

More Control Over Your Monitoring Costs with Archived Metrics GA in US-AWS!

What if there was a way you could keep all the metrics data you need while saving on storage costs?This is now ...