<?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: Group events based on order of occurance of the events in Dashboards &amp; Visualizations</title>
    <link>https://community.splunk.com/t5/Dashboards-Visualizations/Group-events-based-on-order-of-occurance-of-the-events/m-p/756510#M59315</link>
    <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/275259"&gt;@Souradip11&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;in this case, you should try using the transaction command using the startswith and endswith options to correlate events, for more details see at&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A href="https://docs.splunk.com/Documentation/Splunk/9.1.0/SearchReference/Transaction" target="_blank"&gt;https://docs.splunk.com/Documentation/Splunk/9.1.0/SearchReference/Transaction&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://docs.splunk.com/Documentation/SplunkCloud/latest/Search/Abouttransactions" target="_blank"&gt;https://docs.splunk.com/Documentation/SplunkCloud/latest/Search/Abouttransactions&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://docs.splunk.com/Documentation/SplunkCloud/latest/Knowledge/Searchfortransactions" target="_blank"&gt;https://docs.splunk.com/Documentation/SplunkCloud/latest/Knowledge/Searchfortransactions&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Ciao.&lt;/P&gt;&lt;P&gt;Giuseppe&lt;/P&gt;</description>
    <pubDate>Mon, 15 Dec 2025 07:55:03 GMT</pubDate>
    <dc:creator>gcusello</dc:creator>
    <dc:date>2025-12-15T07:55:03Z</dc:date>
    <item>
      <title>Group events based on order of occurance of the events</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Group-events-based-on-order-of-occurance-of-the-events/m-p/756438#M59305</link>
      <description>&lt;P&gt;Hello Splunkers,&lt;/P&gt;&lt;P&gt;Is it possible to group events based on a sequence.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Event 1 - request , request_id 123&lt;/P&gt;&lt;P&gt;Event 2 - response , 200&lt;/P&gt;&lt;P&gt;Event 3 - request , request_id 456&lt;/P&gt;&lt;P&gt;Event 4 - response , 400&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;For each request I want first occured response to be group together&amp;nbsp;&lt;/P&gt;&lt;P&gt;Group 1-&lt;/P&gt;&lt;P&gt;(Event 1 - request , request_id 123&lt;/P&gt;&lt;P&gt;Event 2 - response , 200)&lt;/P&gt;&lt;P&gt;Group 2-&amp;nbsp;&lt;/P&gt;&lt;P&gt;( Event 3 - request , request_id 456&lt;/P&gt;&lt;P&gt;Event 4 - response , 400)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Note:- request_id is not logged in response.&amp;nbsp;&lt;/P&gt;&lt;P&gt;My actual expectation here is to get the response for each request id .&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 12 Dec 2025 06:27:46 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Group-events-based-on-order-of-occurance-of-the-events/m-p/756438#M59305</guid>
      <dc:creator>Souradip11</dc:creator>
      <dc:date>2025-12-12T06:27:46Z</dc:date>
    </item>
    <item>
      <title>Re: Group events based on order of occurance of the events</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Group-events-based-on-order-of-occurance-of-the-events/m-p/756442#M59306</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/275259"&gt;@Souradip11&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;even if&amp;nbsp;&lt;SPAN&gt;request_id&amp;nbsp; isn't available in events, is there something else to correlate events?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;could you share a sample of your four types of logs?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Ciao.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Giuseppe&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 12 Dec 2025 08:07:49 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Group-events-based-on-order-of-occurance-of-the-events/m-p/756442#M59306</guid>
      <dc:creator>gcusello</dc:creator>
      <dc:date>2025-12-12T08:07:49Z</dc:date>
    </item>
    <item>
      <title>Re: Group events based on order of occurance of the events</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Group-events-based-on-order-of-occurance-of-the-events/m-p/756443#M59307</link>
      <description>&lt;P&gt;Assuming the event type has been extracted to a field called "type", and your events have been sorted into chronological order, you could do something along these lines&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;| streamstats count as event_number by type
| stats list(_raw) as raw_events by event_number&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 12 Dec 2025 08:49:24 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Group-events-based-on-order-of-occurance-of-the-events/m-p/756443#M59307</guid>
      <dc:creator>ITWhisperer</dc:creator>
      <dc:date>2025-12-12T08:49:24Z</dc:date>
    </item>
    <item>
      <title>Re: Group events based on order of occurance of the events</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Group-events-based-on-order-of-occurance-of-the-events/m-p/756445#M59308</link>
      <description>&lt;P&gt;The answer to your question depends greatly on what you mean by "group". Do you just want to sort the events in the even list? Or do you want to do some summarization and gather all fields from both request and response into a single result? Is there any field by which you can correlate a request with a response?&lt;/P&gt;</description>
      <pubDate>Fri, 12 Dec 2025 09:17:50 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Group-events-based-on-order-of-occurance-of-the-events/m-p/756445#M59308</guid>
      <dc:creator>PickleRick</dc:creator>
      <dc:date>2025-12-12T09:17:50Z</dc:date>
    </item>
    <item>
      <title>Re: Group events based on order of occurance of the events</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Group-events-based-on-order-of-occurance-of-the-events/m-p/756447#M59309</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;There is no such information in the response that could corelate to respective request. Only thing mentioned is&amp;nbsp; that there can't be a parallel request. Request can be made only if the response of previous request is received.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 12 Dec 2025 10:41:38 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Group-events-based-on-order-of-occurance-of-the-events/m-p/756447#M59309</guid>
      <dc:creator>Souradip11</dc:creator>
      <dc:date>2025-12-12T10:41:38Z</dc:date>
    </item>
    <item>
      <title>Re: Group events based on order of occurance of the events</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Group-events-based-on-order-of-occurance-of-the-events/m-p/756449#M59310</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/231884"&gt;@PickleRick&lt;/a&gt;&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;I want&amp;nbsp;&lt;SPAN&gt;to get the response code for each request id .&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 12 Dec 2025 10:59:38 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Group-events-based-on-order-of-occurance-of-the-events/m-p/756449#M59310</guid>
      <dc:creator>Souradip11</dc:creator>
      <dc:date>2025-12-12T10:59:38Z</dc:date>
    </item>
    <item>
      <title>Re: Group events based on order of occurance of the events</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Group-events-based-on-order-of-occurance-of-the-events/m-p/756451#M59311</link>
      <description>&lt;P&gt;Assuming you have fields event_type (all events), request_id (just request events) and response_code (just response events), and your events are in reverse chronological order, then you could do this&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;| filldown response_code
| where event_type="request"&lt;/LI-CODE&gt;&lt;P&gt;To be honest, all this is theoretical - if you want more salient advice, I suggest you post some representative sanitised sample events so we can see what you are dealing with.&lt;/P&gt;</description>
      <pubDate>Fri, 12 Dec 2025 11:14:12 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Group-events-based-on-order-of-occurance-of-the-events/m-p/756451#M59311</guid>
      <dc:creator>ITWhisperer</dc:creator>
      <dc:date>2025-12-12T11:14:12Z</dc:date>
    </item>
    <item>
      <title>Re: Group events based on order of occurance of the events</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Group-events-based-on-order-of-occurance-of-the-events/m-p/756464#M59312</link>
      <description>&lt;P&gt;Then all you can rely on is the event order. But this obviously raises questions about abnormal situations (like whether/how the source side handles error situations - does it just drop a request or does it reissue one?).&lt;/P&gt;&lt;P&gt;Generally, you can use filldown (or streamstats) to populate a field based on a previous event's value like it's been already shown in this thread. Just remember that Splunk by default returns events in reverse chronological order. So if you want to rely on a request being _before_ the response, you need to resort your results to have older ones first.&lt;/P&gt;</description>
      <pubDate>Fri, 12 Dec 2025 14:11:41 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Group-events-based-on-order-of-occurance-of-the-events/m-p/756464#M59312</guid>
      <dc:creator>PickleRick</dc:creator>
      <dc:date>2025-12-12T14:11:41Z</dc:date>
    </item>
    <item>
      <title>Re: Group events based on order of occurance of the events</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Group-events-based-on-order-of-occurance-of-the-events/m-p/756510#M59315</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/275259"&gt;@Souradip11&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;in this case, you should try using the transaction command using the startswith and endswith options to correlate events, for more details see at&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A href="https://docs.splunk.com/Documentation/Splunk/9.1.0/SearchReference/Transaction" target="_blank"&gt;https://docs.splunk.com/Documentation/Splunk/9.1.0/SearchReference/Transaction&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://docs.splunk.com/Documentation/SplunkCloud/latest/Search/Abouttransactions" target="_blank"&gt;https://docs.splunk.com/Documentation/SplunkCloud/latest/Search/Abouttransactions&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://docs.splunk.com/Documentation/SplunkCloud/latest/Knowledge/Searchfortransactions" target="_blank"&gt;https://docs.splunk.com/Documentation/SplunkCloud/latest/Knowledge/Searchfortransactions&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Ciao.&lt;/P&gt;&lt;P&gt;Giuseppe&lt;/P&gt;</description>
      <pubDate>Mon, 15 Dec 2025 07:55:03 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Group-events-based-on-order-of-occurance-of-the-events/m-p/756510#M59315</guid>
      <dc:creator>gcusello</dc:creator>
      <dc:date>2025-12-15T07:55:03Z</dc:date>
    </item>
  </channel>
</rss>

