<?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 do I search for the Errored Transaction_IDs ONLY, then take those Errored TIDs and search for each entry related to them? in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/How-do-I-search-for-the-Errored-Transaction-IDs-ONLY-then-take/m-p/255850#M76621</link>
    <description>&lt;P&gt;This worked perfctly. Thanks ryoji_solsys.&lt;/P&gt;

&lt;P&gt;transaction fields=TID &lt;/P&gt;

&lt;P&gt;WOW!!!! I think you know what I wanted better than I did. This is perfect!!!!! Thanks for all the help everyone.&lt;/P&gt;</description>
    <pubDate>Thu, 01 Sep 2016 23:54:47 GMT</pubDate>
    <dc:creator>shariefc</dc:creator>
    <dc:date>2016-09-01T23:54:47Z</dc:date>
    <item>
      <title>How do I search for the Errored Transaction_IDs ONLY, then take those Errored TIDs and search for each entry related to them?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-do-I-search-for-the-Errored-Transaction-IDs-ONLY-then-take/m-p/255844#M76615</link>
      <description>&lt;PRE&gt;&lt;CODE&gt;index=my_server sourcetype=server1_log NOT "status=SUCCESS" "client_id=my_client"
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;returns&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;TID=0101010101 client_id=my_client action=response status=ERROR 
TID=0101010102 client_id=my_client action=response status=ERROR 
TID=0101010103 client_id=my_client action=response status=ERROR 
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Now I want to take the list of Errored TIDs the first search returns and do another search that returns everything related to each TID including the parts that were successful.&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;TID=0101010101 client_id=my_client action=request status=SUCCESS
TID=0101010101 client_id=my_client action=begin status=SUCCESS
TID=0101010101 client_id=my_client action=middle status=SUCCESS
TID=0101010101 client_id=my_client action=end status=SUCCESS
TID=0101010101 lient_id=my_client action=response status=ERROR
...
TID=0101010102 client_id=my_client action=request status=SUCCESS
TID=0101010102 client_id=my_client action=begin status=SUCCESS
TID=0101010102 client_id=my_client action=middle status=SUCCESS
TID=0101010102 client_id=my_client action=end status=SUCCESS
TID=0101010102 lient_id=my_client action=response status=ERROR
...
TID=0101010103 client_id=my_client action=request status=SUCCESS
TID=0101010103 client_id=my_client action=begin status=SUCCESS
TID=0101010103 client_id=my_client action=middle status=SUCCESS
TID=0101010103 client_id=my_client action=end status=SUCCESS
TID=0101010103 client_id=my_client action=response status=ERROR
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Wed, 31 Aug 2016 19:18:37 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-do-I-search-for-the-Errored-Transaction-IDs-ONLY-then-take/m-p/255844#M76615</guid>
      <dc:creator>shariefc</dc:creator>
      <dc:date>2016-08-31T19:18:37Z</dc:date>
    </item>
    <item>
      <title>Re: How do I search for the Errored Transaction_IDs ONLY, then take those Errored TIDs and search for each entry related to them?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-do-I-search-for-the-Errored-Transaction-IDs-ONLY-then-take/m-p/255845#M76616</link>
      <description>&lt;P&gt;Try this&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;index=my_server sourcetype=server1_log | extract pairdelim=" " kvdelim="=" | eventstats count(eval(status="ERROR")) as err by client_id TID | where err&amp;gt;0 
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Wed, 31 Aug 2016 20:24:35 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-do-I-search-for-the-Errored-Transaction-IDs-ONLY-then-take/m-p/255845#M76616</guid>
      <dc:creator>sundareshr</dc:creator>
      <dc:date>2016-08-31T20:24:35Z</dc:date>
    </item>
    <item>
      <title>Re: How do I search for the Errored Transaction_IDs ONLY, then take those Errored TIDs and search for each entry related to them?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-do-I-search-for-the-Errored-Transaction-IDs-ONLY-then-take/m-p/255846#M76617</link>
      <description>&lt;P&gt;Would you like to try this ... &lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;index=my_server sourcetype=server1_log  [ | search index=my_server sourcetype=server1_log NOT "status=SUCCESS" "client_id=my_client" | fields TID]
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Thu, 01 Sep 2016 16:39:09 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-do-I-search-for-the-Errored-Transaction-IDs-ONLY-then-take/m-p/255846#M76617</guid>
      <dc:creator>ryoji_solsys</dc:creator>
      <dc:date>2016-09-01T16:39:09Z</dc:date>
    </item>
    <item>
      <title>Re: How do I search for the Errored Transaction_IDs ONLY, then take those Errored TIDs and search for each entry related to them?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-do-I-search-for-the-Errored-Transaction-IDs-ONLY-then-take/m-p/255847#M76618</link>
      <description>&lt;P&gt;If you want all the events to be in one transaction, just add &lt;CODE&gt;| transaction fields=TID&lt;/CODE&gt; at the end of the query above. &lt;/P&gt;

&lt;P&gt;E.g. &lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;index=my_server sourcetype=server1_log [ | search index=my_server sourcetype=server1_log NOT "status=SUCCESS" "client_id=my_client" | fields TID] | transaction fields=TID
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Thu, 01 Sep 2016 16:41:58 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-do-I-search-for-the-Errored-Transaction-IDs-ONLY-then-take/m-p/255847#M76618</guid>
      <dc:creator>ryoji_solsys</dc:creator>
      <dc:date>2016-09-01T16:41:58Z</dc:date>
    </item>
    <item>
      <title>Re: How do I search for the Errored Transaction_IDs ONLY, then take those Errored TIDs and search for each entry related to them?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-do-I-search-for-the-Errored-Transaction-IDs-ONLY-then-take/m-p/255848#M76619</link>
      <description>&lt;P&gt;Thanks sundareshr I tried this but it was not exactly what I wanted. Maybe I didn't explain myself properly.&lt;/P&gt;</description>
      <pubDate>Thu, 01 Sep 2016 23:51:02 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-do-I-search-for-the-Errored-Transaction-IDs-ONLY-then-take/m-p/255848#M76619</guid>
      <dc:creator>shariefc</dc:creator>
      <dc:date>2016-09-01T23:51:02Z</dc:date>
    </item>
    <item>
      <title>Re: How do I search for the Errored Transaction_IDs ONLY, then take those Errored TIDs and search for each entry related to them?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-do-I-search-for-the-Errored-Transaction-IDs-ONLY-then-take/m-p/255849#M76620</link>
      <description>&lt;P&gt;This worked perfctly. Thanks ryoji_solsys.&lt;/P&gt;</description>
      <pubDate>Thu, 01 Sep 2016 23:52:11 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-do-I-search-for-the-Errored-Transaction-IDs-ONLY-then-take/m-p/255849#M76620</guid>
      <dc:creator>shariefc</dc:creator>
      <dc:date>2016-09-01T23:52:11Z</dc:date>
    </item>
    <item>
      <title>Re: How do I search for the Errored Transaction_IDs ONLY, then take those Errored TIDs and search for each entry related to them?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-do-I-search-for-the-Errored-Transaction-IDs-ONLY-then-take/m-p/255850#M76621</link>
      <description>&lt;P&gt;This worked perfctly. Thanks ryoji_solsys.&lt;/P&gt;

&lt;P&gt;transaction fields=TID &lt;/P&gt;

&lt;P&gt;WOW!!!! I think you know what I wanted better than I did. This is perfect!!!!! Thanks for all the help everyone.&lt;/P&gt;</description>
      <pubDate>Thu, 01 Sep 2016 23:54:47 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-do-I-search-for-the-Errored-Transaction-IDs-ONLY-then-take/m-p/255850#M76621</guid>
      <dc:creator>shariefc</dc:creator>
      <dc:date>2016-09-01T23:54:47Z</dc:date>
    </item>
  </channel>
</rss>

