<?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 span and transaction rollover into hour (what happens to the duration of the transaction?) in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/timechart-span-and-transaction-rollover-into-hour-what-happens/m-p/352771#M104422</link>
    <description>&lt;P&gt;The timestamp of the transaction would be considered as the start time of the transaction which is in 13th hour, so your transaction would be counted for 13th hour, even though it ended in 14th. What's your requirement here? Do you want it to be counted for both hours?&lt;/P&gt;</description>
    <pubDate>Mon, 23 Apr 2018 14:51:16 GMT</pubDate>
    <dc:creator>somesoni2</dc:creator>
    <dc:date>2018-04-23T14:51:16Z</dc:date>
    <item>
      <title>timechart span and transaction rollover into hour (what happens to the duration of the transaction?)</title>
      <link>https://community.splunk.com/t5/Splunk-Search/timechart-span-and-transaction-rollover-into-hour-what-happens/m-p/352768#M104419</link>
      <description>&lt;P&gt;below example sums the duration when a machine is not running.&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt; ... 
    | sort 0 - time 
    | transaction startswith=running="0" endswith=running="1" keeporphans=f keepevicted=f
    | timechart span=1h sum(duration)
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;first transaction of an hour:&lt;/P&gt;

&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="alt text"&gt;&lt;img src="https://community.splunk.com/t5/image/serverpage/image-id/4803i8A17D5F1C2D7E981/image-size/large?v=v2&amp;amp;px=999" role="button" title="alt text" alt="alt text" /&gt;&lt;/span&gt;&lt;/P&gt;

&lt;P&gt;&lt;STRONG&gt;what happens to a transaction that rolls over into the hour?&lt;/STRONG&gt;&lt;BR /&gt;
will it report against 13th hour because the transaction takes the first event's timestamp...&lt;/P&gt;

&lt;P&gt;like this one:&lt;/P&gt;

&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="alt text"&gt;&lt;img src="https://community.splunk.com/t5/image/serverpage/image-id/4804i447A376FA574EB6D/image-size/large?v=v2&amp;amp;px=999" role="button" title="alt text" alt="alt text" /&gt;&lt;/span&gt;&lt;/P&gt;

&lt;P&gt;thanks&lt;BR /&gt;
/c&lt;/P&gt;</description>
      <pubDate>Mon, 23 Apr 2018 14:04:24 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/timechart-span-and-transaction-rollover-into-hour-what-happens/m-p/352768#M104419</guid>
      <dc:creator>cmisztur</dc:creator>
      <dc:date>2018-04-23T14:04:24Z</dc:date>
    </item>
    <item>
      <title>Re: timechart span and transaction rollover into hour (what happens to the duration of the transaction?)</title>
      <link>https://community.splunk.com/t5/Splunk-Search/timechart-span-and-transaction-rollover-into-hour-what-happens/m-p/352769#M104420</link>
      <description>&lt;P&gt;@cmisztur, yes transaction will pick earliest time as the _time. Are you trying to create a transaction without id?&lt;/P&gt;</description>
      <pubDate>Mon, 23 Apr 2018 14:42:11 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/timechart-span-and-transaction-rollover-into-hour-what-happens/m-p/352769#M104420</guid>
      <dc:creator>niketn</dc:creator>
      <dc:date>2018-04-23T14:42:11Z</dc:date>
    </item>
    <item>
      <title>Re: timechart span and transaction rollover into hour (what happens to the duration of the transaction?)</title>
      <link>https://community.splunk.com/t5/Splunk-Search/timechart-span-and-transaction-rollover-into-hour-what-happens/m-p/352770#M104421</link>
      <description>&lt;P&gt;I wasn't entirely clear on what OP is asking.. But perhaps using &lt;CODE&gt;stats&lt;/CODE&gt; rather than transaction will give more flexibility &lt;/P&gt;</description>
      <pubDate>Mon, 23 Apr 2018 14:46:25 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/timechart-span-and-transaction-rollover-into-hour-what-happens/m-p/352770#M104421</guid>
      <dc:creator>skoelpin</dc:creator>
      <dc:date>2018-04-23T14:46:25Z</dc:date>
    </item>
    <item>
      <title>Re: timechart span and transaction rollover into hour (what happens to the duration of the transaction?)</title>
      <link>https://community.splunk.com/t5/Splunk-Search/timechart-span-and-transaction-rollover-into-hour-what-happens/m-p/352771#M104422</link>
      <description>&lt;P&gt;The timestamp of the transaction would be considered as the start time of the transaction which is in 13th hour, so your transaction would be counted for 13th hour, even though it ended in 14th. What's your requirement here? Do you want it to be counted for both hours?&lt;/P&gt;</description>
      <pubDate>Mon, 23 Apr 2018 14:51:16 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/timechart-span-and-transaction-rollover-into-hour-what-happens/m-p/352771#M104422</guid>
      <dc:creator>somesoni2</dc:creator>
      <dc:date>2018-04-23T14:51:16Z</dc:date>
    </item>
    <item>
      <title>Re: timechart span and transaction rollover into hour (what happens to the duration of the transaction?)</title>
      <link>https://community.splunk.com/t5/Splunk-Search/timechart-span-and-transaction-rollover-into-hour-what-happens/m-p/352772#M104423</link>
      <description>&lt;P&gt;correct, no ID.&lt;/P&gt;</description>
      <pubDate>Mon, 23 Apr 2018 18:15:56 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/timechart-span-and-transaction-rollover-into-hour-what-happens/m-p/352772#M104423</guid>
      <dc:creator>cmisztur</dc:creator>
      <dc:date>2018-04-23T18:15:56Z</dc:date>
    </item>
    <item>
      <title>Re: timechart span and transaction rollover into hour (what happens to the duration of the transaction?)</title>
      <link>https://community.splunk.com/t5/Splunk-Search/timechart-span-and-transaction-rollover-into-hour-what-happens/m-p/352773#M104424</link>
      <description>&lt;P&gt;Correct, should split the transaction and fit into the hour it belongs in.  So 1m4s into 13th hour, 0m23s into 14th hour.&lt;/P&gt;</description>
      <pubDate>Mon, 23 Apr 2018 18:17:04 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/timechart-span-and-transaction-rollover-into-hour-what-happens/m-p/352773#M104424</guid>
      <dc:creator>cmisztur</dc:creator>
      <dc:date>2018-04-23T18:17:04Z</dc:date>
    </item>
  </channel>
</rss>

