<?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: How to get dashboard not accessed by anyone in splunk in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/How-to-get-dashboard-not-accessed-by-anyone-in-splunk/m-p/711437#M240168</link>
    <description>&lt;P&gt;Thank you for your response, but your query is providing list of dashboard accessed and i am looking for number of unused/not accessed by anyone.&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Thu, 13 Feb 2025 03:13:36 GMT</pubDate>
    <dc:creator>harishsplunk7</dc:creator>
    <dc:date>2025-02-13T03:13:36Z</dc:date>
    <item>
      <title>How to get dashboard not accessed by anyone in splunk</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-get-dashboard-not-accessed-by-anyone-in-splunk/m-p/711424#M240162</link>
      <description>&lt;P&gt;I am want to get the list of dashboard which is not used by anyone for more than 90 days. i have tired to use the below query but didnt work well.&amp;nbsp;&lt;/P&gt;&lt;P&gt;| rest splunk_server=local "/servicesNS/-/-/data/ui/views"&lt;BR /&gt;| rename title as dashboard&lt;BR /&gt;| fields dashboard&lt;/P&gt;&lt;P&gt;| eval accessed=0&lt;BR /&gt;| search NOT&lt;BR /&gt;[ search index=_internal sourcetype=splunkd_ui_access earliest=-90d@d&lt;BR /&gt;| rex field=uri "/app/[^/]+/(?&amp;lt;dashboard&amp;gt;[^?/\s]+)"&lt;BR /&gt;| search NOT dashboard IN ("search", "home", "alert", "lookup_edit", "@go", "data_lab", "dataset", "datasets", "alerts", "dashboards", "reports")&lt;BR /&gt;| stats count as accessed by dashboard&lt;BR /&gt;| fields dashboard, accessed&lt;BR /&gt;]&lt;BR /&gt;| stats sum(accessed) as total_accessed by dashboard&lt;BR /&gt;| where total_accessed=0&lt;BR /&gt;| table dashboard&lt;/P&gt;</description>
      <pubDate>Wed, 12 Feb 2025 23:23:06 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-get-dashboard-not-accessed-by-anyone-in-splunk/m-p/711424#M240162</guid>
      <dc:creator>harishsplunk7</dc:creator>
      <dc:date>2025-02-12T23:23:06Z</dc:date>
    </item>
    <item>
      <title>Re: How to get dashboard not accessed by anyone in splunk</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-get-dashboard-not-accessed-by-anyone-in-splunk/m-p/711434#M240166</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/259591"&gt;@harishsplunk7&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I dont think your search covers Dashboard Studio dashboards, only Simple XML dashboards (but could be wrong)&lt;BR /&gt;Have a go with the following search and let me know how you get on!&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;index=_internal sourcetype=splunkd_ui_access earliest=-90d@d uri="*/data/ui/views/*"
| rex field=uri "/servicesNS/(?&amp;lt;user&amp;gt;[^/]+)/(?&amp;lt;app&amp;gt;[^/]+)/data/ui/views/(?&amp;lt;dashboard&amp;gt;[^\.?/\s]+)" 
| search NOT dashboard IN ("search", "home", "alert", "lookup_edit", "@go", "data_lab", "dataset", "datasets", "alerts", "dashboards", "reports") 
| stats count as accessed by app, dashboard 
| append 
    [| rest splunk_server=local "/servicesNS/-/-/data/ui/views" 
    | rename title as dashboard, eai:acl.app as app
    | fields dashboard app
    | eval isDashboard=1]
    | stats sum(accessed) as accessed, values(isDashboard) as isDashboard by app, dashboard
    | search isDashboard=1 accessed&amp;gt;0&lt;/LI-CODE&gt;</description>
      <pubDate>Thu, 13 Feb 2025 00:17:52 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-get-dashboard-not-accessed-by-anyone-in-splunk/m-p/711434#M240166</guid>
      <dc:creator>livehybrid</dc:creator>
      <dc:date>2025-02-13T00:17:52Z</dc:date>
    </item>
    <item>
      <title>Re: How to get dashboard not accessed by anyone in splunk</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-get-dashboard-not-accessed-by-anyone-in-splunk/m-p/711437#M240168</link>
      <description>&lt;P&gt;Thank you for your response, but your query is providing list of dashboard accessed and i am looking for number of unused/not accessed by anyone.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 13 Feb 2025 03:13:36 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-get-dashboard-not-accessed-by-anyone-in-splunk/m-p/711437#M240168</guid>
      <dc:creator>harishsplunk7</dc:creator>
      <dc:date>2025-02-13T03:13:36Z</dc:date>
    </item>
    <item>
      <title>Re: How to get dashboard not accessed by anyone in splunk</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-get-dashboard-not-accessed-by-anyone-in-splunk/m-p/711472#M240173</link>
      <description>&lt;P&gt;Ahhh sorry&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/259591"&gt;@harishsplunk7&lt;/a&gt;&amp;nbsp;- I misread!&lt;/P&gt;&lt;P&gt;I've rearranged the query a bit now, how does this look?&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;| rest splunk_server=local "/servicesNS/-/-/data/ui/views" 
| rename title as dashboard, eai:acl.app as app 
| fields dashboard app 
| eval isDashboard=1 
| append 
    [ search index=_internal sourcetype=splunkd_ui_access earliest=-90d@d uri="*/data/ui/views/*" 
    | rex field=uri "/servicesNS/(?&amp;lt;user&amp;gt;[^/]+)/(?&amp;lt;app&amp;gt;[^/]+)/data/ui/views/(?&amp;lt;dashboard&amp;gt;[^\.?/\s]+)" 
    | search NOT dashboard IN ("search", "home", "alert", "lookup_edit", "@go", "data_lab", "dataset", "datasets", "alerts", "dashboards", "reports") 
    | stats count as accessed by app, dashboard ] 
| stats sum(accessed) as accessed, values(isDashboard) as isDashboard by app, dashboard
| fillnull accessed value=0
| search isDashboard=1 accessed=0&lt;/LI-CODE&gt;&lt;P&gt;Please let me know how you get on and consider accepting this answer or adding karma this answer if it has helped.&lt;BR /&gt;Regards&lt;/P&gt;&lt;P&gt;Will&lt;/P&gt;</description>
      <pubDate>Thu, 13 Feb 2025 08:47:26 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-get-dashboard-not-accessed-by-anyone-in-splunk/m-p/711472#M240173</guid>
      <dc:creator>livehybrid</dc:creator>
      <dc:date>2025-02-13T08:47:26Z</dc:date>
    </item>
  </channel>
</rss>

