<?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: How to calculate time elapsed for (concurrent) transactions across multiple servers? in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/How-to-calculate-time-elapsed-for-concurrent-transactions-across/m-p/195011#M56250</link>
    <description>&lt;P&gt;Unless I'm missing something, this doesn't appear to be giving me anything different in the results.&lt;/P&gt;</description>
    <pubDate>Tue, 26 Aug 2014 14:06:57 GMT</pubDate>
    <dc:creator>chriscje</dc:creator>
    <dc:date>2014-08-26T14:06:57Z</dc:date>
    <item>
      <title>How to calculate time elapsed for (concurrent) transactions across multiple servers?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-calculate-time-elapsed-for-concurrent-transactions-across/m-p/195009#M56248</link>
      <description>&lt;P&gt;I've been looking around the forums, but nothing seems to quite cover what I need.&lt;/P&gt;

&lt;P&gt;We are currently logging stats for a conference solution, which logs start and stops times. These can be grouped as transactions, and obviously I can sum the duration. The problem is that as this is a distributed conference solution, the same conference runs on multiple nodes/servers, but the transactions only relate to a single node/server. This means I could have two transactions for the same conference, (active on different nodes/servers).&lt;/P&gt;

&lt;P&gt;In short, we need to know how long a conference is active over a given period (say 30 days) regardless of how many nodes/servers it is active on at any point.&lt;/P&gt;

&lt;P&gt;My search to return transactions (grouped by node and conference) is below, I just can't see how to get the active time span:&lt;/P&gt;

&lt;P&gt;index=vmr Name=administrator.conference Message="Conference has been created." OR Message="Conference has been stopped." | transaction Conference host startswith="Conference has been created." endswith="Conference has been stopped."&lt;/P&gt;</description>
      <pubDate>Tue, 26 Aug 2014 09:49:53 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-calculate-time-elapsed-for-concurrent-transactions-across/m-p/195009#M56248</guid>
      <dc:creator>chriscje</dc:creator>
      <dc:date>2014-08-26T09:49:53Z</dc:date>
    </item>
    <item>
      <title>Re: How to calculate time elapsed for (concurrent) transactions across multiple servers?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-calculate-time-elapsed-for-concurrent-transactions-across/m-p/195010#M56249</link>
      <description>&lt;P&gt;How about this?&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;index=vmr Name=administrator.conference Message="Conference has been created." OR Message="Conference has been stopped." | transaction Conference host startswith="Conference has been created." endswith="Conference has been stopped." | sort 0 Conference _time | eventstats sum(duration) as ActiveSpan by Conference | table _time Conference host duration ActiveSpan
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Tue, 26 Aug 2014 12:52:58 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-calculate-time-elapsed-for-concurrent-transactions-across/m-p/195010#M56249</guid>
      <dc:creator>somesoni2</dc:creator>
      <dc:date>2014-08-26T12:52:58Z</dc:date>
    </item>
    <item>
      <title>Re: How to calculate time elapsed for (concurrent) transactions across multiple servers?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-calculate-time-elapsed-for-concurrent-transactions-across/m-p/195011#M56250</link>
      <description>&lt;P&gt;Unless I'm missing something, this doesn't appear to be giving me anything different in the results.&lt;/P&gt;</description>
      <pubDate>Tue, 26 Aug 2014 14:06:57 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-calculate-time-elapsed-for-concurrent-transactions-across/m-p/195011#M56250</guid>
      <dc:creator>chriscje</dc:creator>
      <dc:date>2014-08-26T14:06:57Z</dc:date>
    </item>
    <item>
      <title>Re: How to calculate time elapsed for (concurrent) transactions across multiple servers?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-calculate-time-elapsed-for-concurrent-transactions-across/m-p/195012#M56251</link>
      <description>&lt;P&gt;You should have a field call ActiveSpan available in the fieldPicker on the left. Or try the updated answer with a table command&lt;/P&gt;</description>
      <pubDate>Tue, 26 Aug 2014 16:01:36 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-calculate-time-elapsed-for-concurrent-transactions-across/m-p/195012#M56251</guid>
      <dc:creator>somesoni2</dc:creator>
      <dc:date>2014-08-26T16:01:36Z</dc:date>
    </item>
  </channel>
</rss>

