Dashboards & Visualizations

how can i create a query to find out usage of dashboard

Learner
Path Finder

I need a query that will give the count of views of dashboard, number of queries executed by dashboard, time taken by queries, count of executions by user.

Labels (1)
Tags (1)
0 Karma

gcusello
SplunkTrust
SplunkTrust

Hi @Learner,

if you search in Community answers, you'll find all the searches you need.

Anyway, did you explored the Dashboard Monitoring App (https://splunkbase.splunk.com/app/3350/) maybe it could solve parte or your needs?

Ciao.

Giuseppe

0 Karma

Learner
Path Finder

Will it be possible to solve this problem without using Dashboard Monitoring App

0 Karma

gcusello
SplunkTrust
SplunkTrust

Hi @Learner,

You don't need to use it, but you can find the searches for your need and use it outside the app.

So e.g. for the dashboard in time you can use a search like this (this one or something similar):

index="_internal"  source=*access.log user!="-" */app/*
| rex field=referer "/en-US/app/(?<app>[^/]+)/(?<dashboard>[^?/\s]+)" 
| search dashboard!="job_management" dashboard!="dbinfo" dashboard!="*en-US" dashboard!="search" dashboard!="home" dashboard!="alerts" dashboard!="alert" dashboard!="dashboards" dashboard!="reports" dashboard!="report" 
| timechart span=1h dc(dashboard)

e.g. to have the top 10 used dashboards, you can use something similar to this:

index="_internal"  source=*access.log user!="-" */app/*
| rex field=referer "/en-US/app/(?<app>[^/]+)/(?<dashboard>[^?/\s]+)" 
| search dashboard!="job_management" dashboard!="dbinfo" dashboard!="*en-US" dashboard!="search" dashboard!="home" dashboard!="alerts" dashboard!="alert" dashboard!="dashboards" dashboard!="reports" dashboard!="report" 
| top 10 dashboard

 this kind of dashboard are very useful to understand how to do a thing for your need not to be used as they are.

Ciao.

Giuseppe

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 ...