<?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 Reporting on multiple transactions in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/Reporting-on-multiple-transactions/m-p/139728#M38444</link>
    <description>&lt;P&gt;Hi all,&lt;/P&gt;

&lt;P&gt;I want to track the duration of individual steps of a larger transaction.  For example, I have :&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;2014-02-05 20:01:25 lcid=12345 Starting transaction 
2014-02-05 20:01:31 lcid=12345 Starting step A
2014-02-05 20:01:38 lcid=12345 Finished step A
2014-02-05 20:01:40 lcid=12345 Something else
2014-02-05 20:01:41 lcid=12345 Starting step B
2014-02-05 20:01:48 lcid=12345 Finished step B
2014-02-05 20:01:51 lcid=12345 Starting step C
2014-02-05 20:01:51 lcid=67890 Something else again
2014-02-05 20:01:58 lcid=12345 Finished step C
2014-02-05 20:02:00 lcid=12345 Finished transaction 
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;What I would like to do is to extract "step A", "step B" and "step C" durations individually.  &lt;/P&gt;

&lt;P&gt;I can do this for a single step easily enough with:&lt;BR /&gt;
    transaction lcid startswith="Starting step A" endswith="Finished step A"&lt;/P&gt;

&lt;P&gt;Is there a way to get the duration for each of the three steps?&lt;/P&gt;

&lt;P&gt;Thanks&lt;/P&gt;</description>
    <pubDate>Thu, 06 Feb 2014 12:40:37 GMT</pubDate>
    <dc:creator>bruceat</dc:creator>
    <dc:date>2014-02-06T12:40:37Z</dc:date>
    <item>
      <title>Reporting on multiple transactions</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Reporting-on-multiple-transactions/m-p/139728#M38444</link>
      <description>&lt;P&gt;Hi all,&lt;/P&gt;

&lt;P&gt;I want to track the duration of individual steps of a larger transaction.  For example, I have :&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;2014-02-05 20:01:25 lcid=12345 Starting transaction 
2014-02-05 20:01:31 lcid=12345 Starting step A
2014-02-05 20:01:38 lcid=12345 Finished step A
2014-02-05 20:01:40 lcid=12345 Something else
2014-02-05 20:01:41 lcid=12345 Starting step B
2014-02-05 20:01:48 lcid=12345 Finished step B
2014-02-05 20:01:51 lcid=12345 Starting step C
2014-02-05 20:01:51 lcid=67890 Something else again
2014-02-05 20:01:58 lcid=12345 Finished step C
2014-02-05 20:02:00 lcid=12345 Finished transaction 
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;What I would like to do is to extract "step A", "step B" and "step C" durations individually.  &lt;/P&gt;

&lt;P&gt;I can do this for a single step easily enough with:&lt;BR /&gt;
    transaction lcid startswith="Starting step A" endswith="Finished step A"&lt;/P&gt;

&lt;P&gt;Is there a way to get the duration for each of the three steps?&lt;/P&gt;

&lt;P&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Thu, 06 Feb 2014 12:40:37 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Reporting-on-multiple-transactions/m-p/139728#M38444</guid>
      <dc:creator>bruceat</dc:creator>
      <dc:date>2014-02-06T12:40:37Z</dc:date>
    </item>
    <item>
      <title>Re: Reporting on multiple transactions</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Reporting-on-multiple-transactions/m-p/139729#M38445</link>
      <description>&lt;P&gt;Try this.&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;..your main search..| rex "lcid=[\d]*\s(?&amp;lt;status&amp;gt;[^ ]*)\s(step |trans)(?&amp;lt;actor&amp;gt;[^ ]*)" | eval actor=if(actor="action","Main",actor) | transaction actor startswith="Starting" endswith="Finished"
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Thu, 06 Feb 2014 14:36:54 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Reporting-on-multiple-transactions/m-p/139729#M38445</guid>
      <dc:creator>somesoni2</dc:creator>
      <dc:date>2014-02-06T14:36:54Z</dc:date>
    </item>
  </channel>
</rss>

