<?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 do you group Start and End times from a set of log events? in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/How-do-you-group-Start-and-End-times-from-a-set-of-log-events/m-p/570936#M101166</link>
    <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/161352"&gt;@gcusello&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;When I perform the following script then I get the list below:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;"MyApp&amp;lt;&amp;lt;&amp;lt;--MQ: 025;2310"
| rex "(?&amp;lt;TimeStamp&amp;gt;\d+-\d+-\d+ \d+:\d+:\d+\.\d+ \+02:00)\s+[^ ]"
| fields - _time
| eval _time=strptime(TimeStamp,"%Y-%m-%d %H:%M:%S.%3N %:z")
| sort -_time
| eval ret_event = split(_raw, ":")
| eval owcs_msg = mvindex(ret_event,4)
| eval owcs_msg_splited = split(owcs_msg, ";")
| eval owcs_msg_id = mvindex(owcs_msg_splited,0)
| eval owcs_msg_station = mvindex(owcs_msg_splited,1)
| eval owcs_msg_status = mvindex(owcs_msg_splited,2)
| where owcs_msg_status = 57 OR owcs_msg_status = 59
| table TimeStamp _time owcs_msg_station owcs_msg_status&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Please see my comment.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="OnderSentira_2-1634205979030.png" style="width: 400px;"&gt;&lt;img src="https://community.splunk.com/t5/image/serverpage/image-id/16424iD58825CEB1CA8117/image-size/medium?v=v2&amp;amp;px=400" role="button" title="OnderSentira_2-1634205979030.png" alt="OnderSentira_2-1634205979030.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;I need to bring the Unavailable event and available event together. all Unavailable events between first unavailable and available event can be skipped. Then the next row will be the&amp;nbsp;Unavailable event and available event for same station.&lt;/P&gt;&lt;P&gt;When I replace Table command by:&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;| stats earliest(_time) AS NotAvailableTimeStamp latest(_time) AS AvailableTimeStamp BY owcs_msg_station
| eval NotAvailableTimeStamp=strftime(NotAvailableTimeStamp,"%Y-%m-%d %H:%M:%S.%3N"), AvailableTimeStamp=strftime(AvailableTimeStamp,"%Y-%m-%d %H:%M:%S.%3N")&lt;/LI-CODE&gt;&lt;P&gt;Then I get result for whole day and not for each time that station was not available and available.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="OnderSentira_3-1634206834525.png" style="width: 400px;"&gt;&lt;img src="https://community.splunk.com/t5/image/serverpage/image-id/16425iB8F1FFC15A414109/image-size/medium?v=v2&amp;amp;px=400" role="button" title="OnderSentira_3-1634206834525.png" alt="OnderSentira_3-1634206834525.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;DIV class="mceNonEditable lia-copypaste-placeholder"&gt;&amp;nbsp;&lt;/DIV&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Thu, 14 Oct 2021 10:21:51 GMT</pubDate>
    <dc:creator>OnderSentira</dc:creator>
    <dc:date>2021-10-14T10:21:51Z</dc:date>
    <item>
      <title>How do you group Start and End times from a set of log events?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-do-you-group-Start-and-End-times-from-a-set-of-log-events/m-p/570609#M101119</link>
      <description>&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="OnderSentira_0-1634045026217.png" style="width: 400px;"&gt;&lt;img src="https://community.splunk.com/t5/image/serverpage/image-id/16370i4949F546A944BDB2/image-size/medium?v=v2&amp;amp;px=400" role="button" title="OnderSentira_0-1634045026217.png" alt="OnderSentira_0-1634045026217.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;How can I group the start and end time of an station like attachment shows? The startime with X I want to skip,&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 12 Oct 2021 13:31:07 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-do-you-group-Start-and-End-times-from-a-set-of-log-events/m-p/570609#M101119</guid>
      <dc:creator>OnderSentira</dc:creator>
      <dc:date>2021-10-12T13:31:07Z</dc:date>
    </item>
    <item>
      <title>Re: How do you group Start and End times from a set of log events?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-do-you-group-Start-and-End-times-from-a-set-of-log-events/m-p/570610#M101120</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/239571"&gt;@OnderSentira&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;sorry, but what's the correlation rule?&lt;/P&gt;&lt;P&gt;in other words: why do you exclude some values and takes some other?&lt;/P&gt;&lt;P&gt;Ciao.&lt;/P&gt;&lt;P&gt;Giuseppe&lt;/P&gt;</description>
      <pubDate>Tue, 12 Oct 2021 13:43:49 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-do-you-group-Start-and-End-times-from-a-set-of-log-events/m-p/570610#M101120</guid>
      <dc:creator>gcusello</dc:creator>
      <dc:date>2021-10-12T13:43:49Z</dc:date>
    </item>
    <item>
      <title>Re: How do you group Start and End times from a set of log events?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-do-you-group-Start-and-End-times-from-a-set-of-log-events/m-p/570613#M101121</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/161352"&gt;@gcusello&lt;/a&gt;&amp;nbsp;,&lt;BR /&gt;&lt;BR /&gt;As long as the station is not available, the system will send status "NOT Available" (Start Time, Station sends the messages in succession).&amp;nbsp;If station is available again, available status will be sent (End Time). I need to show the timestamp when the system became Unavailable first time and became available again. I also need show the duration. This must be done for all events for the same station.&lt;/P&gt;</description>
      <pubDate>Tue, 12 Oct 2021 14:03:05 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-do-you-group-Start-and-End-times-from-a-set-of-log-events/m-p/570613#M101121</guid>
      <dc:creator>OnderSentira</dc:creator>
      <dc:date>2021-10-12T14:03:05Z</dc:date>
    </item>
    <item>
      <title>Re: How do you group Start and End times from a set of log events?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-do-you-group-Start-and-End-times-from-a-set-of-log-events/m-p/570614#M101122</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/239571"&gt;@OnderSentira&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;could you share the events before aggregation (I think you used a stats command)?&lt;/P&gt;&lt;P&gt;Ciao.&lt;/P&gt;&lt;P&gt;Giuseppe&lt;/P&gt;</description>
      <pubDate>Tue, 12 Oct 2021 14:05:35 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-do-you-group-Start-and-End-times-from-a-set-of-log-events/m-p/570614#M101122</guid>
      <dc:creator>gcusello</dc:creator>
      <dc:date>2021-10-12T14:05:35Z</dc:date>
    </item>
    <item>
      <title>Re: How do you group Start and End times from a set of log events?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-do-you-group-Start-and-End-times-from-a-set-of-log-events/m-p/570623#M101126</link>
      <description>&lt;LI-SPOILER&gt;&lt;P&gt;Hi&amp;nbsp;&lt;SPAN&gt;Giuseppe,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;See part of the events below. And I have used the following Script to extract the fields from the events:&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;my Search "MyApp&amp;lt;&amp;lt;&amp;lt;--MQ: 025;"
| eval ret_event = split(_raw, ":")
| eval owcs_msg = mvindex(ret_event,4)
| eval owcs_msg_splited = split(owcs_msg, ";")
| eval owcs_msg_id = mvindex(owcs_msg_splited,0)
| eval owcs_msg_station = mvindex(owcs_msg_splited,1)
| eval owcs_msg_status = mvindex(owcs_msg_splited,2)
| eval start = if(owcs_msg_status = 57,_time,"")
| eval stop = if(owcs_msg_status = 59,_time,"")
| eval start= strftime(start,"%Y-%m-%d %H:%M:%S.%3N")
| eval stop= strftime(stop,"%Y-%m-%d %H:%M:%S.%3N")&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;/LI-SPOILER&gt;</description>
      <pubDate>Tue, 12 Oct 2021 14:33:39 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-do-you-group-Start-and-End-times-from-a-set-of-log-events/m-p/570623#M101126</guid>
      <dc:creator>OnderSentira</dc:creator>
      <dc:date>2021-10-12T14:33:39Z</dc:date>
    </item>
    <item>
      <title>Re: How do you group Start and End times from a set of log events?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-do-you-group-Start-and-End-times-from-a-set-of-log-events/m-p/570624#M101127</link>
      <description>&lt;P&gt;See below some of my events:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;2021-10-11 23:49:42.165 +02:00 MyApp&amp;lt;&amp;lt;&amp;lt;--MQ: 025;2423;58;
2021-10-11 23:48:39.261 +02:00 MyApp&amp;lt;&amp;lt;&amp;lt;--MQ: 025;2423;59;
2021-10-11 23:45:21.577 +02:00 MyApp&amp;lt;&amp;lt;&amp;lt;--MQ: 025;2415;58;
2021-10-11 23:21:49.748 +02:00 MyApp&amp;lt;&amp;lt;&amp;lt;--MQ: 025;2425;59;
2021-10-11 23:20:57.161 +02:00 MyApp&amp;lt;&amp;lt;&amp;lt;--MQ: 025;2425;58;
2021-10-11 23:20:20.867 +02:00 MyApp&amp;lt;&amp;lt;&amp;lt;--MQ: 025;2423;58;
2021-10-11 23:19:47.623 +02:00 MyApp&amp;lt;&amp;lt;&amp;lt;--MQ: 025;2423;59;
2021-10-11 23:19:40.390 +02:00 MyApp&amp;lt;&amp;lt;&amp;lt;--MQ: 025;2422;59;
2021-10-11 23:19:01.883 +02:00 MyApp&amp;lt;&amp;lt;&amp;lt;--MQ: 025;2422;58;
2021-10-11 23:18:45.122 +02:00 MyApp&amp;lt;&amp;lt;&amp;lt;--MQ: 025;2420;59;
2021-10-11 23:17:15.864 +02:00 MyApp&amp;lt;&amp;lt;&amp;lt;--MQ: 025;2420;58;
2021-10-11 23:12:32.095 +02:00 MyApp&amp;lt;&amp;lt;&amp;lt;--MQ: 025;2423;58;
2021-10-11 23:09:26.318 +02:00 MyApp&amp;lt;&amp;lt;&amp;lt;--MQ: 025;2402;59;
2021-10-11 23:09:25.269 +02:00 MyApp&amp;lt;&amp;lt;&amp;lt;--MQ: 025;2402;57;
2021-10-11 23:07:47.638 +02:00 MyApp&amp;lt;&amp;lt;&amp;lt;--MQ: 025;2408;59;
2021-10-11 23:07:46.604 +02:00 MyApp&amp;lt;&amp;lt;&amp;lt;--MQ: 025;2408;57;
2021-10-11 23:03:54.637 +02:00 MyApp&amp;lt;&amp;lt;&amp;lt;--MQ: 025;2402;58;
2021-10-11 23:03:40.217 +02:00 MyApp&amp;lt;&amp;lt;&amp;lt;--MQ: 025;2408;58;
2021-10-11 23:00:54.335 +02:00 MyApp&amp;lt;&amp;lt;&amp;lt;--MQ: 025;2425;59;
2021-10-11 23:00:33.423 +02:00 MyApp&amp;lt;&amp;lt;&amp;lt;--MQ: 025;2425;58;
2021-10-11 22:53:39.917 +02:00 MyApp&amp;lt;&amp;lt;&amp;lt;--MQ: 025;2309;59;
2021-10-11 22:53:37.867 +02:00 MyApp&amp;lt;&amp;lt;&amp;lt;--MQ: 025;2309;57;
2021-10-11 22:53:34.752 +02:00 MyApp&amp;lt;&amp;lt;&amp;lt;--MQ: 025;2309;58;
2021-10-11 22:52:09.233 +02:00 MyApp&amp;lt;&amp;lt;&amp;lt;--MQ: 025;2309;57;
2021-10-11 22:50:03.853 +02:00 MyApp&amp;lt;&amp;lt;&amp;lt;--MQ: 025;2309;58;
2021-10-11 22:48:18.297 +02:00 MyApp&amp;lt;&amp;lt;&amp;lt;--MQ: 025;2429;59;
2021-10-11 22:45:59.798 +02:00 MyApp&amp;lt;&amp;lt;&amp;lt;--MQ: 025;2429;58;
2021-10-11 22:45:44.102 +02:00 MyApp&amp;lt;&amp;lt;&amp;lt;--MQ: 025;2429;59;
2021-10-11 22:44:49.645 +02:00 MyApp&amp;lt;&amp;lt;&amp;lt;--MQ: 025;2429;58;
2021-10-11 22:42:22.055 +02:00 MyApp&amp;lt;&amp;lt;&amp;lt;--MQ: 025;2422;59;
2021-10-11 22:42:07.408 +02:00 MyApp&amp;lt;&amp;lt;&amp;lt;--MQ: 025;2422;58;
2021-10-11 22:38:44.801 +02:00 MyApp&amp;lt;&amp;lt;&amp;lt;--MQ: 025;2428;59;
2021-10-11 22:34:35.329 +02:00 MyApp&amp;lt;&amp;lt;&amp;lt;--MQ: 025;2428;58;
2021-10-11 21:56:25.519 +02:00 MyApp&amp;lt;&amp;lt;&amp;lt;--MQ: 025;2424;59;
2021-10-11 21:56:15.376 +02:00 MyApp&amp;lt;&amp;lt;&amp;lt;--MQ: 025;2420;59;
2021-10-11 21:55:55.916 +02:00 MyApp&amp;lt;&amp;lt;&amp;lt;--MQ: 025;2420;58;
2021-10-11 21:55:48.675 +02:00 MyApp&amp;lt;&amp;lt;&amp;lt;--MQ: 025;2424;58;
2021-10-11 21:48:25.111 +02:00 MyApp&amp;lt;&amp;lt;&amp;lt;--MQ: 025;2425;59;
2021-10-11 21:47:55.588 +02:00 MyApp&amp;lt;&amp;lt;&amp;lt;--MQ: 025;2420;59;
2021-10-11 21:47:41.317 +02:00 MyApp&amp;lt;&amp;lt;&amp;lt;--MQ: 025;2425;58;
2021-10-11 21:47:29.898 +02:00 MyApp&amp;lt;&amp;lt;&amp;lt;--MQ: 025;2420;58;
2021-10-11 21:41:48.068 +02:00 MyApp&amp;lt;&amp;lt;&amp;lt;--MQ: 025;2418;58;
2021-10-11 21:41:40.931 +02:00 MyApp&amp;lt;&amp;lt;&amp;lt;--MQ: 025;2418;59;
2021-10-11 21:41:35.784 +02:00 MyApp&amp;lt;&amp;lt;&amp;lt;--MQ: 025;2418;58;
2021-10-11 21:41:28.621 +02:00 MyApp&amp;lt;&amp;lt;&amp;lt;--MQ: 025;2418;59;
2021-10-11 21:34:47.864 +02:00 MyApp&amp;lt;&amp;lt;&amp;lt;--MQ: 025;2312;59;
2021-10-11 21:34:46.845 +02:00 MyApp&amp;lt;&amp;lt;&amp;lt;--MQ: 025;2312;57;
2021-10-11 21:34:42.766 +02:00 MyApp&amp;lt;&amp;lt;&amp;lt;--MQ: 025;2312;58;
2021-10-11 21:33:52.952 +02:00 MyApp&amp;lt;&amp;lt;&amp;lt;--MQ: 025;2418;58;
2021-10-11 21:32:15.925 +02:00 MyApp&amp;lt;&amp;lt;&amp;lt;--MQ: 025;2312;57;
2021-10-11 21:32:13.885 +02:00 MyApp&amp;lt;&amp;lt;&amp;lt;--MQ: 025;2312;58;
2021-10-11 21:32:12.861 +02:00 MyApp&amp;lt;&amp;lt;&amp;lt;--MQ: 025;2312;57;
2021-10-11 21:32:02.653 +02:00 MyApp&amp;lt;&amp;lt;&amp;lt;--MQ: 025;2312;59;
2021-10-11 21:32:00.604 +02:00 MyApp&amp;lt;&amp;lt;&amp;lt;--MQ: 025;2312;57;
2021-10-11 21:31:57.491 +02:00 MyApp&amp;lt;&amp;lt;&amp;lt;--MQ: 025;2312;58;
2021-10-11 21:31:19.440 +02:00 MyApp&amp;lt;&amp;lt;&amp;lt;--MQ: 025;2420;59;
2021-10-11 21:31:11.245 +02:00 MyApp&amp;lt;&amp;lt;&amp;lt;--MQ: 025;2312;57;
2021-10-11 21:31:09.180 +02:00 MyApp&amp;lt;&amp;lt;&amp;lt;--MQ: 025;2312;58;
2021-10-11 21:31:07.144 +02:00 MyApp&amp;lt;&amp;lt;&amp;lt;--MQ: 025;2312;57;
2021-10-11 21:30:49.801 +02:00 MyApp&amp;lt;&amp;lt;&amp;lt;--MQ: 025;2420;58;
2021-10-11 21:30:34.466 +02:00 MyApp&amp;lt;&amp;lt;&amp;lt;--MQ: 025;2408;59;
2021-10-11 21:30:33.439 +02:00 MyApp&amp;lt;&amp;lt;&amp;lt;--MQ: 025;2408;57;
2021-10-11 21:22:21.987 +02:00 MyApp&amp;lt;&amp;lt;&amp;lt;--MQ: 025;2408;58;
2021-10-11 21:16:10.230 +02:00 MyApp&amp;lt;&amp;lt;&amp;lt;--MQ: 025;2316;59;
2021-10-11 21:16:10.227 +02:00 MyApp&amp;lt;&amp;lt;&amp;lt;--MQ: 025;2316;57;
2021-10-11 21:16:08.154 +02:00 MyApp&amp;lt;&amp;lt;&amp;lt;--MQ: 025;2316;58;
2021-10-11 21:16:06.134 +02:00 MyApp&amp;lt;&amp;lt;&amp;lt;--MQ: 025;2316;57;
2021-10-11 21:16:01.998 +02:00 MyApp&amp;lt;&amp;lt;&amp;lt;--MQ: 025;2316;58;
2021-10-11 21:14:18.056 +02:00 MyApp&amp;lt;&amp;lt;&amp;lt;--MQ: 025;2316;57;
2021-10-11 21:14:15.995 +02:00 MyApp&amp;lt;&amp;lt;&amp;lt;--MQ: 025;2316;58;
2021-10-11 21:14:13.970 +02:00 MyApp&amp;lt;&amp;lt;&amp;lt;--MQ: 025;2316;57;
2021-10-11 21:12:50.601 +02:00 MyApp&amp;lt;&amp;lt;&amp;lt;--MQ: 025;2423;59;
2021-10-11 21:12:08.930 +02:00 MyApp&amp;lt;&amp;lt;&amp;lt;--MQ: 025;2420;59;
2021-10-11 21:11:33.163 +02:00 MyApp&amp;lt;&amp;lt;&amp;lt;--MQ: 025;2423;58;
2021-10-11 21:09:18.031 +02:00 MyApp&amp;lt;&amp;lt;&amp;lt;--MQ: 025;2310;59;
2021-10-11 21:09:17.015 +02:00 MyApp&amp;lt;&amp;lt;&amp;lt;--MQ: 025;2310;57;
2021-10-11 21:09:12.957 +02:00 MyApp&amp;lt;&amp;lt;&amp;lt;--MQ: 025;2310;58;
2021-10-11 21:07:53.288 +02:00 MyApp&amp;lt;&amp;lt;&amp;lt;--MQ: 025;2420;58;
2021-10-11 21:07:29.889 +02:00 MyApp&amp;lt;&amp;lt;&amp;lt;--MQ: 025;2310;57;
2021-10-11 21:07:26.839 +02:00 MyApp&amp;lt;&amp;lt;&amp;lt;--MQ: 025;2310;58;
2021-10-11 21:07:24.802 +02:00 MyApp&amp;lt;&amp;lt;&amp;lt;--MQ: 025;2310;57;
2021-10-11 21:03:37.973 +02:00 MyApp&amp;lt;&amp;lt;&amp;lt;--MQ: 025;2402;59;
2021-10-11 21:03:36.960 +02:00 MyApp&amp;lt;&amp;lt;&amp;lt;--MQ: 025;2402;57;
2021-10-11 20:54:19.071 +02:00 MyApp&amp;lt;&amp;lt;&amp;lt;--MQ: 025;2402;58;
2021-10-11 20:50:03.435 +02:00 MyApp&amp;lt;&amp;lt;&amp;lt;--MQ: 025;2317;59;
2021-10-11 20:50:02.426 +02:00 MyApp&amp;lt;&amp;lt;&amp;lt;--MQ: 025;2317;57;
2021-10-11 20:49:51.289 +02:00 MyApp&amp;lt;&amp;lt;&amp;lt;--MQ: 025;2317;58;
2021-10-11 20:49:50.277 +02:00 MyApp&amp;lt;&amp;lt;&amp;lt;--MQ: 025;2317;57;
2021-10-11 20:49:47.158 +02:00 MyApp&amp;lt;&amp;lt;&amp;lt;--MQ: 025;2317;58;
2021-10-11 20:47:17.382 +02:00 MyApp&amp;lt;&amp;lt;&amp;lt;--MQ: 025;2317;57;
2021-10-11 20:47:15.358 +02:00 MyApp&amp;lt;&amp;lt;&amp;lt;--MQ: 025;2317;58;
&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 12 Oct 2021 14:37:08 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-do-you-group-Start-and-End-times-from-a-set-of-log-events/m-p/570624#M101127</guid>
      <dc:creator>OnderSentira</dc:creator>
      <dc:date>2021-10-12T14:37:08Z</dc:date>
    </item>
    <item>
      <title>Re: How do you group Start and End times from a set of log events?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-do-you-group-Start-and-End-times-from-a-set-of-log-events/m-p/570629#M101129</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/239571"&gt;@OnderSentira&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;could you share also the search you used to group events?&lt;/P&gt;&lt;P&gt;let me understand:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;the "station" field that you used to group events is the one that has value 2423, 2415, etc...&lt;/LI&gt;&lt;LI&gt;you want to group two events with the same station value,&lt;/LI&gt;&lt;LI&gt;each station value can have one or two events,&lt;/LI&gt;&lt;LI&gt;you want only the ones with two values;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;is it correct?&lt;/P&gt;&lt;P&gt;Ciao.&lt;/P&gt;&lt;P&gt;Giuseppe&lt;/P&gt;</description>
      <pubDate>Tue, 12 Oct 2021 14:55:05 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-do-you-group-Start-and-End-times-from-a-set-of-log-events/m-p/570629#M101129</guid>
      <dc:creator>gcusello</dc:creator>
      <dc:date>2021-10-12T14:55:05Z</dc:date>
    </item>
    <item>
      <title>Re: How do you group Start and End times from a set of log events?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-do-you-group-Start-and-End-times-from-a-set-of-log-events/m-p/570708#M101136</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;SPAN&gt;Giuseppe,&lt;/SPAN&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;each station sends its status (Available / Unavailable)&lt;/LI&gt;&lt;LI&gt;when a station becomes Unavailable it will continue to send this status until it is Available again.&lt;/LI&gt;&lt;LI&gt;for each station I want to have the first timestamp when it was unavailable (Stop Column) and in other column I want to have the timestamp when it is available (Start Column) again.&amp;nbsp;&lt;/LI&gt;&lt;LI&gt;please see image below for more explanation.&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="OnderSentira_0-1634107467684.png" style="width: 400px;"&gt;&lt;img src="https://community.splunk.com/t5/image/serverpage/image-id/16383i51B842352F27EC96/image-size/medium?v=v2&amp;amp;px=400" role="button" title="OnderSentira_0-1634107467684.png" alt="OnderSentira_0-1634107467684.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 13 Oct 2021 06:44:53 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-do-you-group-Start-and-End-times-from-a-set-of-log-events/m-p/570708#M101136</guid>
      <dc:creator>OnderSentira</dc:creator>
      <dc:date>2021-10-13T06:44:53Z</dc:date>
    </item>
    <item>
      <title>Re: How do you group Start and End times from a set of log events?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-do-you-group-Start-and-End-times-from-a-set-of-log-events/m-p/570711#M101137</link>
      <description>&lt;P&gt;Hi &lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/239571"&gt;@OnderSentira&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;please see my example and adapt it to your needs (the first part is only to have the data you sent, the second one is the hinted solution):&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;| makeresults 
| eval field="2021-10-11 23:49:42.165 +02:00 MyApp&amp;lt;&amp;lt;&amp;lt;--MQ: 025;2423;58;|
2021-10-11 23:48:39.261 +02:00 MyApp&amp;lt;&amp;lt;&amp;lt;--MQ: 025;2423;59;|
2021-10-11 23:45:21.577 +02:00 MyApp&amp;lt;&amp;lt;&amp;lt;--MQ: 025;2415;58;|
2021-10-11 23:21:49.748 +02:00 MyApp&amp;lt;&amp;lt;&amp;lt;--MQ: 025;2425;59;|
2021-10-11 23:20:57.161 +02:00 MyApp&amp;lt;&amp;lt;&amp;lt;--MQ: 025;2425;58;|
2021-10-11 23:20:20.867 +02:00 MyApp&amp;lt;&amp;lt;&amp;lt;--MQ: 025;2423;58;|
2021-10-11 23:19:47.623 +02:00 MyApp&amp;lt;&amp;lt;&amp;lt;--MQ: 025;2423;59;|
2021-10-11 23:19:40.390 +02:00 MyApp&amp;lt;&amp;lt;&amp;lt;--MQ: 025;2422;59;|
2021-10-11 23:19:01.883 +02:00 MyApp&amp;lt;&amp;lt;&amp;lt;--MQ: 025;2422;58;|
2021-10-11 23:18:45.122 +02:00 MyApp&amp;lt;&amp;lt;&amp;lt;--MQ: 025;2420;59;|
2021-10-11 23:17:15.864 +02:00 MyApp&amp;lt;&amp;lt;&amp;lt;--MQ: 025;2420;58;|
2021-10-11 23:12:32.095 +02:00 MyApp&amp;lt;&amp;lt;&amp;lt;--MQ: 025;2423;58;|
2021-10-11 23:09:26.318 +02:00 MyApp&amp;lt;&amp;lt;&amp;lt;--MQ: 025;2402;59;|
2021-10-11 23:09:25.269 +02:00 MyApp&amp;lt;&amp;lt;&amp;lt;--MQ: 025;2402;57;|
2021-10-11 23:07:47.638 +02:00 MyApp&amp;lt;&amp;lt;&amp;lt;--MQ: 025;2408;59;|
2021-10-11 23:07:46.604 +02:00 MyApp&amp;lt;&amp;lt;&amp;lt;--MQ: 025;2408;57;|
2021-10-11 23:03:54.637 +02:00 MyApp&amp;lt;&amp;lt;&amp;lt;--MQ: 025;2402;58;|
2021-10-11 23:03:40.217 +02:00 MyApp&amp;lt;&amp;lt;&amp;lt;--MQ: 025;2408;58;|
2021-10-11 23:00:54.335 +02:00 MyApp&amp;lt;&amp;lt;&amp;lt;--MQ: 025;2425;59;|
2021-10-11 23:00:33.423 +02:00 MyApp&amp;lt;&amp;lt;&amp;lt;--MQ: 025;2425;58;|
2021-10-11 22:53:39.917 +02:00 MyApp&amp;lt;&amp;lt;&amp;lt;--MQ: 025;2309;59;|
2021-10-11 22:53:37.867 +02:00 MyApp&amp;lt;&amp;lt;&amp;lt;--MQ: 025;2309;57;|
2021-10-11 22:53:34.752 +02:00 MyApp&amp;lt;&amp;lt;&amp;lt;--MQ: 025;2309;58;|
2021-10-11 22:52:09.233 +02:00 MyApp&amp;lt;&amp;lt;&amp;lt;--MQ: 025;2309;57;|
2021-10-11 22:50:03.853 +02:00 MyApp&amp;lt;&amp;lt;&amp;lt;--MQ: 025;2309;58;|
2021-10-11 22:48:18.297 +02:00 MyApp&amp;lt;&amp;lt;&amp;lt;--MQ: 025;2429;59;|
2021-10-11 22:45:59.798 +02:00 MyApp&amp;lt;&amp;lt;&amp;lt;--MQ: 025;2429;58;|
2021-10-11 22:45:44.102 +02:00 MyApp&amp;lt;&amp;lt;&amp;lt;--MQ: 025;2429;59;|
2021-10-11 22:44:49.645 +02:00 MyApp&amp;lt;&amp;lt;&amp;lt;--MQ: 025;2429;58;|
2021-10-11 22:42:22.055 +02:00 MyApp&amp;lt;&amp;lt;&amp;lt;--MQ: 025;2422;59;|
2021-10-11 22:42:07.408 +02:00 MyApp&amp;lt;&amp;lt;&amp;lt;--MQ: 025;2422;58;|
2021-10-11 22:38:44.801 +02:00 MyApp&amp;lt;&amp;lt;&amp;lt;--MQ: 025;2428;59;|
2021-10-11 22:34:35.329 +02:00 MyApp&amp;lt;&amp;lt;&amp;lt;--MQ: 025;2428;58;|
2021-10-11 21:56:25.519 +02:00 MyApp&amp;lt;&amp;lt;&amp;lt;--MQ: 025;2424;59;|
2021-10-11 21:56:15.376 +02:00 MyApp&amp;lt;&amp;lt;&amp;lt;--MQ: 025;2420;59;|
2021-10-11 21:55:55.916 +02:00 MyApp&amp;lt;&amp;lt;&amp;lt;--MQ: 025;2420;58;|
2021-10-11 21:55:48.675 +02:00 MyApp&amp;lt;&amp;lt;&amp;lt;--MQ: 025;2424;58;|
2021-10-11 21:48:25.111 +02:00 MyApp&amp;lt;&amp;lt;&amp;lt;--MQ: 025;2425;59;|
2021-10-11 21:47:55.588 +02:00 MyApp&amp;lt;&amp;lt;&amp;lt;--MQ: 025;2420;59;|
2021-10-11 21:47:41.317 +02:00 MyApp&amp;lt;&amp;lt;&amp;lt;--MQ: 025;2425;58;|
2021-10-11 21:47:29.898 +02:00 MyApp&amp;lt;&amp;lt;&amp;lt;--MQ: 025;2420;58;|
2021-10-11 21:41:48.068 +02:00 MyApp&amp;lt;&amp;lt;&amp;lt;--MQ: 025;2418;58;|
2021-10-11 21:41:40.931 +02:00 MyApp&amp;lt;&amp;lt;&amp;lt;--MQ: 025;2418;59;|
2021-10-11 21:41:35.784 +02:00 MyApp&amp;lt;&amp;lt;&amp;lt;--MQ: 025;2418;58;|
2021-10-11 21:41:28.621 +02:00 MyApp&amp;lt;&amp;lt;&amp;lt;--MQ: 025;2418;59;|
2021-10-11 21:34:47.864 +02:00 MyApp&amp;lt;&amp;lt;&amp;lt;--MQ: 025;2312;59;|
2021-10-11 21:34:46.845 +02:00 MyApp&amp;lt;&amp;lt;&amp;lt;--MQ: 025;2312;57;|
2021-10-11 21:34:42.766 +02:00 MyApp&amp;lt;&amp;lt;&amp;lt;--MQ: 025;2312;58;|
2021-10-11 21:33:52.952 +02:00 MyApp&amp;lt;&amp;lt;&amp;lt;--MQ: 025;2418;58;|
2021-10-11 21:32:15.925 +02:00 MyApp&amp;lt;&amp;lt;&amp;lt;--MQ: 025;2312;57;|
2021-10-11 21:32:13.885 +02:00 MyApp&amp;lt;&amp;lt;&amp;lt;--MQ: 025;2312;58;|
2021-10-11 21:32:12.861 +02:00 MyApp&amp;lt;&amp;lt;&amp;lt;--MQ: 025;2312;57;|
2021-10-11 21:32:02.653 +02:00 MyApp&amp;lt;&amp;lt;&amp;lt;--MQ: 025;2312;59;|
2021-10-11 21:32:00.604 +02:00 MyApp&amp;lt;&amp;lt;&amp;lt;--MQ: 025;2312;57;|
2021-10-11 21:31:57.491 +02:00 MyApp&amp;lt;&amp;lt;&amp;lt;--MQ: 025;2312;58;|
2021-10-11 21:31:19.440 +02:00 MyApp&amp;lt;&amp;lt;&amp;lt;--MQ: 025;2420;59;|
2021-10-11 21:31:11.245 +02:00 MyApp&amp;lt;&amp;lt;&amp;lt;--MQ: 025;2312;57;|
2021-10-11 21:31:09.180 +02:00 MyApp&amp;lt;&amp;lt;&amp;lt;--MQ: 025;2312;58;|
2021-10-11 21:31:07.144 +02:00 MyApp&amp;lt;&amp;lt;&amp;lt;--MQ: 025;2312;57;|
2021-10-11 21:30:49.801 +02:00 MyApp&amp;lt;&amp;lt;&amp;lt;--MQ: 025;2420;58;|
2021-10-11 21:30:34.466 +02:00 MyApp&amp;lt;&amp;lt;&amp;lt;--MQ: 025;2408;59;|
2021-10-11 21:30:33.439 +02:00 MyApp&amp;lt;&amp;lt;&amp;lt;--MQ: 025;2408;57;|
2021-10-11 21:22:21.987 +02:00 MyApp&amp;lt;&amp;lt;&amp;lt;--MQ: 025;2408;58;|
2021-10-11 21:16:10.230 +02:00 MyApp&amp;lt;&amp;lt;&amp;lt;--MQ: 025;2316;59;|
2021-10-11 21:16:10.227 +02:00 MyApp&amp;lt;&amp;lt;&amp;lt;--MQ: 025;2316;57;|
2021-10-11 21:16:08.154 +02:00 MyApp&amp;lt;&amp;lt;&amp;lt;--MQ: 025;2316;58;|
2021-10-11 21:16:06.134 +02:00 MyApp&amp;lt;&amp;lt;&amp;lt;--MQ: 025;2316;57;|
2021-10-11 21:16:01.998 +02:00 MyApp&amp;lt;&amp;lt;&amp;lt;--MQ: 025;2316;58;|
2021-10-11 21:14:18.056 +02:00 MyApp&amp;lt;&amp;lt;&amp;lt;--MQ: 025;2316;57;|
2021-10-11 21:14:15.995 +02:00 MyApp&amp;lt;&amp;lt;&amp;lt;--MQ: 025;2316;58;|
2021-10-11 21:14:13.970 +02:00 MyApp&amp;lt;&amp;lt;&amp;lt;--MQ: 025;2316;57;|
2021-10-11 21:12:50.601 +02:00 MyApp&amp;lt;&amp;lt;&amp;lt;--MQ: 025;2423;59;|
2021-10-11 21:12:08.930 +02:00 MyApp&amp;lt;&amp;lt;&amp;lt;--MQ: 025;2420;59;|
2021-10-11 21:11:33.163 +02:00 MyApp&amp;lt;&amp;lt;&amp;lt;--MQ: 025;2423;58;|
2021-10-11 21:09:18.031 +02:00 MyApp&amp;lt;&amp;lt;&amp;lt;--MQ: 025;2310;59;|
2021-10-11 21:09:17.015 +02:00 MyApp&amp;lt;&amp;lt;&amp;lt;--MQ: 025;2310;57;|
2021-10-11 21:09:12.957 +02:00 MyApp&amp;lt;&amp;lt;&amp;lt;--MQ: 025;2310;58;|
2021-10-11 21:07:53.288 +02:00 MyApp&amp;lt;&amp;lt;&amp;lt;--MQ: 025;2420;58;|
2021-10-11 21:07:29.889 +02:00 MyApp&amp;lt;&amp;lt;&amp;lt;--MQ: 025;2310;57;|
2021-10-11 21:07:26.839 +02:00 MyApp&amp;lt;&amp;lt;&amp;lt;--MQ: 025;2310;58;|
2021-10-11 21:07:24.802 +02:00 MyApp&amp;lt;&amp;lt;&amp;lt;--MQ: 025;2310;57;|
2021-10-11 21:03:37.973 +02:00 MyApp&amp;lt;&amp;lt;&amp;lt;--MQ: 025;2402;59;|
2021-10-11 21:03:36.960 +02:00 MyApp&amp;lt;&amp;lt;&amp;lt;--MQ: 025;2402;57;|
2021-10-11 20:54:19.071 +02:00 MyApp&amp;lt;&amp;lt;&amp;lt;--MQ: 025;2402;58;|
2021-10-11 20:50:03.435 +02:00 MyApp&amp;lt;&amp;lt;&amp;lt;--MQ: 025;2317;59;|
2021-10-11 20:50:02.426 +02:00 MyApp&amp;lt;&amp;lt;&amp;lt;--MQ: 025;2317;57;|
2021-10-11 20:49:51.289 +02:00 MyApp&amp;lt;&amp;lt;&amp;lt;--MQ: 025;2317;58;|
2021-10-11 20:49:50.277 +02:00 MyApp&amp;lt;&amp;lt;&amp;lt;--MQ: 025;2317;57;|
2021-10-11 20:49:47.158 +02:00 MyApp&amp;lt;&amp;lt;&amp;lt;--MQ: 025;2317;58;|
2021-10-11 20:47:17.382 +02:00 MyApp&amp;lt;&amp;lt;&amp;lt;--MQ: 025;2317;57;|
2021-10-11 20:47:15.358 +02:00 MyApp&amp;lt;&amp;lt;&amp;lt;--MQ: 025;2317;58;"
| makemv field delim="|"
| mvexpand field
| rename field AS _raw


| rex "(?&amp;lt;TimeStamp&amp;gt;\d+-\d+-\d+ \d+:\d+:\d+\.\d+ \+02:00)\s+[^ ]+\s+025;(?&amp;lt;Station&amp;gt;\d+);(?&amp;lt;StatusCode&amp;gt;\d+)"
| sort TimeStamp
| transaction Station startswith=";57;" endswith=";59;"
| table TimeStamp Station
| mvexpand TimeStamp
| stats first(TimeStamp) AS "NotAvailableTimeStamp" last(TimeStamp) AS "AvailableTimeStamp" BY Station&lt;/LI-CODE&gt;&lt;P&gt;Ciao.&lt;/P&gt;&lt;P&gt;Giuseppe&lt;/P&gt;</description>
      <pubDate>Wed, 13 Oct 2021 07:41:36 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-do-you-group-Start-and-End-times-from-a-set-of-log-events/m-p/570711#M101137</guid>
      <dc:creator>gcusello</dc:creator>
      <dc:date>2021-10-13T07:41:36Z</dc:date>
    </item>
    <item>
      <title>Re: How do you group Start and End times from a set of log events?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-do-you-group-Start-and-End-times-from-a-set-of-log-events/m-p/570717#M101138</link>
      <description>&lt;P&gt;Thank you&amp;nbsp;&lt;SPAN&gt;Giuseppe. But this overview I have already. But I want an overview like "Table 3". Please see my screenshot.&lt;/SPAN&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;each station sends its status (Available / Unavailable)&lt;/LI&gt;&lt;LI&gt;when a station becomes Unavailable it will continue to send this status until it is Available again.&lt;/LI&gt;&lt;LI&gt;for each station I want to have the first timestamp when it was unavailable (Stop Column) and in other column I want to have the timestamp when it is available (Start Column) again for same Station.&lt;/LI&gt;&lt;LI&gt;Next time when the same station become unavailable then it will be shown in next row.&amp;nbsp;&lt;/LI&gt;&lt;LI&gt;please see image below for more explanation.&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="OnderSentira_0-1634113107836.png" style="width: 400px;"&gt;&lt;img src="https://community.splunk.com/t5/image/serverpage/image-id/16384iB204F19C49BE0C34/image-size/medium?v=v2&amp;amp;px=400" role="button" title="OnderSentira_0-1634113107836.png" alt="OnderSentira_0-1634113107836.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 13 Oct 2021 08:21:38 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-do-you-group-Start-and-End-times-from-a-set-of-log-events/m-p/570717#M101138</guid>
      <dc:creator>OnderSentira</dc:creator>
      <dc:date>2021-10-13T08:21:38Z</dc:date>
    </item>
    <item>
      <title>Re: How do you group Start and End times from a set of log events?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-do-you-group-Start-and-End-times-from-a-set-of-log-events/m-p/570744#M101141</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/239571"&gt;@OnderSentira&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;please try this:&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;| makeresults 
| eval field="2021-10-11 23:49:42.165 +02:00 MyApp&amp;lt;&amp;lt;&amp;lt;--MQ: 025;2423;58;|2021-10-11 23:48:39.261 +02:00 MyApp&amp;lt;&amp;lt;&amp;lt;--MQ: 025;2423;59;|2021-10-11 23:45:21.577 +02:00 MyApp&amp;lt;&amp;lt;&amp;lt;--MQ: 025;2415;58;|2021-10-11 23:21:49.748 +02:00 MyApp&amp;lt;&amp;lt;&amp;lt;--MQ: 025;2425;59;|2021-10-11 23:20:57.161 +02:00 MyApp&amp;lt;&amp;lt;&amp;lt;--MQ: 025;2425;58;|2021-10-11 23:20:20.867 +02:00 MyApp&amp;lt;&amp;lt;&amp;lt;--MQ: 025;2423;58;|2021-10-11 23:19:47.623 +02:00 MyApp&amp;lt;&amp;lt;&amp;lt;--MQ: 025;2423;59;|2021-10-11 23:19:40.390 +02:00 MyApp&amp;lt;&amp;lt;&amp;lt;--MQ: 025;2422;59;|2021-10-11 23:19:01.883 +02:00 MyApp&amp;lt;&amp;lt;&amp;lt;--MQ: 025;2422;58;|2021-10-11 23:18:45.122 +02:00 MyApp&amp;lt;&amp;lt;&amp;lt;--MQ: 025;2420;59;|2021-10-11 23:17:15.864 +02:00 MyApp&amp;lt;&amp;lt;&amp;lt;--MQ: 025;2420;58;|2021-10-11 23:12:32.095 +02:00 MyApp&amp;lt;&amp;lt;&amp;lt;--MQ: 025;2423;58;|2021-10-11 23:09:26.318 +02:00 MyApp&amp;lt;&amp;lt;&amp;lt;--MQ: 025;2402;59;|2021-10-11 23:09:25.269 +02:00 MyApp&amp;lt;&amp;lt;&amp;lt;--MQ: 025;2402;57;|2021-10-11 23:07:47.638 +02:00 MyApp&amp;lt;&amp;lt;&amp;lt;--MQ: 025;2408;59;|2021-10-11 23:07:46.604 +02:00 MyApp&amp;lt;&amp;lt;&amp;lt;--MQ: 025;2408;57;|2021-10-11 23:03:54.637 +02:00 MyApp&amp;lt;&amp;lt;&amp;lt;--MQ: 025;2402;58;|2021-10-11 23:03:40.217 +02:00 MyApp&amp;lt;&amp;lt;&amp;lt;--MQ: 025;2408;58;|2021-10-11 23:00:54.335 +02:00 MyApp&amp;lt;&amp;lt;&amp;lt;--MQ: 025;2425;59;|2021-10-11 23:00:33.423 +02:00 MyApp&amp;lt;&amp;lt;&amp;lt;--MQ: 025;2425;58;|2021-10-11 22:53:39.917 +02:00 MyApp&amp;lt;&amp;lt;&amp;lt;--MQ: 025;2309;59;|2021-10-11 22:53:37.867 +02:00 MyApp&amp;lt;&amp;lt;&amp;lt;--MQ: 025;2309;57;|2021-10-11 22:53:34.752 +02:00 MyApp&amp;lt;&amp;lt;&amp;lt;--MQ: 025;2309;58;|2021-10-11 22:52:09.233 +02:00 MyApp&amp;lt;&amp;lt;&amp;lt;--MQ: 025;2309;57;|2021-10-11 22:50:03.853 +02:00 MyApp&amp;lt;&amp;lt;&amp;lt;--MQ: 025;2309;58;|2021-10-11 22:48:18.297 +02:00 MyApp&amp;lt;&amp;lt;&amp;lt;--MQ: 025;2429;59;|2021-10-11 22:45:59.798 +02:00 MyApp&amp;lt;&amp;lt;&amp;lt;--MQ: 025;2429;58;|2021-10-11 22:45:44.102 +02:00 MyApp&amp;lt;&amp;lt;&amp;lt;--MQ: 025;2429;59;|2021-10-11 22:44:49.645 +02:00 MyApp&amp;lt;&amp;lt;&amp;lt;--MQ: 025;2429;58;|2021-10-11 22:42:22.055 +02:00 MyApp&amp;lt;&amp;lt;&amp;lt;--MQ: 025;2422;59;|2021-10-11 22:42:07.408 +02:00 MyApp&amp;lt;&amp;lt;&amp;lt;--MQ: 025;2422;58;|2021-10-11 22:38:44.801 +02:00 MyApp&amp;lt;&amp;lt;&amp;lt;--MQ: 025;2428;59;|2021-10-11 22:34:35.329 +02:00 MyApp&amp;lt;&amp;lt;&amp;lt;--MQ: 025;2428;58;|2021-10-11 21:56:25.519 +02:00 MyApp&amp;lt;&amp;lt;&amp;lt;--MQ: 025;2424;59;|2021-10-11 21:56:15.376 +02:00 MyApp&amp;lt;&amp;lt;&amp;lt;--MQ: 025;2420;59;|2021-10-11 21:55:55.916 +02:00 MyApp&amp;lt;&amp;lt;&amp;lt;--MQ: 025;2420;58;|2021-10-11 21:55:48.675 +02:00 MyApp&amp;lt;&amp;lt;&amp;lt;--MQ: 025;2424;58;|2021-10-11 21:48:25.111 +02:00 MyApp&amp;lt;&amp;lt;&amp;lt;--MQ: 025;2425;59;|2021-10-11 21:47:55.588 +02:00 MyApp&amp;lt;&amp;lt;&amp;lt;--MQ: 025;2420;59;|2021-10-11 21:47:41.317 +02:00 MyApp&amp;lt;&amp;lt;&amp;lt;--MQ: 025;2425;58;|2021-10-11 21:47:29.898 +02:00 MyApp&amp;lt;&amp;lt;&amp;lt;--MQ: 025;2420;58;|2021-10-11 21:41:48.068 +02:00 MyApp&amp;lt;&amp;lt;&amp;lt;--MQ: 025;2418;58;|2021-10-11 21:41:40.931 +02:00 MyApp&amp;lt;&amp;lt;&amp;lt;--MQ: 025;2418;59;|2021-10-11 21:41:35.784 +02:00 MyApp&amp;lt;&amp;lt;&amp;lt;--MQ: 025;2418;58;|2021-10-11 21:41:28.621 +02:00 MyApp&amp;lt;&amp;lt;&amp;lt;--MQ: 025;2418;59;|2021-10-11 21:34:47.864 +02:00 MyApp&amp;lt;&amp;lt;&amp;lt;--MQ: 025;2312;59;|2021-10-11 21:34:46.845 +02:00 MyApp&amp;lt;&amp;lt;&amp;lt;--MQ: 025;2312;57;|2021-10-11 21:34:42.766 +02:00 MyApp&amp;lt;&amp;lt;&amp;lt;--MQ: 025;2312;58;|2021-10-11 21:33:52.952 +02:00 MyApp&amp;lt;&amp;lt;&amp;lt;--MQ: 025;2418;58;|2021-10-11 21:32:15.925 +02:00 MyApp&amp;lt;&amp;lt;&amp;lt;--MQ: 025;2312;57;|2021-10-11 21:32:13.885 +02:00 MyApp&amp;lt;&amp;lt;&amp;lt;--MQ: 025;2312;58;|2021-10-11 21:32:12.861 +02:00 MyApp&amp;lt;&amp;lt;&amp;lt;--MQ: 025;2312;57;|2021-10-11 21:32:02.653 +02:00 MyApp&amp;lt;&amp;lt;&amp;lt;--MQ: 025;2312;59;|2021-10-11 21:32:00.604 +02:00 MyApp&amp;lt;&amp;lt;&amp;lt;--MQ: 025;2312;57;|2021-10-11 21:31:57.491 +02:00 MyApp&amp;lt;&amp;lt;&amp;lt;--MQ: 025;2312;58;|2021-10-11 21:31:19.440 +02:00 MyApp&amp;lt;&amp;lt;&amp;lt;--MQ: 025;2420;59;|2021-10-11 21:31:11.245 +02:00 MyApp&amp;lt;&amp;lt;&amp;lt;--MQ: 025;2312;57;|2021-10-11 21:31:09.180 +02:00 MyApp&amp;lt;&amp;lt;&amp;lt;--MQ: 025;2312;58;|2021-10-11 21:31:07.144 +02:00 MyApp&amp;lt;&amp;lt;&amp;lt;--MQ: 025;2312;57;|2021-10-11 21:30:49.801 +02:00 MyApp&amp;lt;&amp;lt;&amp;lt;--MQ: 025;2420;58;|2021-10-11 21:30:34.466 +02:00 MyApp&amp;lt;&amp;lt;&amp;lt;--MQ: 025;2408;59;|2021-10-11 21:30:33.439 +02:00 MyApp&amp;lt;&amp;lt;&amp;lt;--MQ: 025;2408;57;|2021-10-11 21:22:21.987 +02:00 MyApp&amp;lt;&amp;lt;&amp;lt;--MQ: 025;2408;58;|2021-10-11 21:16:10.230 +02:00 MyApp&amp;lt;&amp;lt;&amp;lt;--MQ: 025;2316;59;|2021-10-11 21:16:10.227 +02:00 MyApp&amp;lt;&amp;lt;&amp;lt;--MQ: 025;2316;57;|2021-10-11 21:16:08.154 +02:00 MyApp&amp;lt;&amp;lt;&amp;lt;--MQ: 025;2316;58;|2021-10-11 21:16:06.134 +02:00 MyApp&amp;lt;&amp;lt;&amp;lt;--MQ: 025;2316;57;|2021-10-11 21:16:01.998 +02:00 MyApp&amp;lt;&amp;lt;&amp;lt;--MQ: 025;2316;58;|2021-10-11 21:14:18.056 +02:00 MyApp&amp;lt;&amp;lt;&amp;lt;--MQ: 025;2316;57;|2021-10-11 21:14:15.995 +02:00 MyApp&amp;lt;&amp;lt;&amp;lt;--MQ: 025;2316;58;|2021-10-11 21:14:13.970 +02:00 MyApp&amp;lt;&amp;lt;&amp;lt;--MQ: 025;2316;57;|2021-10-11 21:12:50.601 +02:00 MyApp&amp;lt;&amp;lt;&amp;lt;--MQ: 025;2423;59;|2021-10-11 21:12:08.930 +02:00 MyApp&amp;lt;&amp;lt;&amp;lt;--MQ: 025;2420;59;|2021-10-11 21:11:33.163 +02:00 MyApp&amp;lt;&amp;lt;&amp;lt;--MQ: 025;2423;58;|2021-10-11 21:09:18.031 +02:00 MyApp&amp;lt;&amp;lt;&amp;lt;--MQ: 025;2310;59;|2021-10-11 21:09:17.015 +02:00 MyApp&amp;lt;&amp;lt;&amp;lt;--MQ: 025;2310;57;|2021-10-11 21:09:12.957 +02:00 MyApp&amp;lt;&amp;lt;&amp;lt;--MQ: 025;2310;58;|2021-10-11 21:07:53.288 +02:00 MyApp&amp;lt;&amp;lt;&amp;lt;--MQ: 025;2420;58;|2021-10-11 21:07:29.889 +02:00 MyApp&amp;lt;&amp;lt;&amp;lt;--MQ: 025;2310;57;|2021-10-11 21:07:26.839 +02:00 MyApp&amp;lt;&amp;lt;&amp;lt;--MQ: 025;2310;58;|2021-10-11 21:07:24.802 +02:00 MyApp&amp;lt;&amp;lt;&amp;lt;--MQ: 025;2310;57;|2021-10-11 21:03:37.973 +02:00 MyApp&amp;lt;&amp;lt;&amp;lt;--MQ: 025;2402;59;|2021-10-11 21:03:36.960 +02:00 MyApp&amp;lt;&amp;lt;&amp;lt;--MQ: 025;2402;57;|2021-10-11 20:54:19.071 +02:00 MyApp&amp;lt;&amp;lt;&amp;lt;--MQ: 025;2402;58;|2021-10-11 20:50:03.435 +02:00 MyApp&amp;lt;&amp;lt;&amp;lt;--MQ: 025;2317;59;|2021-10-11 20:50:02.426 +02:00 MyApp&amp;lt;&amp;lt;&amp;lt;--MQ: 025;2317;57;|2021-10-11 20:49:51.289 +02:00 MyApp&amp;lt;&amp;lt;&amp;lt;--MQ: 025;2317;58;|2021-10-11 20:49:50.277 +02:00 MyApp&amp;lt;&amp;lt;&amp;lt;--MQ: 025;2317;57;|2021-10-11 20:49:47.158 +02:00 MyApp&amp;lt;&amp;lt;&amp;lt;--MQ: 025;2317;58;|2021-10-11 20:47:17.382 +02:00 MyApp&amp;lt;&amp;lt;&amp;lt;--MQ: 025;2317;57;|2021-10-11 20:47:15.358 +02:00 MyApp&amp;lt;&amp;lt;&amp;lt;--MQ: 025;2317;58;"
| makemv field delim="|"
| mvexpand field
| rename field AS _raw


| rex "(?&amp;lt;TimeStamp&amp;gt;\d+-\d+-\d+ \d+:\d+:\d+\.\d+ \+02:00)\s+[^ ]+\s+025;(?&amp;lt;Station&amp;gt;\d+);(?&amp;lt;StatusCode&amp;gt;\d+)"
| fields - _time
| eval _time=strptime(TimeStamp,"%Y-%m-%d %H:%M:%S.%3N %:z")
| sort -_time
| transaction Station endswith=";59" keepevicted=true
| eval counter=1
| accum counter as Row
| mvexpand TimeStamp
| stats earliest(_time) AS NotAvailableTimeStamp latest(_time) AS AvailableTimeStamp BY Station Row
| eval NotAvailableTimeStamp=strftime(NotAvailableTimeStamp,"%Y-%m-%d %H:%M:%S.%3N"), AvailableTimeStamp=strftime(AvailableTimeStamp,"%Y-%m-%d %H:%M:%S.%3N")
| fields - Row
| eval counter=1
| accum counter as Row
| table Row Station NotAvailableTimeStamp AvailableTimeStamp&lt;/LI-CODE&gt;&lt;P&gt;Ciao.&lt;/P&gt;&lt;P&gt;Giuseppe&lt;/P&gt;</description>
      <pubDate>Wed, 13 Oct 2021 11:13:33 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-do-you-group-Start-and-End-times-from-a-set-of-log-events/m-p/570744#M101141</guid>
      <dc:creator>gcusello</dc:creator>
      <dc:date>2021-10-13T11:13:33Z</dc:date>
    </item>
    <item>
      <title>Re: How do you group Start and End times from a set of log events?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-do-you-group-Start-and-End-times-from-a-set-of-log-events/m-p/570748#M101142</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;SPAN&gt;Giuseppe,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Nope, it is not working. I get same TS for&amp;nbsp;NotAvailableTimeStamp and&amp;nbsp;AvailableTimeStamp.&amp;nbsp;&lt;BR /&gt;&amp;nbsp;I also have added status 57 to the Transaction, but still not working. same result.&lt;/SPAN&gt;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;| rex "(?&amp;lt;TimeStamp&amp;gt;\d+-\d+-\d+ \d+:\d+:\d+\.\d+ \+02:00)\s+[^ ]"
| fields - _time
| eval _time=strptime(TimeStamp,"%Y-%m-%d %H:%M:%S.%3N %:z")
| sort +_time
| eval ret_event = split(_raw, ":")
| eval owcs_msg = mvindex(ret_event,4)
| eval owcs_msg_splited = split(owcs_msg, ";")
| eval owcs_msg_id = mvindex(owcs_msg_splited,0)
| eval owcs_msg_station = mvindex(owcs_msg_splited,1)
| eval owcs_msg_status = mvindex(owcs_msg_splited,2)
| where owcs_msg_status = 57 OR owcs_msg_status = 59 
| transaction owcs_msg_station startswith=owcs_msg_status="57" endswith=owcs_msg_status="59" keepevicted=true
| eval counter=1
| accum counter as Row
| mvexpand TimeStamp
| stats earliest(_time) AS NotAvailableTimeStamp latest(_time) AS AvailableTimeStamp BY owcs_msg_station Row
| eval NotAvailableTimeStamp=strftime(NotAvailableTimeStamp,"%Y-%m-%d %H:%M:%S.%3N"), AvailableTimeStamp=strftime(AvailableTimeStamp,"%Y-%m-%d %H:%M:%S.%3N")
| fields - Row
| eval counter=1
| accum counter as Row
| table Row owcs_msg_station NotAvailableTimeStamp AvailableTimeStamp&lt;/LI-CODE&gt;</description>
      <pubDate>Wed, 13 Oct 2021 11:58:28 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-do-you-group-Start-and-End-times-from-a-set-of-log-events/m-p/570748#M101142</guid>
      <dc:creator>OnderSentira</dc:creator>
      <dc:date>2021-10-13T11:58:28Z</dc:date>
    </item>
    <item>
      <title>Re: How do you group Start and End times from a set of log events?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-do-you-group-Start-and-End-times-from-a-set-of-log-events/m-p/570756#M101144</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/239571"&gt;@OnderSentira&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;what's the problem?&lt;/P&gt;&lt;P&gt;im my test I have for each Station more transactions with start and end time.&lt;/P&gt;&lt;P&gt;please give me a sample of the result tha you have and the ones you want, e.g. for one Station.&lt;/P&gt;&lt;P&gt;Ciao.&lt;/P&gt;&lt;P&gt;Giuseppe&lt;/P&gt;</description>
      <pubDate>Wed, 13 Oct 2021 12:38:42 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-do-you-group-Start-and-End-times-from-a-set-of-log-events/m-p/570756#M101144</guid>
      <dc:creator>gcusello</dc:creator>
      <dc:date>2021-10-13T12:38:42Z</dc:date>
    </item>
    <item>
      <title>Re: How do you group Start and End times from a set of log events?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-do-you-group-Start-and-End-times-from-a-set-of-log-events/m-p/570771#M101145</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;SPAN&gt;Giuseppe&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;The both column have same timestamp.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="OnderSentira_0-1634130446386.png" style="width: 400px;"&gt;&lt;img src="https://community.splunk.com/t5/image/serverpage/image-id/16395iE309E502C388C2BF/image-size/medium?v=v2&amp;amp;px=400" role="button" title="OnderSentira_0-1634130446386.png" alt="OnderSentira_0-1634130446386.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 13 Oct 2021 13:07:39 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-do-you-group-Start-and-End-times-from-a-set-of-log-events/m-p/570771#M101145</guid>
      <dc:creator>OnderSentira</dc:creator>
      <dc:date>2021-10-13T13:07:39Z</dc:date>
    </item>
    <item>
      <title>Re: How do you group Start and End times from a set of log events?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-do-you-group-Start-and-End-times-from-a-set-of-log-events/m-p/570895#M101157</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/239571"&gt;@OnderSentira&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;please at first take this test: replace the transaction row with this row&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;| transaction owcs_msg_station endswith=owcs_msg_status="59" keepevicted=true&lt;/LI-CODE&gt;&lt;P&gt;if you don't solve the problem, please debug your search running it until the row before transaction, so you can see if you have a row for each event.&lt;/P&gt;&lt;P&gt;Bye.&lt;/P&gt;&lt;P&gt;Giuseppe&lt;/P&gt;</description>
      <pubDate>Thu, 14 Oct 2021 06:19:10 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-do-you-group-Start-and-End-times-from-a-set-of-log-events/m-p/570895#M101157</guid>
      <dc:creator>gcusello</dc:creator>
      <dc:date>2021-10-14T06:19:10Z</dc:date>
    </item>
    <item>
      <title>Re: How do you group Start and End times from a set of log events?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-do-you-group-Start-and-End-times-from-a-set-of-log-events/m-p/570899#M101158</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;after debugging the following script I get correct result:&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;| rex "(?&amp;lt;TimeStamp&amp;gt;\d+-\d+-\d+ \d+:\d+:\d+\.\d+ \+02:00)\s+[^ ]"
| fields - _time
| eval _time=strptime(TimeStamp,"%Y-%m-%d %H:%M:%S.%3N %:z")
| sort -_time
| eval ret_event = split(_raw, ":")
| eval owcs_msg = mvindex(ret_event,4)
| eval owcs_msg_splited = split(owcs_msg, ";")
| eval owcs_msg_id = mvindex(owcs_msg_splited,0)
| eval owcs_msg_station = mvindex(owcs_msg_splited,1)
| eval owcs_msg_status = mvindex(owcs_msg_splited,2)
| where owcs_msg_status = 57 OR owcs_msg_status = 59 
| transaction owcs_msg_station endswith=owcs_msg_status="59" keepevicted=true
| eval counter=1
| accum counter as Row
| mvexpand TimeStamp&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Result: As you can see, the are events with status 57 but I only need to show the TimeStamp of first event from the list of each group of events (See highlighted events, the rest of events (not highlighted ) can be skipped)&amp;nbsp; in UnAvailable column and the Timestamp of event of status 59 under column Available.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="OnderSentira_0-1634195641083.png" style="width: 400px;"&gt;&lt;img src="https://community.splunk.com/t5/image/serverpage/image-id/16414iD4FAC333E2FB1B3F/image-size/medium?v=v2&amp;amp;px=400" role="button" title="OnderSentira_0-1634195641083.png" alt="OnderSentira_0-1634195641083.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;But, When I run stats command then I get the same TS for both columns.&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;....
| mvexpand TimeStamp
| stats earliest(_time) AS NotAvailableTimeStamp latest(_time) AS AvailableTimeStamp BY owcs_msg_station Row
| eval NotAvailableTimeStamp=strftime(NotAvailableTimeStamp,"%Y-%m-%d %H:%M:%S.%3N"), AvailableTimeStamp=strftime(AvailableTimeStamp,"%Y-%m-%d %H:%M:%S.%3N")
....&lt;/LI-CODE&gt;&lt;P&gt;Result:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="OnderSentira_1-1634196118427.png" style="width: 400px;"&gt;&lt;img src="https://community.splunk.com/t5/image/serverpage/image-id/16415i1612A5B8AD570D8B/image-size/medium?v=v2&amp;amp;px=400" role="button" title="OnderSentira_1-1634196118427.png" alt="OnderSentira_1-1634196118427.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 14 Oct 2021 07:23:24 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-do-you-group-Start-and-End-times-from-a-set-of-log-events/m-p/570899#M101158</guid>
      <dc:creator>OnderSentira</dc:creator>
      <dc:date>2021-10-14T07:23:24Z</dc:date>
    </item>
    <item>
      <title>Re: How do you group Start and End times from a set of log events?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-do-you-group-Start-and-End-times-from-a-set-of-log-events/m-p/570903#M101159</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/239571"&gt;@OnderSentira&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;please share the values of all fields after the mvexpand TimeStamp command, not only event, in particular, I'm interested on _time and Row.&lt;/P&gt;&lt;P&gt;Ciao.&lt;/P&gt;&lt;P&gt;Giuseppe&lt;/P&gt;</description>
      <pubDate>Thu, 14 Oct 2021 07:40:56 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-do-you-group-Start-and-End-times-from-a-set-of-log-events/m-p/570903#M101159</guid>
      <dc:creator>gcusello</dc:creator>
      <dc:date>2021-10-14T07:40:56Z</dc:date>
    </item>
    <item>
      <title>Re: How do you group Start and End times from a set of log events?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-do-you-group-Start-and-End-times-from-a-set-of-log-events/m-p/570912#M101160</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;so far I can see the first row of the event group is token:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="OnderSentira_0-1634200933635.png" style="width: 400px;"&gt;&lt;img src="https://community.splunk.com/t5/image/serverpage/image-id/16418i02D435810B3ABC64/image-size/medium?v=v2&amp;amp;px=400" role="button" title="OnderSentira_0-1634200933635.png" alt="OnderSentira_0-1634200933635.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;The TimeStamp and _time is always the time of the first event of the group above screen shot.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="OnderSentira_1-1634201096524.png" style="width: 400px;"&gt;&lt;img src="https://community.splunk.com/t5/image/serverpage/image-id/16419iE0AF69EC1F06ED6C/image-size/medium?v=v2&amp;amp;px=400" role="button" title="OnderSentira_1-1634201096524.png" alt="OnderSentira_1-1634201096524.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 14 Oct 2021 08:45:27 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-do-you-group-Start-and-End-times-from-a-set-of-log-events/m-p/570912#M101160</guid>
      <dc:creator>OnderSentira</dc:creator>
      <dc:date>2021-10-14T08:45:27Z</dc:date>
    </item>
    <item>
      <title>Re: How do you group Start and End times from a set of log events?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-do-you-group-Start-and-End-times-from-a-set-of-log-events/m-p/570915#M101161</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/239571"&gt;@OnderSentira&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;please, run your search until "| mvexpand TimeStamp" and add the following command:&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;| table Row TimeStamp _time owcs_msg_station owcs_msg_status event&lt;/LI-CODE&gt;&lt;P&gt;and share results&lt;/P&gt;&lt;P&gt;Ciao.&lt;/P&gt;&lt;P&gt;Giuseppe&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 14 Oct 2021 08:52:18 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-do-you-group-Start-and-End-times-from-a-set-of-log-events/m-p/570915#M101161</guid>
      <dc:creator>gcusello</dc:creator>
      <dc:date>2021-10-14T08:52:18Z</dc:date>
    </item>
    <item>
      <title>Re: How do you group Start and End times from a set of log events?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-do-you-group-Start-and-End-times-from-a-set-of-log-events/m-p/570920#M101162</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;SPAN&gt;Giuseppe,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Please find the results below without "| mvexpand TimeStamp" and the following is added:&lt;BR /&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;| table Row TimeStamp _time owcs_msg_station owcs_msg_status event"&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="OnderSentira_0-1634202276059.png" style="width: 400px;"&gt;&lt;img src="https://community.splunk.com/t5/image/serverpage/image-id/16420i9F550DC468B3CEC7/image-size/medium?v=v2&amp;amp;px=400" role="button" title="OnderSentira_0-1634202276059.png" alt="OnderSentira_0-1634202276059.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;And below the results with&amp;nbsp;&lt;BR /&gt;"| mvexpand TimeStamp&lt;BR /&gt;| table Row TimeStamp _time owcs_msg_station owcs_msg_status event"&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="OnderSentira_1-1634202471914.png" style="width: 400px;"&gt;&lt;img src="https://community.splunk.com/t5/image/serverpage/image-id/16421iC220AEF2C8F1BC08/image-size/medium?v=v2&amp;amp;px=400" role="button" title="OnderSentira_1-1634202471914.png" alt="OnderSentira_1-1634202471914.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 14 Oct 2021 09:08:18 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-do-you-group-Start-and-End-times-from-a-set-of-log-events/m-p/570920#M101162</guid>
      <dc:creator>OnderSentira</dc:creator>
      <dc:date>2021-10-14T09:08:18Z</dc:date>
    </item>
  </channel>
</rss>

