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.

Got questions? Get answers!

Join the Splunk Community Slack to learn, troubleshoot, and make connections with fellow Splunk practitioners in real time!

Meet up IRL or virtually!

Join Splunk User Groups to connect and learn in-person by region or remotely by topic or industry.

Get Updates on the Splunk Community!

Event Series: Level up your SOC: Advancing with Splunk Enterprise Security

AI has fundamentally raised the stakes for security operations, and this three-part series is your guide to ...

Announcing Modern Navigation: A New Era of Splunk User Experience

We are excited to introduce the Modern Navigation feature in the Splunk Platform, available to both cloud and ...

SOC4Kafka - New Kafka Connector Powered by OpenTelemetry

The new SOC4Kafka connector, built on OpenTelemetry, enables the collection of Kafka messages and forwards ...