<?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 tstats index aggregation in Splunk Dev</title>
    <link>https://community.splunk.com/t5/Splunk-Dev/tstats-index-aggregation/m-p/518115#M9250</link>
    <description>&lt;P class="lia-align-left"&gt;Hi,&lt;/P&gt;&lt;P class="lia-align-left"&gt;I have a host.csv, with 20K+ hosts in it.&lt;/P&gt;&lt;P class="lia-align-left"&gt;I am expecting values(index) by host.&lt;/P&gt;&lt;P class="lia-align-left"&gt;But tstats gives error for the below command.&lt;/P&gt;&lt;P class="lia-align-left"&gt;&lt;STRONG&gt;| tstats values(index) where index=* [| inputlookup eft_hosts2.csv |&amp;nbsp;format ] by host&amp;nbsp;&lt;/STRONG&gt;&lt;/P&gt;&lt;P class="lia-align-left"&gt;I get below error.&lt;/P&gt;&lt;P class="lia-align-left"&gt;&lt;STRONG&gt;Error in 'TsidxStats': Aggregations are not supported for index, splunk_server and splunk_server_group&lt;/STRONG&gt;&lt;/P&gt;&lt;P class="lia-align-left"&gt;&amp;nbsp;&lt;/P&gt;&lt;P class="lia-align-left"&gt;&lt;SPAN&gt;I do not want to use the stats command as shown below, becasue it will never complete and very performance intensive.&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="lia-align-left"&gt;&lt;SPAN&gt;index=* [| inputlookup eft_hosts2.csv |&amp;nbsp;format ]&amp;nbsp; | stats values(index) by host&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="lia-align-left"&gt;is there any other command that can search meta files and do index aggregation per host?&lt;/P&gt;</description>
    <pubDate>Sun, 06 Sep 2020 16:56:56 GMT</pubDate>
    <dc:creator>vamsigurram</dc:creator>
    <dc:date>2020-09-06T16:56:56Z</dc:date>
    <item>
      <title>tstats index aggregation</title>
      <link>https://community.splunk.com/t5/Splunk-Dev/tstats-index-aggregation/m-p/518115#M9250</link>
      <description>&lt;P class="lia-align-left"&gt;Hi,&lt;/P&gt;&lt;P class="lia-align-left"&gt;I have a host.csv, with 20K+ hosts in it.&lt;/P&gt;&lt;P class="lia-align-left"&gt;I am expecting values(index) by host.&lt;/P&gt;&lt;P class="lia-align-left"&gt;But tstats gives error for the below command.&lt;/P&gt;&lt;P class="lia-align-left"&gt;&lt;STRONG&gt;| tstats values(index) where index=* [| inputlookup eft_hosts2.csv |&amp;nbsp;format ] by host&amp;nbsp;&lt;/STRONG&gt;&lt;/P&gt;&lt;P class="lia-align-left"&gt;I get below error.&lt;/P&gt;&lt;P class="lia-align-left"&gt;&lt;STRONG&gt;Error in 'TsidxStats': Aggregations are not supported for index, splunk_server and splunk_server_group&lt;/STRONG&gt;&lt;/P&gt;&lt;P class="lia-align-left"&gt;&amp;nbsp;&lt;/P&gt;&lt;P class="lia-align-left"&gt;&lt;SPAN&gt;I do not want to use the stats command as shown below, becasue it will never complete and very performance intensive.&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="lia-align-left"&gt;&lt;SPAN&gt;index=* [| inputlookup eft_hosts2.csv |&amp;nbsp;format ]&amp;nbsp; | stats values(index) by host&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="lia-align-left"&gt;is there any other command that can search meta files and do index aggregation per host?&lt;/P&gt;</description>
      <pubDate>Sun, 06 Sep 2020 16:56:56 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Dev/tstats-index-aggregation/m-p/518115#M9250</guid>
      <dc:creator>vamsigurram</dc:creator>
      <dc:date>2020-09-06T16:56:56Z</dc:date>
    </item>
    <item>
      <title>Re: tstats index aggregation</title>
      <link>https://community.splunk.com/t5/Splunk-Dev/tstats-index-aggregation/m-p/518139#M9251</link>
      <description>&lt;P&gt;Does this help ?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;|  tstats count  where index="*" [| inputlookup eft_hosts2.csv | format ]  by host,index|stats values(index) by host&lt;/LI-CODE&gt;</description>
      <pubDate>Mon, 07 Sep 2020 03:37:16 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Dev/tstats-index-aggregation/m-p/518139#M9251</guid>
      <dc:creator>renjith_nair</dc:creator>
      <dc:date>2020-09-07T03:37:16Z</dc:date>
    </item>
  </channel>
</rss>

