<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Used reports/dashboards in Monitoring Splunk</title>
    <link>https://community.splunk.com/t5/Monitoring-Splunk/Used-reports-dashboards/m-p/572272#M8653</link>
    <description>&lt;P&gt;I was wondering...&lt;/P&gt;&lt;P&gt;Can I get (probably from _internal) which reports and dashboards were executed by users? I supposed that saved searches spawned by scheduler should be possible to either find in configuration (by checking their schedule) or by tracking scheduler logs. But ad-hoc ones?&lt;/P&gt;&lt;P&gt;Use case is - users created many different dashboards and reports and we want to clean the ones not used anymore. But first of course we need to find them.&lt;/P&gt;</description>
    <pubDate>Mon, 25 Oct 2021 13:46:32 GMT</pubDate>
    <dc:creator>PickleRick</dc:creator>
    <dc:date>2021-10-25T13:46:32Z</dc:date>
    <item>
      <title>Used reports/dashboards</title>
      <link>https://community.splunk.com/t5/Monitoring-Splunk/Used-reports-dashboards/m-p/572272#M8653</link>
      <description>&lt;P&gt;I was wondering...&lt;/P&gt;&lt;P&gt;Can I get (probably from _internal) which reports and dashboards were executed by users? I supposed that saved searches spawned by scheduler should be possible to either find in configuration (by checking their schedule) or by tracking scheduler logs. But ad-hoc ones?&lt;/P&gt;&lt;P&gt;Use case is - users created many different dashboards and reports and we want to clean the ones not used anymore. But first of course we need to find them.&lt;/P&gt;</description>
      <pubDate>Mon, 25 Oct 2021 13:46:32 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Monitoring-Splunk/Used-reports-dashboards/m-p/572272#M8653</guid>
      <dc:creator>PickleRick</dc:creator>
      <dc:date>2021-10-25T13:46:32Z</dc:date>
    </item>
    <item>
      <title>Re: Used reports/dashboards</title>
      <link>https://community.splunk.com/t5/Monitoring-Splunk/Used-reports-dashboards/m-p/572284#M8654</link>
      <description>&lt;P&gt;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/231884"&gt;@PickleRick&lt;/a&gt;&amp;nbsp;Please try the below query:&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;index="_internal" source=*access.log user!="-" */app/* 
| rex "\/en\-US\/app\/(?&amp;lt;app&amp;gt;\w+)\/(?&amp;lt;dashboard&amp;gt;\w+)" 
| search dashboard!="job_management" dashboard!="dbinfo" dashboard!="*en-US" dashboard!="search" dashboard!="home" dashboard!="alerts" dashboard!="alert" dashboard!="dashboards" dashboard!="reports" dashboard!="report" dashboard!="overview" 
| search dashboard="*"
| bucket span=1m _time 
| stats count sparkline max(_time) as lastaccess earliest(_time) as StartTime by user 
| eval avg=count/5
| convert ctime(lastaccess) ctime(StartTime) 
| sort -lastaccess 
| rename  user as "User" lastaccess as "Last accessed on" count as "No. of times accessed" avg as "Weekly Avg." StartTime as "First accessed on"&lt;/LI-CODE&gt;&lt;P&gt;Also if this reply helped you an up vote will be appreciated&lt;/P&gt;</description>
      <pubDate>Mon, 25 Oct 2021 14:16:25 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Monitoring-Splunk/Used-reports-dashboards/m-p/572284#M8654</guid>
      <dc:creator>ashvinpandey</dc:creator>
      <dc:date>2021-10-25T14:16:25Z</dc:date>
    </item>
    <item>
      <title>Re: Used reports/dashboards</title>
      <link>https://community.splunk.com/t5/Monitoring-Splunk/Used-reports-dashboards/m-p/572287#M8655</link>
      <description>&lt;P&gt;After some fiddling (that's typical - I ask a question, then start looking for myself ;-)) it seems that I found a similar solution. I don't do the timecharting but just count but I approach it from a bit different side.&lt;/P&gt;&lt;P&gt;Instead of listing all URLs and only matching some of them. I firstly build a list of defined dashboards and then look for them in the access log.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;index=_internal source="/opt/splunk/var/log/splunk/splunkd_ui_access.log" 
    [| rest /services/data/ui/views 
| where isDashboard=1
| fields title
| eval uri_path="/*/app/*/".title 
| table uri_path] 
| stats count by uri_path&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;But the general idea is similar. Thanks.&lt;/P&gt;&lt;P&gt;EDIT: Oh, and your search lists users, not the dashboards themselves. &lt;span class="lia-unicode-emoji" title=":winking_face:"&gt;😉&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 25 Oct 2021 14:42:54 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Monitoring-Splunk/Used-reports-dashboards/m-p/572287#M8655</guid>
      <dc:creator>PickleRick</dc:creator>
      <dc:date>2021-10-25T14:42:54Z</dc:date>
    </item>
    <item>
      <title>Re: Used reports/dashboards</title>
      <link>https://community.splunk.com/t5/Monitoring-Splunk/Used-reports-dashboards/m-p/572323#M8656</link>
      <description>&lt;P&gt;This app might be useful for what you're looking for (and some more):&lt;/P&gt;&lt;P&gt;&lt;A href="https://splunkbase.splunk.com/app/3541/" target="_blank"&gt;https://splunkbase.splunk.com/app/3541/&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 25 Oct 2021 18:25:57 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Monitoring-Splunk/Used-reports-dashboards/m-p/572323#M8656</guid>
      <dc:creator>somesoni2</dc:creator>
      <dc:date>2021-10-25T18:25:57Z</dc:date>
    </item>
    <item>
      <title>Re: Used reports/dashboards</title>
      <link>https://community.splunk.com/t5/Monitoring-Splunk/Used-reports-dashboards/m-p/572330#M8657</link>
      <description>&lt;P&gt;Hmm... Seems useful. Will have to give it a try. Thanks.&lt;/P&gt;</description>
      <pubDate>Mon, 25 Oct 2021 20:10:03 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Monitoring-Splunk/Used-reports-dashboards/m-p/572330#M8657</guid>
      <dc:creator>PickleRick</dc:creator>
      <dc:date>2021-10-25T20:10:03Z</dc:date>
    </item>
  </channel>
</rss>

