<?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 Re: Is it possible to determine obsolete dashboards? in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/Is-it-possible-to-determine-obsolete-dashboards/m-p/743707#M241142</link>
    <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/309097"&gt;@python&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Did you try the SPL I gave on your previous post to look at dashboard usage in the last 60 days?&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;index=_audit provenance=* app=* info=completed earliest=-60d provenance!="N/A" app!="N/A" provenance!="UI:Search" provenance!="Scheduler" 
| eval provenance=replace(replace(provenance,"UI:Dashboard:",""),"UI:dashboard:","") 
| stats latest(user) as last_user, latest(_time) as latest_access, dc(search_id) as searches by provenance, app
| append 
    [| rest /servicesNS/-/-/data/ui/views splunk_server=local count=0 
    | fields eai:acl.app title name eai:acl.owner isVisible 
    | rename eai:acl.app as app, title as provenance, eai:acl.owner as owner ] 
| stats values(*) as * by provenance, app 
| where searches&amp;gt;1 
| eval latest_access_readble=strftime(latest_access,"%Y-%m-%d %H:%M:%S")&lt;/LI-CODE&gt;&lt;P&gt;I will work on the SPL you have provided to show completely unused dashboards in the selected time period.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-unicode-emoji" title=":glowing_star:"&gt;🌟&lt;/span&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;Did this answer help you?&lt;/STRONG&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;If so, please consider:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;Adding karma to show it was useful&lt;/LI&gt;&lt;LI&gt;Marking it as the solution if it resolved your issue&lt;/LI&gt;&lt;LI&gt;Commenting if you need any clarification&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;Your feedback encourages the volunteers in this community to continue contributing&lt;/P&gt;</description>
    <pubDate>Mon, 07 Apr 2025 18:07:36 GMT</pubDate>
    <dc:creator>livehybrid</dc:creator>
    <dc:date>2025-04-07T18:07:36Z</dc:date>
    <item>
      <title>Is it possible to determine obsolete dashboards?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Is-it-possible-to-determine-obsolete-dashboards/m-p/743701#M241137</link>
      <description>&lt;P&gt;Is it possible to identify obsolete dashboards? or the&amp;nbsp;&lt;SPAN&gt;last time a dashboard was executed?&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 07 Apr 2025 16:50:52 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Is-it-possible-to-determine-obsolete-dashboards/m-p/743701#M241137</guid>
      <dc:creator>python</dc:creator>
      <dc:date>2025-04-07T16:50:52Z</dc:date>
    </item>
    <item>
      <title>Re: Is it possible to determine obsolete dashboards?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Is-it-possible-to-determine-obsolete-dashboards/m-p/743702#M241138</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/309097"&gt;@python&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Check out this app&amp;nbsp;&lt;A href="https://splunkbase.splunk.com/app/7300" target="_blank" rel="noopener"&gt;https://splunkbase.splunk.com/app/7300 (Splunk app for Redundant or Inefficient Search Spotting)&lt;/A&gt;&lt;/P&gt;&lt;P&gt;This has dashboards for identifying things like unused dashboards and other knowledge objects.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="lia-unicode-emoji"&gt;&lt;SPAN class="lia-unicode-emoji"&gt;&lt;span class="lia-unicode-emoji" title=":glowing_star:"&gt;🌟&lt;/span&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;Did this answer help you?&lt;/STRONG&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;If so, please consider:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;Adding karma to show it was useful&lt;/LI&gt;&lt;LI&gt;Marking it as the solution if it resolved your issue&lt;/LI&gt;&lt;LI&gt;Commenting if you need any clarification&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;Your feedback encourages the volunteers in this community to continue contributing&lt;/P&gt;</description>
      <pubDate>Mon, 07 Apr 2025 16:57:27 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Is-it-possible-to-determine-obsolete-dashboards/m-p/743702#M241138</guid>
      <dc:creator>livehybrid</dc:creator>
      <dc:date>2025-04-07T16:57:27Z</dc:date>
    </item>
    <item>
      <title>Re: Is it possible to determine obsolete dashboards?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Is-it-possible-to-determine-obsolete-dashboards/m-p/743703#M241139</link>
      <description>&lt;P&gt;you can use this q uery as reference&amp;nbsp;| rest splunk_server=local /servicesNS/-/-/data/ui/views&lt;BR /&gt;| rename title AS "Dashboard Name", eai:acl.app AS Application, eai:acl.owner AS Owner, id as dashboard_id&lt;BR /&gt;| eval dashboard_name=replace(dashboard_id, ".*/data/ui/views/([^/]+)$", "\1")&lt;BR /&gt;| eval dashboard_name=urldecode(dashboard_name)&lt;BR /&gt;| fields "Dashboard Name", Application, Owner, dashboard_name&lt;BR /&gt;| join type=left dashboard_name&lt;BR /&gt;[ search index=_internal sourcetype IN ("splunk_web_service", "splunkd_access")&lt;BR /&gt;| rex "Rendering dashboard \\\"(?&amp;lt;rendered_dashboard&amp;gt;[^\"]+)"&lt;BR /&gt;| eval uri_decode = urldecode(uri)&lt;BR /&gt;| rex field=uri_decode "data/ui/views/(?&amp;lt;rendered_dashboard&amp;gt;[^$]+)$"&lt;BR /&gt;| search rendered_dashboard=* NOT rendered_dashboard="_new"&lt;BR /&gt;| transaction rendered_dashboard maxspan=2s&lt;BR /&gt;| stats last(_time) AS last_viewed_time BY rendered_dashboard&lt;BR /&gt;| eval dashboard_name=rendered_dashboard&lt;BR /&gt;| fields dashboard_name, last_viewed_time&lt;BR /&gt;]&lt;BR /&gt;| eval "Last Viewed Time"=if(isnull(last_viewed_time), "Never Viewed", strftime(last_viewed_time, "%m/%d/%Y %H:%M:%S"))&lt;BR /&gt;| table "Dashboard Name", Application, Owner, "Last Viewed Time"&lt;/P&gt;</description>
      <pubDate>Mon, 07 Apr 2025 17:15:15 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Is-it-possible-to-determine-obsolete-dashboards/m-p/743703#M241139</guid>
      <dc:creator>python</dc:creator>
      <dc:date>2025-04-07T17:15:15Z</dc:date>
    </item>
    <item>
      <title>Re: Is it possible to determine obsolete dashboards?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Is-it-possible-to-determine-obsolete-dashboards/m-p/743707#M241142</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/309097"&gt;@python&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Did you try the SPL I gave on your previous post to look at dashboard usage in the last 60 days?&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;index=_audit provenance=* app=* info=completed earliest=-60d provenance!="N/A" app!="N/A" provenance!="UI:Search" provenance!="Scheduler" 
| eval provenance=replace(replace(provenance,"UI:Dashboard:",""),"UI:dashboard:","") 
| stats latest(user) as last_user, latest(_time) as latest_access, dc(search_id) as searches by provenance, app
| append 
    [| rest /servicesNS/-/-/data/ui/views splunk_server=local count=0 
    | fields eai:acl.app title name eai:acl.owner isVisible 
    | rename eai:acl.app as app, title as provenance, eai:acl.owner as owner ] 
| stats values(*) as * by provenance, app 
| where searches&amp;gt;1 
| eval latest_access_readble=strftime(latest_access,"%Y-%m-%d %H:%M:%S")&lt;/LI-CODE&gt;&lt;P&gt;I will work on the SPL you have provided to show completely unused dashboards in the selected time period.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-unicode-emoji" title=":glowing_star:"&gt;🌟&lt;/span&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;Did this answer help you?&lt;/STRONG&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;If so, please consider:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;Adding karma to show it was useful&lt;/LI&gt;&lt;LI&gt;Marking it as the solution if it resolved your issue&lt;/LI&gt;&lt;LI&gt;Commenting if you need any clarification&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;Your feedback encourages the volunteers in this community to continue contributing&lt;/P&gt;</description>
      <pubDate>Mon, 07 Apr 2025 18:07:36 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Is-it-possible-to-determine-obsolete-dashboards/m-p/743707#M241142</guid>
      <dc:creator>livehybrid</dc:creator>
      <dc:date>2025-04-07T18:07:36Z</dc:date>
    </item>
    <item>
      <title>Re: Is it possible to determine obsolete dashboards?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Is-it-possible-to-determine-obsolete-dashboards/m-p/743708#M241143</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/309097"&gt;@python&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The following SPL search can used to determine the dashboards which have NOT been used in the last 60 days. There are multiple ways to achieve this however I've gone with the approach of using the _audit index which records the dashboard ID as "provenance" and matches it to the results of the ui/views rest endpoint to ensure we have a list of all dashboards.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;index=_audit info=completed action=search provenance!="N/A" provenance!="UI:Search" provenance!="scheduler" earliest=-60d latest=now
| stats count by provenance app 
| eval provenance=replace(replace(provenance,"UI:dashboard:",""),"UI:Dashboard:","")
| append 
    [| rest splunk_server=local /servicesNS/-/-/data/ui/views 
    | rename title AS provenance, eai:acl.app AS app] 
| stats sum(count) as search_count by provenance app 
| fillnull search_count value=0 
| where search_count=0&lt;/LI-CODE&gt;&lt;P&gt;&lt;span class="lia-unicode-emoji" title=":glowing_star:"&gt;🌟&lt;/span&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;Did this answer help you?&lt;/STRONG&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;If so, please consider:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;Adding karma to show it was useful&lt;/LI&gt;&lt;LI&gt;Marking it as the solution if it resolved your issue&lt;/LI&gt;&lt;LI&gt;Commenting if you need any clarification&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;Your feedback encourages the volunteers in this community to continue contributing&lt;/P&gt;</description>
      <pubDate>Mon, 07 Apr 2025 18:26:24 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Is-it-possible-to-determine-obsolete-dashboards/m-p/743708#M241143</guid>
      <dc:creator>livehybrid</dc:creator>
      <dc:date>2025-04-07T18:26:24Z</dc:date>
    </item>
  </channel>
</rss>

