<?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 edit my search to find orphaned transactions older than 1 minute? in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/How-to-edit-my-search-to-find-orphaned-transactions-older-than-1/m-p/254747#M76297</link>
    <description>&lt;P&gt;Still no luck. I find 4 orphaned transactions (from over an hour ago) without the additional constraint and none with it. Let me know if there's any additional information I can provide.&lt;/P&gt;</description>
    <pubDate>Thu, 26 Jan 2017 16:12:14 GMT</pubDate>
    <dc:creator>recurse</dc:creator>
    <dc:date>2017-01-26T16:12:14Z</dc:date>
    <item>
      <title>How to edit my search to find orphaned transactions older than 1 minute?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-edit-my-search-to-find-orphaned-transactions-older-than-1/m-p/254742#M76292</link>
      <description>&lt;P&gt;Hello. I have a search that looks for orphaned transactions, as follows:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[...main search...]
| transaction request_id keeporphans=true maxspan=1m 
| search _txn_orphan=1
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;It currently works, but sometimes yields false negatives if a transaction happens to be in the middle of processing within the last minute. I'm trying to amend my search to only return orphans that occurred at least a minute ago, but am not having any luck:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[...main search...]
| transaction request_id keeporphans=true maxspan=1m 
| search _txn_orphan=1 latest=-1m
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Anyone have any ideas on how to accomplish this? I've tried several variations of date math without any luck.&lt;/P&gt;</description>
      <pubDate>Thu, 26 Jan 2017 15:29:31 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-edit-my-search-to-find-orphaned-transactions-older-than-1/m-p/254742#M76292</guid>
      <dc:creator>recurse</dc:creator>
      <dc:date>2017-01-26T15:29:31Z</dc:date>
    </item>
    <item>
      <title>Re: How to edit my search to find orphaned transactions older than 1 minute?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-edit-my-search-to-find-orphaned-transactions-older-than-1/m-p/254743#M76293</link>
      <description>&lt;P&gt;Try like this&lt;/P&gt;

&lt;P&gt;&lt;STRONG&gt;Updated comparison operator of where clause&lt;/STRONG&gt;&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[...main search...]
 | transaction request_id keeporphans=true maxspan=1m 
 | where _txn_orphan=1 AND _time&amp;lt;relative_time(now(),"-1m@m")
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Thu, 26 Jan 2017 15:34:10 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-edit-my-search-to-find-orphaned-transactions-older-than-1/m-p/254743#M76293</guid>
      <dc:creator>somesoni2</dc:creator>
      <dc:date>2017-01-26T15:34:10Z</dc:date>
    </item>
    <item>
      <title>Re: How to edit my search to find orphaned transactions older than 1 minute?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-edit-my-search-to-find-orphaned-transactions-older-than-1/m-p/254744#M76294</link>
      <description>&lt;P&gt;Thanks for the reply - I hadn't tried a variation with the '@m' suffix. Unfortunately, it excludes all of my results, including those which are older than 1m ago. Baffling.&lt;/P&gt;</description>
      <pubDate>Thu, 26 Jan 2017 15:46:05 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-edit-my-search-to-find-orphaned-transactions-older-than-1/m-p/254744#M76294</guid>
      <dc:creator>recurse</dc:creator>
      <dc:date>2017-01-26T15:46:05Z</dc:date>
    </item>
    <item>
      <title>Re: How to edit my search to find orphaned transactions older than 1 minute?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-edit-my-search-to-find-orphaned-transactions-older-than-1/m-p/254745#M76295</link>
      <description>&lt;P&gt;Also, I switched &amp;gt; to &amp;lt; to align with what I'm looking for, still no luck.&lt;/P&gt;</description>
      <pubDate>Thu, 26 Jan 2017 15:50:23 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-edit-my-search-to-find-orphaned-transactions-older-than-1/m-p/254745#M76295</guid>
      <dc:creator>recurse</dc:creator>
      <dc:date>2017-01-26T15:50:23Z</dc:date>
    </item>
    <item>
      <title>Re: How to edit my search to find orphaned transactions older than 1 minute?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-edit-my-search-to-find-orphaned-transactions-older-than-1/m-p/254746#M76296</link>
      <description>&lt;P&gt;The comparison operator should've been &lt;CODE&gt;&amp;lt;&lt;/CODE&gt;, updated the same. Try with just &lt;CODE&gt;-1m&lt;/CODE&gt; instead of &lt;CODE&gt;-1m@m&lt;/CODE&gt;. Let us know if it doesn't work and what the problem is?&lt;/P&gt;</description>
      <pubDate>Thu, 26 Jan 2017 15:53:36 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-edit-my-search-to-find-orphaned-transactions-older-than-1/m-p/254746#M76296</guid>
      <dc:creator>somesoni2</dc:creator>
      <dc:date>2017-01-26T15:53:36Z</dc:date>
    </item>
    <item>
      <title>Re: How to edit my search to find orphaned transactions older than 1 minute?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-edit-my-search-to-find-orphaned-transactions-older-than-1/m-p/254747#M76297</link>
      <description>&lt;P&gt;Still no luck. I find 4 orphaned transactions (from over an hour ago) without the additional constraint and none with it. Let me know if there's any additional information I can provide.&lt;/P&gt;</description>
      <pubDate>Thu, 26 Jan 2017 16:12:14 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-edit-my-search-to-find-orphaned-transactions-older-than-1/m-p/254747#M76297</guid>
      <dc:creator>recurse</dc:creator>
      <dc:date>2017-01-26T16:12:14Z</dc:date>
    </item>
    <item>
      <title>Re: How to edit my search to find orphaned transactions older than 1 minute?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-edit-my-search-to-find-orphaned-transactions-older-than-1/m-p/254748#M76298</link>
      <description>&lt;P&gt;I guess we need more information on how things are logged (with samples) in your data. How can we differentiate between an orphan and in-progress transaction? I believe that's where you're getting false +ve and that's what we need to fix.&lt;/P&gt;</description>
      <pubDate>Thu, 26 Jan 2017 16:31:01 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-edit-my-search-to-find-orphaned-transactions-older-than-1/m-p/254748#M76298</guid>
      <dc:creator>somesoni2</dc:creator>
      <dc:date>2017-01-26T16:31:01Z</dc:date>
    </item>
    <item>
      <title>Re: How to edit my search to find orphaned transactions older than 1 minute?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-edit-my-search-to-find-orphaned-transactions-older-than-1/m-p/254749#M76299</link>
      <description>&lt;P&gt;Oh, I missed your addition of the 'where' clause in the edit. I added that and it's working great. Thank you!&lt;/P&gt;</description>
      <pubDate>Thu, 26 Jan 2017 19:28:18 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-edit-my-search-to-find-orphaned-transactions-older-than-1/m-p/254749#M76299</guid>
      <dc:creator>recurse</dc:creator>
      <dc:date>2017-01-26T19:28:18Z</dc:date>
    </item>
  </channel>
</rss>

