<?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 to make transaction command take earliest event as startswith in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/How-to-make-transaction-command-take-earliest-event-as/m-p/644803#M109737</link>
    <description>&lt;P&gt;That is the nature of &lt;FONT face="courier new,courier"&gt;transaction&lt;/FONT&gt;.&amp;nbsp; Because it sees events in reverse time order, it assumes the first "MST" it sees (the latest one), is the one that it wants.&amp;nbsp; There is no setting that changes that.&lt;/P&gt;&lt;P&gt;You may be able to use other fields to force it into picking another MST event.&amp;nbsp; Perhaps the number in brackets can be used to pair the endswith with the right startswith.&lt;/P&gt;</description>
    <pubDate>Sat, 27 May 2023 00:33:14 GMT</pubDate>
    <dc:creator>richgalloway</dc:creator>
    <dc:date>2023-05-27T00:33:14Z</dc:date>
    <item>
      <title>How to make transaction command take earliest event as startswith</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-to-make-transaction-command-take-earliest-event-as/m-p/644793#M109736</link>
      <description>&lt;P&gt;Hello Splunkers ,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am trying to build a query where I am using a transaction command which starts with MST and endswith Boot timestamp&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;| transaction host startswith="Starting MST" endswith="B timestamp:" maxspan=15m keepevicted=1&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;But in the raw events I have two events which starts with MST and I want to take the first one..but the transaction command takes the latest instead of earliest...how can I make the transaction command use earliest startswith event&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN class=""&gt;2023-05-25T15:03:28.506750-07:00&lt;/SPAN&gt; &lt;SPAN class=""&gt;ABC&lt;/SPAN&gt; &lt;SPAN class=""&gt;log-.sh&lt;/SPAN&gt;&lt;SPAN&gt;[&lt;/SPAN&gt;&lt;SPAN class=""&gt;20252&lt;/SPAN&gt;&lt;SPAN&gt;]&lt;/SPAN&gt;&lt;SPAN class=""&gt;:&lt;/SPAN&gt; &lt;SPAN class=""&gt;&lt;SPAN class=""&gt;Starting&lt;/SPAN&gt; &lt;SPAN class=""&gt;MST&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN&gt; (sftware&lt;/SPAN&gt;&lt;SPAN&gt;) &lt;/SPAN&gt;&lt;SPAN class=""&gt;driver&lt;/SPAN&gt; &lt;SPAN class=""&gt;set&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class=""&gt;2023-05-25T15:03:38.455201-07:00&lt;/SPAN&gt; &lt;SPAN class=""&gt;ABC&lt;/SPAN&gt;&amp;nbsp;&lt;SPAN class=""&gt;log-.sh&lt;/SPAN&gt;&lt;SPAN&gt;[&lt;/SPAN&gt;&lt;SPAN class=""&gt;22116&lt;/SPAN&gt;&lt;SPAN&gt;]&lt;/SPAN&gt;&lt;SPAN class=""&gt;:&lt;/SPAN&gt; &lt;SPAN class=""&gt;&lt;SPAN class=""&gt;Starting&lt;/SPAN&gt; &lt;SPAN class=""&gt;MST&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN&gt; (sftware&lt;/SPAN&gt;&lt;SPAN&gt;) &lt;/SPAN&gt;&lt;SPAN class=""&gt;driver&lt;/SPAN&gt; &lt;SPAN class=""&gt;set&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class=""&gt;2023-05-25T15:04:11.372010-07:00&lt;/SPAN&gt; &lt;SPAN class=""&gt;ABC&lt;/SPAN&gt;&amp;nbsp;&lt;SPAN class=""&gt;log-.sh&lt;/SPAN&gt;&lt;SPAN&gt;[&lt;/SPAN&gt;&lt;SPAN class=""&gt;24041&lt;/SPAN&gt;&lt;SPAN&gt;]&lt;/SPAN&gt;&lt;SPAN class=""&gt;:&lt;/SPAN&gt; &lt;SPAN class=""&gt;&lt;SPAN class=""&gt;B&lt;/SPAN&gt;&lt;/SPAN&gt;&amp;nbsp;&lt;SPAN class=""&gt;timestamp:&lt;/SPAN&gt; &lt;SPAN class=""&gt;2023-05-25&lt;/SPAN&gt; &lt;SPAN class=""&gt;14:59:16&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;SPAN class=""&gt;2023-05-25T15:04:11.367392-07:00&lt;/SPAN&gt; &lt;SPAN class=""&gt;ABC&lt;/SPAN&gt; &lt;SPAN class=""&gt;log-&lt;/SPAN&gt;&lt;SPAN class=""&gt;.sh&lt;/SPAN&gt;&lt;SPAN&gt;[&lt;/SPAN&gt;&lt;SPAN class=""&gt;24041&lt;/SPAN&gt;&lt;SPAN&gt;]&lt;/SPAN&gt;&lt;SPAN class=""&gt;:&lt;/SPAN&gt; &lt;SPAN class=""&gt;&lt;SPAN class=""&gt;SN&lt;/SPAN&gt;:&lt;/SPAN&gt; &lt;SPAN class=""&gt;16234567890&lt;BR /&gt;&lt;BR /&gt;Thanks in Advance&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 26 May 2023 22:21:54 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-to-make-transaction-command-take-earliest-event-as/m-p/644793#M109736</guid>
      <dc:creator>power12</dc:creator>
      <dc:date>2023-05-26T22:21:54Z</dc:date>
    </item>
    <item>
      <title>Re: How to make transaction command take earliest event as startswith</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-to-make-transaction-command-take-earliest-event-as/m-p/644803#M109737</link>
      <description>&lt;P&gt;That is the nature of &lt;FONT face="courier new,courier"&gt;transaction&lt;/FONT&gt;.&amp;nbsp; Because it sees events in reverse time order, it assumes the first "MST" it sees (the latest one), is the one that it wants.&amp;nbsp; There is no setting that changes that.&lt;/P&gt;&lt;P&gt;You may be able to use other fields to force it into picking another MST event.&amp;nbsp; Perhaps the number in brackets can be used to pair the endswith with the right startswith.&lt;/P&gt;</description>
      <pubDate>Sat, 27 May 2023 00:33:14 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-to-make-transaction-command-take-earliest-event-as/m-p/644803#M109737</guid>
      <dc:creator>richgalloway</dc:creator>
      <dc:date>2023-05-27T00:33:14Z</dc:date>
    </item>
  </channel>
</rss>

