<?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: Can I with one search, graph two different time chart spans? in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/Can-I-with-one-search-graph-two-different-time-chart-spans/m-p/227040#M67004</link>
    <description>&lt;P&gt;Try like this&lt;BR /&gt;
&lt;STRONG&gt;Update- Fixed typo in the timechart/appendpipe subsearch, updated fieldname&lt;/STRONG&gt;&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;your base search | timechart span=1h count as count_h | appendpipe [ | timechart span=1d sum(count_h) as count_d] | sort 0 _time
&lt;/CODE&gt;&lt;/PRE&gt;</description>
    <pubDate>Fri, 30 Sep 2016 21:58:25 GMT</pubDate>
    <dc:creator>somesoni2</dc:creator>
    <dc:date>2016-09-30T21:58:25Z</dc:date>
    <item>
      <title>Can I with one search, graph two different time chart spans?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Can-I-with-one-search-graph-two-different-time-chart-spans/m-p/227039#M67003</link>
      <description>&lt;P&gt;I have a simple search &lt;STRONG&gt;only to count the events per timelapse&lt;/STRONG&gt;.&lt;/P&gt;

&lt;P&gt;I am trying to graph that in only one graph with two time spans: day and hour&lt;/P&gt;

&lt;P&gt;I am using for separated &lt;/P&gt;

&lt;P&gt;&lt;EM&gt;"...|  timechart count span=1d"&lt;BR /&gt;
"...|  timechart count span=1h"&lt;/EM&gt;&lt;/P&gt;

&lt;P&gt;Can I join i one sentence a graph that?&lt;/P&gt;</description>
      <pubDate>Fri, 30 Sep 2016 21:51:33 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Can-I-with-one-search-graph-two-different-time-chart-spans/m-p/227039#M67003</guid>
      <dc:creator>omarlira</dc:creator>
      <dc:date>2016-09-30T21:51:33Z</dc:date>
    </item>
    <item>
      <title>Re: Can I with one search, graph two different time chart spans?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Can-I-with-one-search-graph-two-different-time-chart-spans/m-p/227040#M67004</link>
      <description>&lt;P&gt;Try like this&lt;BR /&gt;
&lt;STRONG&gt;Update- Fixed typo in the timechart/appendpipe subsearch, updated fieldname&lt;/STRONG&gt;&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;your base search | timechart span=1h count as count_h | appendpipe [ | timechart span=1d sum(count_h) as count_d] | sort 0 _time
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Fri, 30 Sep 2016 21:58:25 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Can-I-with-one-search-graph-two-different-time-chart-spans/m-p/227040#M67004</guid>
      <dc:creator>somesoni2</dc:creator>
      <dc:date>2016-09-30T21:58:25Z</dc:date>
    </item>
    <item>
      <title>Re: Can I with one search, graph two different time chart spans?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Can-I-with-one-search-graph-two-different-time-chart-spans/m-p/227041#M67005</link>
      <description>&lt;P&gt;Nope&lt;/P&gt;

&lt;P&gt;&lt;EM&gt;Error in 'timechart' command: The specifier 'count_h' is invalid. It must be in form (). For example: max(size).&lt;BR /&gt;
The search job has failed due to an error. You may be able view the job in the Job Inspector.&lt;/EM&gt;&lt;/P&gt;

&lt;P&gt;&lt;span class="lia-unicode-emoji" title=":confused_face:"&gt;😕&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 30 Sep 2016 22:05:35 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Can-I-with-one-search-graph-two-different-time-chart-spans/m-p/227041#M67005</guid>
      <dc:creator>omarlira</dc:creator>
      <dc:date>2016-09-30T22:05:35Z</dc:date>
    </item>
    <item>
      <title>Re: Can I with one search, graph two different time chart spans?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Can-I-with-one-search-graph-two-different-time-chart-spans/m-p/227042#M67006</link>
      <description>&lt;P&gt;not yet...&lt;/P&gt;</description>
      <pubDate>Fri, 30 Sep 2016 22:05:53 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Can-I-with-one-search-graph-two-different-time-chart-spans/m-p/227042#M67006</guid>
      <dc:creator>omarlira</dc:creator>
      <dc:date>2016-09-30T22:05:53Z</dc:date>
    </item>
    <item>
      <title>Re: Can I with one search, graph two different time chart spans?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Can-I-with-one-search-graph-two-different-time-chart-spans/m-p/227043#M67007</link>
      <description>&lt;P&gt;Look that:&lt;/P&gt;

&lt;P&gt;&lt;EM&gt;"... |  timechart span=1h count | appendpipe [ | timechart span=1d sum(count) as count_d] | sort 0 _time"&lt;/EM&gt;&lt;/P&gt;

&lt;P&gt;works fine.&lt;/P&gt;

&lt;P&gt;Thanks a lot man!&lt;/P&gt;</description>
      <pubDate>Fri, 30 Sep 2016 22:11:32 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Can-I-with-one-search-graph-two-different-time-chart-spans/m-p/227043#M67007</guid>
      <dc:creator>omarlira</dc:creator>
      <dc:date>2016-09-30T22:11:32Z</dc:date>
    </item>
    <item>
      <title>Re: Can I with one search, graph two different time chart spans?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Can-I-with-one-search-graph-two-different-time-chart-spans/m-p/227044#M67008</link>
      <description>&lt;P&gt;The &lt;CODE&gt;timechart&lt;/CODE&gt; command is missing an alias. Try this&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt; your base search | timechart span=1h AS count_h | appendpipe [ | timechart span=1d sum(count) as count_d] | sort 0 _time
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Fri, 30 Sep 2016 22:19:09 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Can-I-with-one-search-graph-two-different-time-chart-spans/m-p/227044#M67008</guid>
      <dc:creator>sundareshr</dc:creator>
      <dc:date>2016-09-30T22:19:09Z</dc:date>
    </item>
  </channel>
</rss>

