<?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 tstat and timechart in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/tstat-and-timechart/m-p/95281#M182455</link>
    <description>&lt;P&gt;tscollect was leveraged to put data into time series index files.  I am able to use tstat to calculate statistics.  How would I go about leveraging timechart with tstat?&lt;/P&gt;

&lt;P&gt;Here is what I want to work:&lt;BR /&gt;
| tstats prestats=t field1, field2, field3 FROM my_ns | timechart avg(field1) by field2&lt;/P&gt;

&lt;P&gt;What am I missing?&lt;/P&gt;

&lt;P&gt;Thanks,&lt;BR /&gt;
Joe&lt;/P&gt;</description>
    <pubDate>Mon, 15 Apr 2013 21:27:59 GMT</pubDate>
    <dc:creator>rizzo75</dc:creator>
    <dc:date>2013-04-15T21:27:59Z</dc:date>
    <item>
      <title>tstat and timechart</title>
      <link>https://community.splunk.com/t5/Splunk-Search/tstat-and-timechart/m-p/95281#M182455</link>
      <description>&lt;P&gt;tscollect was leveraged to put data into time series index files.  I am able to use tstat to calculate statistics.  How would I go about leveraging timechart with tstat?&lt;/P&gt;

&lt;P&gt;Here is what I want to work:&lt;BR /&gt;
| tstats prestats=t field1, field2, field3 FROM my_ns | timechart avg(field1) by field2&lt;/P&gt;

&lt;P&gt;What am I missing?&lt;/P&gt;

&lt;P&gt;Thanks,&lt;BR /&gt;
Joe&lt;/P&gt;</description>
      <pubDate>Mon, 15 Apr 2013 21:27:59 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/tstat-and-timechart/m-p/95281#M182455</guid>
      <dc:creator>rizzo75</dc:creator>
      <dc:date>2013-04-15T21:27:59Z</dc:date>
    </item>
    <item>
      <title>Re: tstat and timechart</title>
      <link>https://community.splunk.com/t5/Splunk-Search/tstat-and-timechart/m-p/95282#M182456</link>
      <description>&lt;P&gt;Joe,&lt;BR /&gt;
Try using this:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;| tstats prestats=t count as count FROM my_ns groupby field1,field2,field3,_time | timechart avg(field1) as field1_avg by field2
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Tue, 16 Apr 2013 18:49:19 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/tstat-and-timechart/m-p/95282#M182456</guid>
      <dc:creator>Lamar</dc:creator>
      <dc:date>2013-04-16T18:49:19Z</dc:date>
    </item>
  </channel>
</rss>

