All Apps and Add-ons

How to make a shortcut to a page in an app from my own app?

corti77
Communicator

Hi,

I created a custom app for my company and I would like to create a menu with shortcuts to the most valuable dashboards of other apps installed.

In this case, I was trying to link a dashboard from Azure App
https://splunk.xxxx/en-US/app/microsoft_azure/aad_signin

I tried adding an entry in the file C:\Program Files\Splunk\etc\apps\MYAPP\local\data\ui\nav\default.xml

 

<nav search_view="search">
  <view name="search" default='true' />
  <view name="disk_monitoring" />
  <view name="analytics_workspace" />
  <view name="datasets" />
  <view name="reports" />
  <view name="alerts" />
  <view name="dashboards" />
  <view name="azure_sign-in" />
</nav>

and I also created a view file (azure_sign-in.xml) in the path C:\Program Files\Splunk\etc\apps\MYAPP\local\data\ui\views

<shortcut>
    <label>Azure Sign-ins</label>
    <url>/en-US/app/microsoft_azure/aad_signin</url>
</shortcut>

 

After restarting Splunk, the menu's new option appears but nothing is shown when I click on it.

I looked for the view and change their permissions to All Apps, but still, nothing is shown.

what am I missing? Is this the right way to do it?

 

Labels (2)
0 Karma
1 Solution

gcusello
SplunkTrust
SplunkTrust

Hi @corti77,

you can use:

  <a href="/app/other_app/dashboard1">Dashboard Title</a>

Ciao.

Giuseppe

View solution in original post

gcusello
SplunkTrust
SplunkTrust

Hi @corti77,

you can use:

  <a href="/app/other_app/dashboard1">Dashboard Title</a>

Ciao.

Giuseppe

gcusello
SplunkTrust
SplunkTrust

Hi @corti77,

good for you, see next time!

Ciao and happy splunking

Giuseppe

P.S.: Karma Points are appreciated 😉

Get Updates on the Splunk Community!

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!

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

New in Observability Cloud - Explicit Bucket Histograms

Splunk introduces native support for histograms as a metric data type within Observability Cloud with Explicit ...