<?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 find event that is outside a transaction in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/how-to-find-event-that-is-outside-a-transaction/m-p/171587#M49179</link>
    <description>&lt;P&gt;@jgsco&lt;/P&gt;

&lt;P&gt;Use &lt;CODE&gt;| search _txn_orphan=1&lt;/CODE&gt; after the transaction. That should return only the "orphans".&lt;/P&gt;</description>
    <pubDate>Tue, 05 May 2015 00:51:32 GMT</pubDate>
    <dc:creator>aholzer</dc:creator>
    <dc:date>2015-05-05T00:51:32Z</dc:date>
    <item>
      <title>how to find event that is outside a transaction</title>
      <link>https://community.splunk.com/t5/Splunk-Search/how-to-find-event-that-is-outside-a-transaction/m-p/171584#M49176</link>
      <description>&lt;P&gt;The transaction command has been helping me to correlate two events. Is there a way for me to find out the event that is not falling into the transaction?&lt;/P&gt;

&lt;P&gt;event1, hostid&lt;BR /&gt;
event2, hostid&lt;/P&gt;

&lt;P&gt;|transaction hostid startswith=event1, endswith=event2 &lt;/P&gt;

&lt;P&gt;This will give me all the hostid that falls into both event1 and event2.  How do I find out the hostid which is ONLY in event1 or event2? &lt;/P&gt;

&lt;P&gt;Thanks,&lt;/P&gt;</description>
      <pubDate>Mon, 04 May 2015 15:35:52 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/how-to-find-event-that-is-outside-a-transaction/m-p/171584#M49176</guid>
      <dc:creator>jgcsco</dc:creator>
      <dc:date>2015-05-04T15:35:52Z</dc:date>
    </item>
    <item>
      <title>Re: how to find event that is outside a transaction</title>
      <link>https://community.splunk.com/t5/Splunk-Search/how-to-find-event-that-is-outside-a-transaction/m-p/171585#M49177</link>
      <description>&lt;P&gt;I believe the "keeporphans" flag is what you are looking for:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;keeporphans=&amp;amp;lt;bool&amp;amp;gt;
Description: Specify whether the transaction command should output the results that are not part of any transactions. The results that are passed through as "orphans" are distinguished from transaction events with a _txn_orphan field, which has a value of 1 for orphan results. Defaults to false.
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Got this from the &lt;A href="http://docs.splunk.com/Documentation/Splunk/latest/SearchReference/Transaction"&gt;Splunk docs on transactions&lt;/A&gt;.&lt;/P&gt;

&lt;P&gt;Hope this helps.&lt;/P&gt;</description>
      <pubDate>Mon, 04 May 2015 19:17:02 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/how-to-find-event-that-is-outside-a-transaction/m-p/171585#M49177</guid>
      <dc:creator>aholzer</dc:creator>
      <dc:date>2015-05-04T19:17:02Z</dc:date>
    </item>
    <item>
      <title>Re: how to find event that is outside a transaction</title>
      <link>https://community.splunk.com/t5/Splunk-Search/how-to-find-event-that-is-outside-a-transaction/m-p/171586#M49178</link>
      <description>&lt;P&gt;the keepophans will include hostid that is in both event1 and event2, as well either event1 or event2. However, I am interested in ONLY in event1 or event2.&lt;/P&gt;</description>
      <pubDate>Mon, 04 May 2015 21:07:14 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/how-to-find-event-that-is-outside-a-transaction/m-p/171586#M49178</guid>
      <dc:creator>jgcsco</dc:creator>
      <dc:date>2015-05-04T21:07:14Z</dc:date>
    </item>
    <item>
      <title>Re: how to find event that is outside a transaction</title>
      <link>https://community.splunk.com/t5/Splunk-Search/how-to-find-event-that-is-outside-a-transaction/m-p/171587#M49179</link>
      <description>&lt;P&gt;@jgsco&lt;/P&gt;

&lt;P&gt;Use &lt;CODE&gt;| search _txn_orphan=1&lt;/CODE&gt; after the transaction. That should return only the "orphans".&lt;/P&gt;</description>
      <pubDate>Tue, 05 May 2015 00:51:32 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/how-to-find-event-that-is-outside-a-transaction/m-p/171587#M49179</guid>
      <dc:creator>aholzer</dc:creator>
      <dc:date>2015-05-05T00:51:32Z</dc:date>
    </item>
    <item>
      <title>Re: how to find event that is outside a transaction</title>
      <link>https://community.splunk.com/t5/Splunk-Search/how-to-find-event-that-is-outside-a-transaction/m-p/171588#M49180</link>
      <description>&lt;P&gt;Thanks! That worked.&lt;/P&gt;</description>
      <pubDate>Tue, 05 May 2015 01:26:45 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/how-to-find-event-that-is-outside-a-transaction/m-p/171588#M49180</guid>
      <dc:creator>jgcsco</dc:creator>
      <dc:date>2015-05-05T01:26:45Z</dc:date>
    </item>
  </channel>
</rss>

