Dashboards & Visualizations

How do I find the current folder path that the running Simple XML dashboard is in?

ArthurGautesen
Path Finder

I'm using a dashboard template for different departments, but I need to change the search name, depending on the department.

As the department name is in the folder path, I was hoping to just grab the Dashboard's current folder path and auto-adjust the search depending on the path.

Is there a way for a simple xml dashboard to detect what folder path it currently is in?

0 Karma

alemarzu
Motivator

I believe that it's not possible Arthur. Can you elaborate further ?

0 Karma

ArthurGautesen
Path Finder

These would be the Dashboard URL to directly enter the Manager Dashboard.

https://my.main.url.com:8000/en-US/app/Dept_Acct/Manager_Dashboard?earliest=0&latest=
https://my.main.url.com:8000/en-US/app/Dept_Finc/Manager_Dashboard?earliest=0&latest=
https://my.main.url.com:8000/en-US/app/Dept_ISIT/Manager_Dashboard?earliest=0&latest=

Each department has its own index, and I am looking to extract Dept name from the URL from within the Dashboard, so I can put it in a token for index searches within the Dashboard.

This would save me from having to make 40+ Dashboards with just one line changed within each Dashboard.

0 Karma

alemarzu
Motivator

Modify your querys main search in one dashboard to search for multiple indexes and then, use "Search Restrictions" on roles to filter them by department.

0 Karma
Get Updates on the Splunk Community!

Webinar Recap | Revolutionizing IT Operations: The Transformative Power of AI and ML ...

The Transformative Power of AI and ML in Enhancing Observability   In the realm of IT operations, the ...

.conf24 | Registration Open!

Hello, hello! I come bearing good news: Registration for .conf24 is now open!   conf is Splunk’s rad annual ...

ICYMI - Check out the latest releases of Splunk Edge Processor

Splunk is pleased to announce the latest enhancements to Splunk Edge Processor.  HEC Receiver authorization ...