<?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 Is there a way to search for the time elapsed as an event traverses between different source types? in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/Is-there-a-way-to-search-for-the-time-elapsed-as-an-event/m-p/398291#M71013</link>
    <description>&lt;P&gt;Hi ALL,&lt;/P&gt;

&lt;P&gt;So i'm working for a manufacturing company and have managed to index all logs (good Start). I have an order number (say Order X150) and when typing in Splunk, i can see all the different source types it traverses.  As an example:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;Sourcetype1 = Entry Node
Sourcetype2 = Processing Node
Sourcetype3 = Validation Node
Sourcetype4 = Delivery Node
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;I can see that the order route has 200 events and I want to analyze how long the order takes between each source type (sometimes the journey can go from sourcetype 4 to sourcetype 1 to check something then back to sourcetype4. &lt;/P&gt;

&lt;P&gt;What's the best way of getting the latency between all the events in the journey, a kind of way so you can see the full routing history for a given order ? Thanks so much team! &lt;/P&gt;</description>
    <pubDate>Wed, 03 Oct 2018 11:13:50 GMT</pubDate>
    <dc:creator>luckyman80</dc:creator>
    <dc:date>2018-10-03T11:13:50Z</dc:date>
    <item>
      <title>Is there a way to search for the time elapsed as an event traverses between different source types?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Is-there-a-way-to-search-for-the-time-elapsed-as-an-event/m-p/398291#M71013</link>
      <description>&lt;P&gt;Hi ALL,&lt;/P&gt;

&lt;P&gt;So i'm working for a manufacturing company and have managed to index all logs (good Start). I have an order number (say Order X150) and when typing in Splunk, i can see all the different source types it traverses.  As an example:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;Sourcetype1 = Entry Node
Sourcetype2 = Processing Node
Sourcetype3 = Validation Node
Sourcetype4 = Delivery Node
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;I can see that the order route has 200 events and I want to analyze how long the order takes between each source type (sometimes the journey can go from sourcetype 4 to sourcetype 1 to check something then back to sourcetype4. &lt;/P&gt;

&lt;P&gt;What's the best way of getting the latency between all the events in the journey, a kind of way so you can see the full routing history for a given order ? Thanks so much team! &lt;/P&gt;</description>
      <pubDate>Wed, 03 Oct 2018 11:13:50 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Is-there-a-way-to-search-for-the-time-elapsed-as-an-event/m-p/398291#M71013</guid>
      <dc:creator>luckyman80</dc:creator>
      <dc:date>2018-10-03T11:13:50Z</dc:date>
    </item>
    <item>
      <title>Re: Is there a way to search for the time elapsed as an event traverses between different source types?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Is-there-a-way-to-search-for-the-time-elapsed-as-an-event/m-p/398292#M71014</link>
      <description>&lt;P&gt;You can group events using the &lt;CODE&gt;transaction&lt;/CODE&gt; command.&lt;/P&gt;

&lt;P&gt;Refer to below docs about use of transaction command-&lt;/P&gt;

&lt;P&gt;&lt;A href="https://docs.splunk.com/Documentation/Splunk/7.1.2/SearchReference/Transaction"&gt;https://docs.splunk.com/Documentation/Splunk/7.1.2/SearchReference/Transaction&lt;/A&gt;&lt;/P&gt;

&lt;P&gt;The &lt;CODE&gt;transaction&lt;/CODE&gt; command adds two fields to the raw events, duration and eventcount. The values in the duration field show the difference between the timestamps for the first and last events in the transaction. The values in the eventcount field show the number of events in the transaction.&lt;/P&gt;</description>
      <pubDate>Wed, 03 Oct 2018 11:47:34 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Is-there-a-way-to-search-for-the-time-elapsed-as-an-event/m-p/398292#M71014</guid>
      <dc:creator>493669</dc:creator>
      <dc:date>2018-10-03T11:47:34Z</dc:date>
    </item>
  </channel>
</rss>

