<?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 Apps in All Apps and Add-ons</title>
    <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/Count-of-Apps/m-p/371702#M66278</link>
    <description>&lt;P&gt;Thank you!  Exactly what I was looking for.&lt;/P&gt;</description>
    <pubDate>Tue, 27 Jun 2017 16:54:22 GMT</pubDate>
    <dc:creator>sheltomt</dc:creator>
    <dc:date>2017-06-27T16:54:22Z</dc:date>
    <item>
      <title>Count of Apps</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/Count-of-Apps/m-p/371699#M66275</link>
      <description>&lt;P&gt;Upper management would like a count of all apps installed on our main Search Head.  They want a "how many right now" to compare against in the future.  My idea is to just make a then/now type report, haven't decided on visualization.&lt;/P&gt;

&lt;P&gt;I'm not finding anything on Google that would allow me to count apps on demand.&lt;/P&gt;

&lt;P&gt;Has anyone done this?&lt;/P&gt;</description>
      <pubDate>Mon, 26 Jun 2017 23:02:58 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/Count-of-Apps/m-p/371699#M66275</guid>
      <dc:creator>sheltomt</dc:creator>
      <dc:date>2017-06-26T23:02:58Z</dc:date>
    </item>
    <item>
      <title>Re: Count of Apps</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/Count-of-Apps/m-p/371700#M66276</link>
      <description>&lt;P&gt;You can do this via rest.  Try this first to get the list of apps:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;| rest /services/apps/local | table label version
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;If you want a count of all the apps:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;| rest /services/apps/local | stats count as numberofapps
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;If you just want enabled apps, you could use:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;| rest /services/apps/local | search disabled=0 | stats count as numberofapps
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Mon, 26 Jun 2017 23:57:24 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/Count-of-Apps/m-p/371700#M66276</guid>
      <dc:creator>kmorris_splunk</dc:creator>
      <dc:date>2017-06-26T23:57:24Z</dc:date>
    </item>
    <item>
      <title>Re: Count of Apps</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/Count-of-Apps/m-p/371701#M66277</link>
      <description>&lt;P&gt;Well - one of the problems is this: do you want to count disabled apps? Do you want to count the built-in apps? Do add-ons count?&lt;/P&gt;

&lt;P&gt;But if you just want to know how many apps are on your main search head, you can run this search:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;| rest /services/apps/local | fields label title visible disabled configured core | stats count by disabled
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;This example breaks out the disabled vs. enabled apps&lt;/P&gt;</description>
      <pubDate>Tue, 27 Jun 2017 00:05:15 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/Count-of-Apps/m-p/371701#M66277</guid>
      <dc:creator>lguinn2</dc:creator>
      <dc:date>2017-06-27T00:05:15Z</dc:date>
    </item>
    <item>
      <title>Re: Count of Apps</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/Count-of-Apps/m-p/371702#M66278</link>
      <description>&lt;P&gt;Thank you!  Exactly what I was looking for.&lt;/P&gt;</description>
      <pubDate>Tue, 27 Jun 2017 16:54:22 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/Count-of-Apps/m-p/371702#M66278</guid>
      <dc:creator>sheltomt</dc:creator>
      <dc:date>2017-06-27T16:54:22Z</dc:date>
    </item>
  </channel>
</rss>

