<?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: Count of Dashboards? in Dashboards &amp; Visualizations</title>
    <link>https://community.splunk.com/t5/Dashboards-Visualizations/Count-of-Dashboards/m-p/372597#M39288</link>
    <description>&lt;P&gt;Assuming you want to user created dashboards, give this try:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt; | rest /servicesNS/-/-/data/ui/views splunk_server=local | search eai:acl.can_share_user=1 | stats count
&lt;/CODE&gt;&lt;/PRE&gt;</description>
    <pubDate>Tue, 27 Jun 2017 19:10:39 GMT</pubDate>
    <dc:creator>somesoni2</dc:creator>
    <dc:date>2017-06-27T19:10:39Z</dc:date>
    <item>
      <title>Count of Dashboards?</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Count-of-Dashboards/m-p/372591#M39282</link>
      <description>&lt;P&gt;I have a request from Execs to get an overview.  I’m looking to get a total count of dashboards.  I’m using:&lt;/P&gt;

&lt;P&gt;| rest /servicesNS/-/-/data/ui/views|search isDashboard=1|stats count(isDashboard)&lt;/P&gt;

&lt;P&gt;The isDashboard field does indeed say 1 on all of these, but the count seems really high&lt;/P&gt;

&lt;P&gt;Is there a better way of doing this?&lt;/P&gt;</description>
      <pubDate>Tue, 27 Jun 2017 18:05:48 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Count-of-Dashboards/m-p/372591#M39282</guid>
      <dc:creator>sheltomt</dc:creator>
      <dc:date>2017-06-27T18:05:48Z</dc:date>
    </item>
    <item>
      <title>Re: Count of Dashboards?</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Count-of-Dashboards/m-p/372592#M39283</link>
      <description>&lt;P&gt;seems accurate,&lt;BR /&gt;
try this split and then look for a sample app and verify the amount of dashboards if you'd like:&lt;BR /&gt;
| rest /servicesNS/-/-/data/ui/views|search isDashboard=1 | stats count by eai:acl.app | addcoltotals&lt;BR /&gt;
hope it helpl&lt;/P&gt;</description>
      <pubDate>Tue, 27 Jun 2017 18:43:18 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Count-of-Dashboards/m-p/372592#M39283</guid>
      <dc:creator>adonio</dc:creator>
      <dc:date>2017-06-27T18:43:18Z</dc:date>
    </item>
    <item>
      <title>Re: Count of Dashboards?</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Count-of-Dashboards/m-p/372593#M39284</link>
      <description>&lt;P&gt;You should search specific to your Splunk App Name&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;| rest /servicesNS/-/-/data/ui/views
| search eai:appName="&amp;lt;YourSplunkAppName&amp;gt;" eai:type="view" disabled=0 isDashboard=1 
| stats count by title
| addcoltotals labelfield=title
| reverse
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Go through a list of existing Dashboard Names listed under &lt;STRONG&gt;title&lt;/STRONG&gt; column to ensure unwanted dashboard like &lt;STRONG&gt;Clone&lt;/STRONG&gt;, or any other duplicate/unused/work in progress dashboards are not listed. Also validate to ensure that existing dashboard is not missing from the list or else &lt;STRONG&gt;search&lt;/STRONG&gt; filter in second pipe would need to be adjusted.&lt;/P&gt;</description>
      <pubDate>Tue, 27 Jun 2017 18:45:05 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Count-of-Dashboards/m-p/372593#M39284</guid>
      <dc:creator>niketn</dc:creator>
      <dc:date>2017-06-27T18:45:05Z</dc:date>
    </item>
    <item>
      <title>Re: Count of Dashboards?</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Count-of-Dashboards/m-p/372594#M39285</link>
      <description>&lt;P&gt;Hi sheltomt, &lt;/P&gt;

&lt;P&gt;Below search will gives you all dashboards across applications in your environment&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;| rest /servicesNS/-/-/data/ui/views  |search isDashboard=1 | table isDashboard eai:acl.owner, label, title, author, id eai:acl.app disabled
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Use the below search to identify dashboard counts by application name, &lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;| rest /servicesNS/-/-/data/ui/views  |search isDashboard=1 | table isDashboard eai:acl.owner, label, title, author, id eai:acl.app disabled | stats dc(id) as count by  eai:acl.app | addcoltotals
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;you can filter the required applications along with the isDashboard=1. &lt;/P&gt;

&lt;P&gt;Hope this will helps you. &lt;/P&gt;</description>
      <pubDate>Tue, 27 Jun 2017 18:45:53 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Count-of-Dashboards/m-p/372594#M39285</guid>
      <dc:creator>vasanthmss</dc:creator>
      <dc:date>2017-06-27T18:45:53Z</dc:date>
    </item>
    <item>
      <title>Re: Count of Dashboards?</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Count-of-Dashboards/m-p/372595#M39286</link>
      <description>&lt;P&gt;I can't do it by app like that, I need a full total across all apps.&lt;/P&gt;</description>
      <pubDate>Tue, 27 Jun 2017 18:48:24 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Count-of-Dashboards/m-p/372595#M39286</guid>
      <dc:creator>sheltomt</dc:creator>
      <dc:date>2017-06-27T18:48:24Z</dc:date>
    </item>
    <item>
      <title>Re: Count of Dashboards?</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Count-of-Dashboards/m-p/372596#M39287</link>
      <description>&lt;P&gt;I get what you're doing with the breakout.&lt;/P&gt;

&lt;P&gt;However, is this the ACTUAL count of dashboards?  Or are there items in the system that identify as isDashboard=1 that aren't really full Dashboards?  Like, do panels count?  Reports?&lt;/P&gt;</description>
      <pubDate>Tue, 27 Jun 2017 18:58:54 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Count-of-Dashboards/m-p/372596#M39287</guid>
      <dc:creator>sheltomt</dc:creator>
      <dc:date>2017-06-27T18:58:54Z</dc:date>
    </item>
    <item>
      <title>Re: Count of Dashboards?</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Count-of-Dashboards/m-p/372597#M39288</link>
      <description>&lt;P&gt;Assuming you want to user created dashboards, give this try:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt; | rest /servicesNS/-/-/data/ui/views splunk_server=local | search eai:acl.can_share_user=1 | stats count
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Tue, 27 Jun 2017 19:10:39 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Count-of-Dashboards/m-p/372597#M39288</guid>
      <dc:creator>somesoni2</dc:creator>
      <dc:date>2017-06-27T19:10:39Z</dc:date>
    </item>
    <item>
      <title>Re: Count of Dashboards?</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Count-of-Dashboards/m-p/372598#M39289</link>
      <description>&lt;P&gt;yes. that's the actual dashboards. isDashboard=1 will gives you the forms &amp;amp; dashboards. forms - dashboards with inputs (filters like timefilter or other custom inputs). other than that isDashboard=0 will gives you the System level views like search and reports, dashboard view (list of dashboards) etc. &lt;/P&gt;

&lt;P&gt;"eai:data" will gives you the xml. you can validate based on your apps. &lt;BR /&gt;
    | rest /servicesNS/-/-/data/ui/views  |search isDashboard=1 | table isDashboard eai:acl.owner, label, title, author, id eai:acl.app disabled eai:data&lt;/P&gt;</description>
      <pubDate>Tue, 27 Jun 2017 20:55:12 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Count-of-Dashboards/m-p/372598#M39289</guid>
      <dc:creator>vasanthmss</dc:creator>
      <dc:date>2017-06-27T20:55:12Z</dc:date>
    </item>
    <item>
      <title>Re: Count of Dashboards?</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Count-of-Dashboards/m-p/372599#M39290</link>
      <description>&lt;P&gt;Ok then take out eai:appName filter. However, this will not include panels or searches, there are separate rest calls for them.&lt;/P&gt;

&lt;P&gt;You can also check out &lt;STRONG&gt;rootNode&lt;/STRONG&gt; which should be &lt;STRONG&gt;dashboard&lt;/STRONG&gt; and &lt;STRONG&gt;form&lt;/STRONG&gt; for these.&lt;/P&gt;</description>
      <pubDate>Tue, 27 Jun 2017 20:55:59 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Count-of-Dashboards/m-p/372599#M39290</guid>
      <dc:creator>niketn</dc:creator>
      <dc:date>2017-06-27T20:55:59Z</dc:date>
    </item>
    <item>
      <title>Re: Count of Dashboards?</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Count-of-Dashboards/m-p/372600#M39291</link>
      <description>&lt;P&gt;search eai:acl.can_share_user=1 is what does it for me.  Exactly what I need, thank you!&lt;/P&gt;</description>
      <pubDate>Tue, 29 Sep 2020 14:35:57 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Count-of-Dashboards/m-p/372600#M39291</guid>
      <dc:creator>sheltomt</dc:creator>
      <dc:date>2020-09-29T14:35:57Z</dc:date>
    </item>
    <item>
      <title>Re: Count of Dashboards?</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Count-of-Dashboards/m-p/372601#M39292</link>
      <description>&lt;P&gt;Thank you so much&lt;/P&gt;</description>
      <pubDate>Tue, 29 Jan 2019 18:16:47 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Count-of-Dashboards/m-p/372601#M39292</guid>
      <dc:creator>rutdesanti</dc:creator>
      <dc:date>2019-01-29T18:16:47Z</dc:date>
    </item>
    <item>
      <title>Re: Count of Dashboards?</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Count-of-Dashboards/m-p/551228#M39293</link>
      <description>&lt;P&gt;Hello,&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I need to know the usage of each dashboards with in the Splunk.&amp;nbsp;&lt;BR /&gt;Can you please help me with the query.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;Intension is to know most used dashboards and plan is to remove which are not been used.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you in advance.&lt;/P&gt;</description>
      <pubDate>Tue, 11 May 2021 11:56:44 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Count-of-Dashboards/m-p/551228#M39293</guid>
      <dc:creator>bhatganapatik</dc:creator>
      <dc:date>2021-05-11T11:56:44Z</dc:date>
    </item>
  </channel>
</rss>

