<?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 Why is my transaction search grouping two start events together and no end? in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/Why-is-my-transaction-search-grouping-two-start-events-together/m-p/268577#M80788</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;

&lt;P&gt;I am trying to create transactions that begin with a start event and end with an end event, so I can find events that only have a start event and no end. My current search is:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;... | transaction maxspan=1d keeporphans=true maxevents=2 deviceID startswith(type="start") endswith(type="end")
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;However, Splunk keeps grouping together two start events when it can't find an end. For example, if the event log looks like ......start.......start..........end....... I want it to group the 2nd start and end together and leave the first start as an orphan but splunk groups the two starts together despite my startswith and endswith condition. Any help would be greatly appreciated! Thanks!&lt;/P&gt;</description>
    <pubDate>Thu, 21 Jul 2016 18:15:36 GMT</pubDate>
    <dc:creator>brianlee12</dc:creator>
    <dc:date>2016-07-21T18:15:36Z</dc:date>
    <item>
      <title>Why is my transaction search grouping two start events together and no end?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Why-is-my-transaction-search-grouping-two-start-events-together/m-p/268577#M80788</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;

&lt;P&gt;I am trying to create transactions that begin with a start event and end with an end event, so I can find events that only have a start event and no end. My current search is:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;... | transaction maxspan=1d keeporphans=true maxevents=2 deviceID startswith(type="start") endswith(type="end")
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;However, Splunk keeps grouping together two start events when it can't find an end. For example, if the event log looks like ......start.......start..........end....... I want it to group the 2nd start and end together and leave the first start as an orphan but splunk groups the two starts together despite my startswith and endswith condition. Any help would be greatly appreciated! Thanks!&lt;/P&gt;</description>
      <pubDate>Thu, 21 Jul 2016 18:15:36 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Why-is-my-transaction-search-grouping-two-start-events-together/m-p/268577#M80788</guid>
      <dc:creator>brianlee12</dc:creator>
      <dc:date>2016-07-21T18:15:36Z</dc:date>
    </item>
    <item>
      <title>Re: Why is my transaction search grouping two start events together and no end?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Why-is-my-transaction-search-grouping-two-start-events-together/m-p/268578#M80789</link>
      <description>&lt;P&gt;Try this&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;| transaction keepevicted=t deviceID startswith="start" endswith="end" | 
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Thu, 21 Jul 2016 18:25:53 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Why-is-my-transaction-search-grouping-two-start-events-together/m-p/268578#M80789</guid>
      <dc:creator>sundareshr</dc:creator>
      <dc:date>2016-07-21T18:25:53Z</dc:date>
    </item>
    <item>
      <title>Re: Why is my transaction search grouping two start events together and no end?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Why-is-my-transaction-search-grouping-two-start-events-together/m-p/268579#M80790</link>
      <description>&lt;P&gt;Switching from startswith(type="start") endswith(type="end") to startswith="start" endswith="end" worked for me but could you explain why? I parse the type before the transaction so I don't see how this should affect it.&lt;/P&gt;</description>
      <pubDate>Thu, 21 Jul 2016 18:30:19 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Why-is-my-transaction-search-grouping-two-start-events-together/m-p/268579#M80790</guid>
      <dc:creator>brianlee12</dc:creator>
      <dc:date>2016-07-21T18:30:19Z</dc:date>
    </item>
  </channel>
</rss>

