<?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 using a different time base on timechart in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/using-a-different-time-base-on-timechart/m-p/102296#M26422</link>
    <description>&lt;P&gt;I would like to use a different field than _time as my time base for timechart.&lt;/P&gt;

&lt;P&gt;I build a stats table, and in it I use "max(_time) as EndTime", after this point, I lose the value of _time and cannot use timechart.  If I use chart, then the missing times get squashed out.  What I would like to do, is after the stats command, use timechart with a the new compute "_time".&lt;/P&gt;</description>
    <pubDate>Fri, 10 Dec 2010 01:24:19 GMT</pubDate>
    <dc:creator>fk319</dc:creator>
    <dc:date>2010-12-10T01:24:19Z</dc:date>
    <item>
      <title>using a different time base on timechart</title>
      <link>https://community.splunk.com/t5/Splunk-Search/using-a-different-time-base-on-timechart/m-p/102296#M26422</link>
      <description>&lt;P&gt;I would like to use a different field than _time as my time base for timechart.&lt;/P&gt;

&lt;P&gt;I build a stats table, and in it I use "max(_time) as EndTime", after this point, I lose the value of _time and cannot use timechart.  If I use chart, then the missing times get squashed out.  What I would like to do, is after the stats command, use timechart with a the new compute "_time".&lt;/P&gt;</description>
      <pubDate>Fri, 10 Dec 2010 01:24:19 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/using-a-different-time-base-on-timechart/m-p/102296#M26422</guid>
      <dc:creator>fk319</dc:creator>
      <dc:date>2010-12-10T01:24:19Z</dc:date>
    </item>
    <item>
      <title>Re: using a different time base on timechart</title>
      <link>https://community.splunk.com/t5/Splunk-Search/using-a-different-time-base-on-timechart/m-p/102297#M26423</link>
      <description>&lt;P&gt;Just don't use &lt;CODE&gt;timechart&lt;/CODE&gt; and use &lt;CODE&gt;chart&lt;/CODE&gt; instead. &lt;CODE&gt;timechart f(x) by y&lt;/CODE&gt; is basically the same as &lt;CODE&gt;chart f(x) by _time,y&lt;/CODE&gt;, so just use that with a different field instead of &lt;CODE&gt;_time&lt;/CODE&gt;. And generally&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;... | timechart span=s f(x) by y
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;is the same as&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;... | chart f(x) _time span=s, y
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Alternatively, you could just use &lt;CODE&gt;max(_time) as _time&lt;/CODE&gt; in your query.&lt;/P&gt;</description>
      <pubDate>Fri, 10 Dec 2010 03:10:41 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/using-a-different-time-base-on-timechart/m-p/102297#M26423</guid>
      <dc:creator>gkanapathy</dc:creator>
      <dc:date>2010-12-10T03:10:41Z</dc:date>
    </item>
    <item>
      <title>Re: using a different time base on timechart</title>
      <link>https://community.splunk.com/t5/Splunk-Search/using-a-different-time-base-on-timechart/m-p/102298#M26424</link>
      <description>&lt;P&gt;Chart does not fill in the empty '_time' values, so the holes in the data gets dropped out and the data is squashed.&lt;/P&gt;</description>
      <pubDate>Sat, 11 Dec 2010 00:33:23 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/using-a-different-time-base-on-timechart/m-p/102298#M26424</guid>
      <dc:creator>fk319</dc:creator>
      <dc:date>2010-12-11T00:33:23Z</dc:date>
    </item>
    <item>
      <title>Re: using a different time base on timechart</title>
      <link>https://community.splunk.com/t5/Splunk-Search/using-a-different-time-base-on-timechart/m-p/102299#M26425</link>
      <description>&lt;P&gt;Use the &lt;CODE&gt;makecontinuous&lt;/CODE&gt; command on the field before piping to &lt;CODE&gt;chart&lt;/CODE&gt;&lt;/P&gt;</description>
      <pubDate>Sat, 11 Dec 2010 02:52:14 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/using-a-different-time-base-on-timechart/m-p/102299#M26425</guid>
      <dc:creator>gkanapathy</dc:creator>
      <dc:date>2010-12-11T02:52:14Z</dc:date>
    </item>
  </channel>
</rss>

