<?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: Searching/Listing down all Installed App Usage, to find how which is the least used app. in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/Searching-Listing-down-all-Installed-App-Usage-to-find-how-which/m-p/549792#M156033</link>
    <description>&lt;P&gt;hi&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/233971"&gt;@jawk339&lt;/a&gt;,&lt;BR /&gt;The below query will give you how many times the apps are accessed. One more thing before uninstalling the&amp;nbsp;&lt;SPAN&gt;least used apps you need to makes sure that the configurations (like web.conf, limits.conf, server.conf etc.) and knowledge objects (props.conf, macros.conf, transforms.conf, lookups etc.) in those apps are not used for anything.&lt;/SPAN&gt;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;index=_internal sourcetype="*access" 
    [| rest /services/apps/local 
    | where core=0 
    | fields title 
    | mvcombine delim=" OR " title 
    | return $title] 
| rex field=uri_path "servicesNS\/[^\/]+\/(?&amp;lt;app&amp;gt;[^\/]+)" 
| stats count by app 
| append 
    [| rest /services/apps/local 
    | where core=0 
    | table title 
    | rename title as app] 
| stats sum(count) as "Number of times used" by app 
| fillnull 
| sort -"Number of times used"&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If this reply helps you, a like would be appreciated.&lt;/P&gt;</description>
    <pubDate>Thu, 29 Apr 2021 09:42:38 GMT</pubDate>
    <dc:creator>manjunathmeti</dc:creator>
    <dc:date>2021-04-29T09:42:38Z</dc:date>
    <item>
      <title>Searching/Listing down all Installed App Usage, to find how which is the least used app.</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Searching-Listing-down-all-Installed-App-Usage-to-find-how-which/m-p/549765#M156015</link>
      <description>&lt;P&gt;Hey all!&lt;BR /&gt;&lt;BR /&gt;I am tasked to do some housekeeping and find out which installed apps are being used the least so that I can uninstall them.&lt;BR /&gt;Is there a search string I can use to list down all the apps to see which app is being used often or being used the least?&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;Best Regards,&lt;BR /&gt;jawk339&lt;/P&gt;</description>
      <pubDate>Thu, 29 Apr 2021 07:49:55 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Searching-Listing-down-all-Installed-App-Usage-to-find-how-which/m-p/549765#M156015</guid>
      <dc:creator>jawk339</dc:creator>
      <dc:date>2021-04-29T07:49:55Z</dc:date>
    </item>
    <item>
      <title>Re: Searching/Listing down all Installed App Usage, to find how which is the least used app.</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Searching-Listing-down-all-Installed-App-Usage-to-find-how-which/m-p/549792#M156033</link>
      <description>&lt;P&gt;hi&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/233971"&gt;@jawk339&lt;/a&gt;,&lt;BR /&gt;The below query will give you how many times the apps are accessed. One more thing before uninstalling the&amp;nbsp;&lt;SPAN&gt;least used apps you need to makes sure that the configurations (like web.conf, limits.conf, server.conf etc.) and knowledge objects (props.conf, macros.conf, transforms.conf, lookups etc.) in those apps are not used for anything.&lt;/SPAN&gt;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;index=_internal sourcetype="*access" 
    [| rest /services/apps/local 
    | where core=0 
    | fields title 
    | mvcombine delim=" OR " title 
    | return $title] 
| rex field=uri_path "servicesNS\/[^\/]+\/(?&amp;lt;app&amp;gt;[^\/]+)" 
| stats count by app 
| append 
    [| rest /services/apps/local 
    | where core=0 
    | table title 
    | rename title as app] 
| stats sum(count) as "Number of times used" by app 
| fillnull 
| sort -"Number of times used"&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If this reply helps you, a like would be appreciated.&lt;/P&gt;</description>
      <pubDate>Thu, 29 Apr 2021 09:42:38 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Searching-Listing-down-all-Installed-App-Usage-to-find-how-which/m-p/549792#M156033</guid>
      <dc:creator>manjunathmeti</dc:creator>
      <dc:date>2021-04-29T09:42:38Z</dc:date>
    </item>
    <item>
      <title>Re: Searching/Listing down all Installed App Usage, to find how which is the least used app.</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Searching-Listing-down-all-Installed-App-Usage-to-find-how-which/m-p/549797#M156037</link>
      <description>&lt;P&gt;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/129090"&gt;@manjunathmeti&lt;/a&gt;&amp;nbsp;&lt;BR /&gt;Thank you so much! That is exactly what I am looking for!! &lt;span class="lia-unicode-emoji" title=":grinning_face_with_smiling_eyes:"&gt;😄&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 29 Apr 2021 09:58:53 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Searching-Listing-down-all-Installed-App-Usage-to-find-how-which/m-p/549797#M156037</guid>
      <dc:creator>jawk339</dc:creator>
      <dc:date>2021-04-29T09:58:53Z</dc:date>
    </item>
  </channel>
</rss>

