<?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 How to identify session from log based on request timestamp in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/How-to-identify-session-from-log-based-on-request-timestamp/m-p/188078#M54186</link>
    <description>&lt;P&gt;Hi Guys,&lt;BR /&gt;
My log message looks like below,&lt;/P&gt;

&lt;P&gt;Time             message&lt;BR /&gt;
10:00 AM  “log message 1” &lt;BR /&gt;
10:10 AM  “log message 2” &lt;BR /&gt;
10:20 AM  “log message 2” &lt;BR /&gt;
10:41 AM  “log message 3” &lt;BR /&gt;
10:45 AM  “log message 4” &lt;/P&gt;

&lt;P&gt;11:20 AM  “log message 5”&lt;BR /&gt;
11:21 AM  “log message 6”&lt;BR /&gt;
11:22 AM  “log message 7”&lt;BR /&gt;
11:25 AM  “log message 8”&lt;BR /&gt;
11:45 AM  “log message 9”&lt;BR /&gt;
11:55 AM  “ ….”&lt;BR /&gt;
12:28 PM  “…..”&lt;/P&gt;

&lt;P&gt;I want above message to be grouped into 4 groups and print following,&lt;/P&gt;

&lt;P&gt;Start_time 10:00 AM  count 5&lt;BR /&gt;
Start_time 11:20 AM  count 6&lt;BR /&gt;
Start_time 12:28 PM  count 1&lt;/P&gt;

&lt;P&gt;We are splitting message based on the any two consecutive record having time difference of more than 30 min. &lt;BR /&gt;
Here, 10:45 AM and 11:20 AM is having 35 min, so breaking it and again we found at 11:55 AM, since difference between 11:55 AM and 12:28 PM is 33 Min. &lt;/P&gt;</description>
    <pubDate>Mon, 28 Sep 2020 15:32:05 GMT</pubDate>
    <dc:creator>moohkhol</dc:creator>
    <dc:date>2020-09-28T15:32:05Z</dc:date>
    <item>
      <title>How to identify session from log based on request timestamp</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-identify-session-from-log-based-on-request-timestamp/m-p/188078#M54186</link>
      <description>&lt;P&gt;Hi Guys,&lt;BR /&gt;
My log message looks like below,&lt;/P&gt;

&lt;P&gt;Time             message&lt;BR /&gt;
10:00 AM  “log message 1” &lt;BR /&gt;
10:10 AM  “log message 2” &lt;BR /&gt;
10:20 AM  “log message 2” &lt;BR /&gt;
10:41 AM  “log message 3” &lt;BR /&gt;
10:45 AM  “log message 4” &lt;/P&gt;

&lt;P&gt;11:20 AM  “log message 5”&lt;BR /&gt;
11:21 AM  “log message 6”&lt;BR /&gt;
11:22 AM  “log message 7”&lt;BR /&gt;
11:25 AM  “log message 8”&lt;BR /&gt;
11:45 AM  “log message 9”&lt;BR /&gt;
11:55 AM  “ ….”&lt;BR /&gt;
12:28 PM  “…..”&lt;/P&gt;

&lt;P&gt;I want above message to be grouped into 4 groups and print following,&lt;/P&gt;

&lt;P&gt;Start_time 10:00 AM  count 5&lt;BR /&gt;
Start_time 11:20 AM  count 6&lt;BR /&gt;
Start_time 12:28 PM  count 1&lt;/P&gt;

&lt;P&gt;We are splitting message based on the any two consecutive record having time difference of more than 30 min. &lt;BR /&gt;
Here, 10:45 AM and 11:20 AM is having 35 min, so breaking it and again we found at 11:55 AM, since difference between 11:55 AM and 12:28 PM is 33 Min. &lt;/P&gt;</description>
      <pubDate>Mon, 28 Sep 2020 15:32:05 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-identify-session-from-log-based-on-request-timestamp/m-p/188078#M54186</guid>
      <dc:creator>moohkhol</dc:creator>
      <dc:date>2020-09-28T15:32:05Z</dc:date>
    </item>
    <item>
      <title>Re: How to identify session from log based on request timestamp</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-identify-session-from-log-based-on-request-timestamp/m-p/188079#M54187</link>
      <description>&lt;P&gt;That sounds like a job for &lt;CODE&gt;transaction&lt;/CODE&gt; with &lt;CODE&gt;maxpause=30m&lt;/CODE&gt;. See &lt;A href="http://docs.splunk.com/Documentation/Splunk/latest/SearchReference/Transaction"&gt;http://docs.splunk.com/Documentation/Splunk/latest/SearchReference/Transaction&lt;/A&gt; for in-depth info.&lt;/P&gt;</description>
      <pubDate>Mon, 23 Dec 2013 17:08:44 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-identify-session-from-log-based-on-request-timestamp/m-p/188079#M54187</guid>
      <dc:creator>martin_mueller</dc:creator>
      <dc:date>2013-12-23T17:08:44Z</dc:date>
    </item>
  </channel>
</rss>

