<?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: Timing inner transactions in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/Timing-inner-transactions/m-p/193170#M55572</link>
    <description>&lt;P&gt;I wasn't sufficiently clear in my problem description.&lt;/P&gt;

&lt;P&gt;Guess what I'm looking for is output something like:&lt;BR /&gt;
PlanID1   AAA   duration&lt;BR /&gt;
          BBB   duration&lt;BR /&gt;
           .&lt;BR /&gt;
          EEE   duration&lt;BR /&gt;
PlanId2   AAA   duration&lt;BR /&gt;
          BBB   duration&lt;BR /&gt;
           .&lt;BR /&gt;
          EEE   duration&lt;BR /&gt;
.&lt;BR /&gt;
.&lt;/P&gt;

&lt;P&gt;etc.&lt;/P&gt;

&lt;P&gt;(of course the AAA, BBB, etc are not in alphabetical order.&lt;/P&gt;

&lt;P&gt;So, a given PlanId may be opened more than once and will have its own set of internal transactions. Each will start with [OPEN PLAN START] and continue as long as the PlanId stays the same and another [OPEN PLAN START] is not encountered.&lt;/P&gt;</description>
    <pubDate>Tue, 10 Jun 2014 18:32:54 GMT</pubDate>
    <dc:creator>RVDowning</dc:creator>
    <dc:date>2014-06-10T18:32:54Z</dc:date>
    <item>
      <title>Timing inner transactions</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Timing-inner-transactions/m-p/193168#M55570</link>
      <description>&lt;P&gt;I Have transactions within transactions, namely something like the following:&lt;/P&gt;

&lt;P&gt;PlanId, [OPEN PLAN START] Action="AAA"&lt;BR /&gt;
.&lt;BR /&gt;
PlanId, [OPEN PLAN End] Action="AAA"&lt;BR /&gt;
PlanId, [BBB START] Action="BBB"&lt;BR /&gt;
.&lt;BR /&gt;
.&lt;BR /&gt;
PlanId, [BBB End]Action="BBB"&lt;BR /&gt;
PlanId, [MMM START] Action="MMM"&lt;BR /&gt;
.&lt;BR /&gt;
.&lt;BR /&gt;
PlanId, [MMM End]Action="MMM"&lt;/P&gt;

&lt;P&gt;this would be followed by another transaction with a new PlanId, etc.&lt;/P&gt;

&lt;P&gt;I can do the following: &lt;BR /&gt;
source="blahblah"  | transaction PlanId startswith="[OPEN PLAN START]" &lt;BR /&gt;
| table PlanId, Action, duration&lt;BR /&gt;
which gives me a table of the PlanIds, Actions, and durations of the outer transaction.&lt;/P&gt;

&lt;P&gt;The question is, how can I get the durations of the individual actions within each PlanID, namely the duration of AAA, BBB, MMM, etc.&lt;/P&gt;

&lt;P&gt;Also, it would be of interest to get the average durations of all AAA, BBB, MMM etc across all PlanIds.&lt;/P&gt;</description>
      <pubDate>Mon, 09 Jun 2014 19:49:35 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Timing-inner-transactions/m-p/193168#M55570</guid>
      <dc:creator>RVDowning</dc:creator>
      <dc:date>2014-06-09T19:49:35Z</dc:date>
    </item>
    <item>
      <title>Re: Timing inner transactions</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Timing-inner-transactions/m-p/193169#M55571</link>
      <description>&lt;P&gt;Try something like this&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;source="blahblah" | transaction PlanId,Action startswith="START]" endswith="END]" | table PlanId, Action, duration
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Mon, 09 Jun 2014 20:03:00 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Timing-inner-transactions/m-p/193169#M55571</guid>
      <dc:creator>somesoni2</dc:creator>
      <dc:date>2014-06-09T20:03:00Z</dc:date>
    </item>
    <item>
      <title>Re: Timing inner transactions</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Timing-inner-transactions/m-p/193170#M55572</link>
      <description>&lt;P&gt;I wasn't sufficiently clear in my problem description.&lt;/P&gt;

&lt;P&gt;Guess what I'm looking for is output something like:&lt;BR /&gt;
PlanID1   AAA   duration&lt;BR /&gt;
          BBB   duration&lt;BR /&gt;
           .&lt;BR /&gt;
          EEE   duration&lt;BR /&gt;
PlanId2   AAA   duration&lt;BR /&gt;
          BBB   duration&lt;BR /&gt;
           .&lt;BR /&gt;
          EEE   duration&lt;BR /&gt;
.&lt;BR /&gt;
.&lt;/P&gt;

&lt;P&gt;etc.&lt;/P&gt;

&lt;P&gt;(of course the AAA, BBB, etc are not in alphabetical order.&lt;/P&gt;

&lt;P&gt;So, a given PlanId may be opened more than once and will have its own set of internal transactions. Each will start with [OPEN PLAN START] and continue as long as the PlanId stays the same and another [OPEN PLAN START] is not encountered.&lt;/P&gt;</description>
      <pubDate>Tue, 10 Jun 2014 18:32:54 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Timing-inner-transactions/m-p/193170#M55572</guid>
      <dc:creator>RVDowning</dc:creator>
      <dc:date>2014-06-10T18:32:54Z</dc:date>
    </item>
    <item>
      <title>Re: Timing inner transactions</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Timing-inner-transactions/m-p/193171#M55573</link>
      <description>&lt;P&gt;What issue do you see in the output of the answer I gave? Since, we don't know the actual events, it would help if you can describe how far it is from the expected.&lt;/P&gt;</description>
      <pubDate>Tue, 10 Jun 2014 19:03:07 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Timing-inner-transactions/m-p/193171#M55573</guid>
      <dc:creator>somesoni2</dc:creator>
      <dc:date>2014-06-10T19:03:07Z</dc:date>
    </item>
  </channel>
</rss>

