<?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 top 10 data source from Splunk ? in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/How-to-get-top-10-data-source-from-Splunk/m-p/418040#M170807</link>
    <description>&lt;P&gt;Hi Kamlesh,&lt;/P&gt;

&lt;P&gt;Thank you for the immediate response.&lt;/P&gt;

&lt;P&gt;It worked with the above command. :):)&lt;/P&gt;</description>
    <pubDate>Tue, 11 Jun 2019 06:16:43 GMT</pubDate>
    <dc:creator>corecomputetool</dc:creator>
    <dc:date>2019-06-11T06:16:43Z</dc:date>
    <item>
      <title>How to get top 10 data source from Splunk ?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-get-top-10-data-source-from-Splunk/m-p/418035#M170802</link>
      <description>&lt;P&gt;is this command is correct ?&lt;/P&gt;

&lt;P&gt;** | chart count by sourcetype | sort count desc*&lt;/P&gt;</description>
      <pubDate>Tue, 11 Jun 2019 05:29:14 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-get-top-10-data-source-from-Splunk/m-p/418035#M170802</guid>
      <dc:creator>corecomputetool</dc:creator>
      <dc:date>2019-06-11T05:29:14Z</dc:date>
    </item>
    <item>
      <title>Re: How to get top 10 data source from Splunk ?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-get-top-10-data-source-from-Splunk/m-p/418036#M170803</link>
      <description>&lt;P&gt;@corecomputetools &lt;/P&gt;

&lt;P&gt;Have you tried  &lt;CODE&gt;limit&lt;/CODE&gt;?&lt;/P&gt;

&lt;P&gt;&lt;CODE&gt;| chart count by sourcetype | sort limit=10 -count&lt;/CODE&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 11 Jun 2019 05:44:45 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-get-top-10-data-source-from-Splunk/m-p/418036#M170803</guid>
      <dc:creator>kamlesh_vaghela</dc:creator>
      <dc:date>2019-06-11T05:44:45Z</dc:date>
    </item>
    <item>
      <title>Re: How to get top 10 data source from Splunk ?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-get-top-10-data-source-from-Splunk/m-p/418037#M170804</link>
      <description>&lt;P&gt;no, this limit=1denotes of ?&lt;/P&gt;</description>
      <pubDate>Tue, 11 Jun 2019 05:46:40 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-get-top-10-data-source-from-Splunk/m-p/418037#M170804</guid>
      <dc:creator>corecomputetool</dc:creator>
      <dc:date>2019-06-11T05:46:40Z</dc:date>
    </item>
    <item>
      <title>Re: How to get top 10 data source from Splunk ?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-get-top-10-data-source-from-Splunk/m-p/418038#M170805</link>
      <description>&lt;P&gt;&lt;CODE&gt;limit=10&lt;/CODE&gt; display top 10 values.&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;index=_internal | chart count by sourcetype | sort limit=10 -count
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Tue, 11 Jun 2019 05:54:04 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-get-top-10-data-source-from-Splunk/m-p/418038#M170805</guid>
      <dc:creator>kamlesh_vaghela</dc:creator>
      <dc:date>2019-06-11T05:54:04Z</dc:date>
    </item>
    <item>
      <title>Re: How to get top 10 data source from Splunk ?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-get-top-10-data-source-from-Splunk/m-p/418039#M170806</link>
      <description>&lt;P&gt;@corecomputetools,&lt;/P&gt;

&lt;P&gt;Please try below query ..   &lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt; index=* | chart count by sourcetype | sort limit=10 -count

index=* | chart count by sourcetype | sort -count | head 10
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Thanks.. &lt;/P&gt;</description>
      <pubDate>Tue, 11 Jun 2019 06:14:14 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-get-top-10-data-source-from-Splunk/m-p/418039#M170806</guid>
      <dc:creator>Shan</dc:creator>
      <dc:date>2019-06-11T06:14:14Z</dc:date>
    </item>
    <item>
      <title>Re: How to get top 10 data source from Splunk ?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-get-top-10-data-source-from-Splunk/m-p/418040#M170807</link>
      <description>&lt;P&gt;Hi Kamlesh,&lt;/P&gt;

&lt;P&gt;Thank you for the immediate response.&lt;/P&gt;

&lt;P&gt;It worked with the above command. :):)&lt;/P&gt;</description>
      <pubDate>Tue, 11 Jun 2019 06:16:43 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-get-top-10-data-source-from-Splunk/m-p/418040#M170807</guid>
      <dc:creator>corecomputetool</dc:creator>
      <dc:date>2019-06-11T06:16:43Z</dc:date>
    </item>
    <item>
      <title>Re: How to get top 10 data source from Splunk ?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-get-top-10-data-source-from-Splunk/m-p/418041#M170808</link>
      <description>&lt;P&gt;Thank you !! &lt;/P&gt;</description>
      <pubDate>Tue, 11 Jun 2019 06:20:54 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-get-top-10-data-source-from-Splunk/m-p/418041#M170808</guid>
      <dc:creator>corecomputetool</dc:creator>
      <dc:date>2019-06-11T06:20:54Z</dc:date>
    </item>
    <item>
      <title>Re: How to get top 10 data source from Splunk ?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-get-top-10-data-source-from-Splunk/m-p/418042#M170809</link>
      <description>&lt;P&gt;Hi @corecomputetools,&lt;/P&gt;

&lt;P&gt;Use the following for getting the list of top indexes : &lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;|tstats count where index=* by index | sort limit=10 -count
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;For index and sourcetype:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;|tstats count where index=* by index,sourcetype | sort limit=10 count
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;PS: Avoid using &lt;CODE&gt;index=*&lt;/CODE&gt; as it will run very slow and consume resources for nothing.&lt;/P&gt;

&lt;P&gt;Cheers,&lt;BR /&gt;
David&lt;/P&gt;</description>
      <pubDate>Tue, 11 Jun 2019 06:21:37 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-get-top-10-data-source-from-Splunk/m-p/418042#M170809</guid>
      <dc:creator>DavidHourani</dc:creator>
      <dc:date>2019-06-11T06:21:37Z</dc:date>
    </item>
    <item>
      <title>Re: How to get top 10 data source from Splunk ?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-get-top-10-data-source-from-Splunk/m-p/418043#M170810</link>
      <description>&lt;P&gt;Thanks for the update.&lt;/P&gt;</description>
      <pubDate>Tue, 11 Jun 2019 06:26:14 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-get-top-10-data-source-from-Splunk/m-p/418043#M170810</guid>
      <dc:creator>corecomputetool</dc:creator>
      <dc:date>2019-06-11T06:26:14Z</dc:date>
    </item>
    <item>
      <title>Re: How to get top 10 data source from Splunk ?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-get-top-10-data-source-from-Splunk/m-p/418044#M170811</link>
      <description>&lt;P&gt;@corecomputetools&lt;/P&gt;

&lt;P&gt;Glad to help you. Please upvote any comments which help you.&lt;/P&gt;

&lt;P&gt;&lt;STRONG&gt;Happy Splunking&lt;/STRONG&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 11 Jun 2019 06:27:18 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-get-top-10-data-source-from-Splunk/m-p/418044#M170811</guid>
      <dc:creator>kamlesh_vaghela</dc:creator>
      <dc:date>2019-06-11T06:27:18Z</dc:date>
    </item>
    <item>
      <title>Re: How to get top 10 data source from Splunk ?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-get-top-10-data-source-from-Splunk/m-p/418045#M170812</link>
      <description>&lt;P&gt;Most welcome, use the &lt;CODE&gt;tstats&lt;/CODE&gt; when trying to access metadata and display a count by index, host or even sourcetype. Let me know if you're getting faster results with this search &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 11 Jun 2019 06:34:30 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-get-top-10-data-source-from-Splunk/m-p/418045#M170812</guid>
      <dc:creator>DavidHourani</dc:creator>
      <dc:date>2019-06-11T06:34:30Z</dc:date>
    </item>
  </channel>
</rss>

