Dashboards & Visualizations

How to identify reports/Dashboard owned by user?

vinodsinha
Explorer

HI Team,

How can figure out reports/dashboard which owned by user, any Splunk query to find out, I tried from GUI as well but didn't work.
Let me know.

Thanks,
V

Tags (1)
0 Karma

fdi01
Motivator

try :

 | rest /servicesNS/PutUserNameHere/-/data/ui/views | table author title eai:acl.app | eval Type="Dashboard" | append [| rest /serviceNS/PutUserNameHere/-/saved/searches | table author title eai:acl.app | eval Type="SavedSearch/Report"] | rename author as Owner title as Name eai:.acl.app as AppName

chimell
Motivator

Hi
Look at an example

index=_internal  | rex "\/app\/(?<myApp>\w+)\/(?<myView>\w+)\"" | stats    values(myView) AS myViews by user

alt text

The capture above is his result

If you want to add App which contain report or dashboard use this search code

index=_internal source=*access.log */app/* | rex "\/app\/(?<myApp>\w+)\/(?<myView>\w+)\"" | stats  values(myApp) AS myApps , values(myView) AS myViews by user
0 Karma

chimell
Motivator

Note that you can edit this search code as you want

0 Karma
Get Updates on the Splunk Community!

New Year, New Changes for Splunk Certifications

As we embrace a new year, we’re making a small but important update to the Splunk Certification ...

Stay Connected: Your Guide to January Tech Talks, Office Hours, and Webinars!

What are Community Office Hours? Community Office Hours is an interactive 60-minute Zoom series where ...

[Puzzles] Solve, Learn, Repeat: Reprocessing XML into Fixed-Length Events

This challenge was first posted on Slack #puzzles channelFor a previous puzzle, I needed a set of fixed-length ...