<?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: Timechart vs chart behaviour in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/Timechart-vs-chart-behaviour/m-p/511354#M143302</link>
    <description>&lt;P&gt;Upvoted already.&lt;/P&gt;</description>
    <pubDate>Tue, 28 Jul 2020 14:19:10 GMT</pubDate>
    <dc:creator>ghildiya</dc:creator>
    <dc:date>2020-07-28T14:19:10Z</dc:date>
    <item>
      <title>Timechart vs chart behaviour</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Timechart-vs-chart-behaviour/m-p/511308#M143291</link>
      <description>&lt;P&gt;When I run following query:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;.... | bin _time span=5m | timechart  avg(responseTime)&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;(responseTime is an extracted field)&lt;/P&gt;&lt;P&gt;What I understand of this query is this:&lt;/P&gt;&lt;P&gt;Divide timeline in a series of buckets of 5 minutes duration each, find average of responseTime&amp;nbsp; for each such bucket and plot the graph(average of responsetime as Y axis, for timechart X axis is always time).&lt;/P&gt;&lt;P&gt;I see graph as:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="timechart.PNG" style="width: 999px;"&gt;&lt;img src="https://community.splunk.com/t5/image/serverpage/image-id/9905iD636D0F50ED20ACE/image-size/large?v=v2&amp;amp;px=999" role="button" title="timechart.PNG" alt="timechart.PNG" /&gt;&lt;/span&gt;So I see graph is not continuous, as there may be time slots when there is no record and hence no data point.&lt;/P&gt;&lt;P&gt;Now, if I change my query to:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;.... | bin _time span=5m | chart  avg(responseTime) by _time&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;My understanding is that this query should behave same as first one.&lt;/P&gt;&lt;P&gt;But graph I see is as:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="chart.PNG" style="width: 999px;"&gt;&lt;img src="https://community.splunk.com/t5/image/serverpage/image-id/9906iF65706FAEF04D86B/image-size/large?v=v2&amp;amp;px=999" role="button" title="chart.PNG" alt="chart.PNG" /&gt;&lt;/span&gt;&amp;nbsp;In contrast to first graph, this one is continuous without any break.&lt;/P&gt;&lt;P&gt;I am not able to understand why the two queries behave differently.&lt;/P&gt;</description>
      <pubDate>Tue, 28 Jul 2020 11:53:34 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Timechart-vs-chart-behaviour/m-p/511308#M143291</guid>
      <dc:creator>ghildiya</dc:creator>
      <dc:date>2020-07-28T11:53:34Z</dc:date>
    </item>
    <item>
      <title>Re: Timechart vs chart behaviour</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Timechart-vs-chart-behaviour/m-p/511324#M143294</link>
      <description>&lt;P&gt;Both commands are supposed to fill in missing values by default.&amp;nbsp; Try this to see if the output is any different.&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;.... | timechart span=5m avg(responseTime) ``` No bin command```&lt;/LI-CODE&gt;&lt;P&gt;You can try this to see if you get results similar to what you got from &lt;FONT face="courier new,courier"&gt;timechart&lt;/FONT&gt;.&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;.... | bin _time span=5m | chart cont=false avg(responseTime) by _time&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 28 Jul 2020 12:51:31 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Timechart-vs-chart-behaviour/m-p/511324#M143294</guid>
      <dc:creator>richgalloway</dc:creator>
      <dc:date>2020-07-28T12:51:31Z</dc:date>
    </item>
    <item>
      <title>Re: Timechart vs chart behaviour</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Timechart-vs-chart-behaviour/m-p/511328#M143296</link>
      <description>&lt;P&gt;Yes, the first query results in a continuous curve.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;So , the difference between mine and yous query is that I have explicitly used&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;| bin _time span=5m |&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;..while you have used span with timchart.&lt;/P&gt;&lt;P&gt;Can you explain how does it make difference conceptually?&lt;/P&gt;</description>
      <pubDate>Tue, 28 Jul 2020 13:18:33 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Timechart-vs-chart-behaviour/m-p/511328#M143296</guid>
      <dc:creator>ghildiya</dc:creator>
      <dc:date>2020-07-28T13:18:33Z</dc:date>
    </item>
    <item>
      <title>Re: Timechart vs chart behaviour</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Timechart-vs-chart-behaviour/m-p/511343#M143299</link>
      <description>I wish I knew. &lt;span class="lia-unicode-emoji" title=":winking_face:"&gt;😉&lt;/span&gt;</description>
      <pubDate>Tue, 28 Jul 2020 13:51:52 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Timechart-vs-chart-behaviour/m-p/511343#M143299</guid>
      <dc:creator>richgalloway</dc:creator>
      <dc:date>2020-07-28T13:51:52Z</dc:date>
    </item>
    <item>
      <title>Re: Timechart vs chart behaviour</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Timechart-vs-chart-behaviour/m-p/511354#M143302</link>
      <description>&lt;P&gt;Upvoted already.&lt;/P&gt;</description>
      <pubDate>Tue, 28 Jul 2020 14:19:10 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Timechart-vs-chart-behaviour/m-p/511354#M143302</guid>
      <dc:creator>ghildiya</dc:creator>
      <dc:date>2020-07-28T14:19:10Z</dc:date>
    </item>
    <item>
      <title>Re: Timechart vs chart behaviour</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Timechart-vs-chart-behaviour/m-p/517472#M145513</link>
      <description>&lt;P&gt;How can you break this out into multiple lines from here?&amp;nbsp; For example I am working on a line chart of speed by vehicle across mileposts.&amp;nbsp; I can do speed by vehicle or speed by milepost.&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;To get speed at mileposts I have used:&lt;/P&gt;&lt;P&gt;|&amp;nbsp; chart values(speed) BY Milepost&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;X axis would be mileposts, Y axis is speed and then line by Vehicle_ID&lt;/P&gt;</description>
      <pubDate>Wed, 02 Sep 2020 12:53:38 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Timechart-vs-chart-behaviour/m-p/517472#M145513</guid>
      <dc:creator>L0gik2</dc:creator>
      <dc:date>2020-09-02T12:53:38Z</dc:date>
    </item>
  </channel>
</rss>

