<?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: Multiple Transactions in a Single Search in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/Multiple-Transactions-in-a-Single-Search/m-p/16112#M1889</link>
    <description>&lt;P&gt;You should be able to just use a single transaction command: &lt;CODE&gt;...|transaction ReqId trackerid | search sourcetype="corps_app_audit" AND sourcetype="corps_app_error"&lt;/CODE&gt;&lt;/P&gt;

&lt;P&gt;If an event is missing a transaction field (trackerid), but matches on others (ReqId), it will still be included in the transaction.&lt;/P&gt;</description>
    <pubDate>Fri, 25 Jun 2010 00:52:47 GMT</pubDate>
    <dc:creator>gkanapathy</dc:creator>
    <dc:date>2010-06-25T00:52:47Z</dc:date>
    <item>
      <title>Multiple Transactions in a Single Search</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Multiple-Transactions-in-a-Single-Search/m-p/16111#M1888</link>
      <description>&lt;P&gt;I am trying to link events from two separate sourcetypes together that have different fields available. The "corps_app_error" sourcetype only has ReqId available, while the "corps_app_audit" sourcetype has both ReqId and trackerid. I want all events with the same trackerid or ReqId to become a single transaction. I then want to find all transactions with both sourcetypes within them (To find which transactions had errors essentially).&lt;/P&gt;

&lt;P&gt;However, when I do a search with two "transaction" strings the results go blank. An OR within the transaction doesn't appear to give me the results I'm after as well.&lt;/P&gt;

&lt;P&gt;sourcetype="corps_app_error" OR (sourcetype="corps_app_audit" operation=CreatePIN ref_operation=CreatePIN step=Resolve) | transaction keepevicted=true ReqId | transaction keepevicted=true trackerid | search sourcetype="corps_app_audit" AND sourcetype="corps_app_error"&lt;/P&gt;

&lt;P&gt;Any suggestions?&lt;/P&gt;

&lt;P&gt;The first answer doesn't seem to work for me. If I do the search:&lt;/P&gt;

&lt;P&gt;sourcetype="corps_app_error" OR (sourcetype="corps_app_audit" operation=CreatePIN step=Resolve method=NBPart OR method=RtlCust OR method=eWPEmp begin) | transaction keepevicted=true ReqId | search sourcetype="corps_app_audit" AND sourcetype="corps_app_error" trackerid="4c24c2810a060c7c20005f3a0016aa33" | transaction keepevicted=true trackerid&lt;/P&gt;

&lt;P&gt;I get 1 result and it tells me 1 event showing yet I can't see any events listed. Basically the events pane is blank.&lt;/P&gt;

&lt;P&gt;While if I do the search:&lt;/P&gt;

&lt;P&gt;sourcetype="corps_app_error" OR (sourcetype="corps_app_audit" operation=CreatePIN step=Resolve method=NBPart OR method=RtlCust OR method=eWPEmp begin) | transaction keepevicted=true ReqId trackerid | search sourcetype="corps_app_audit" AND sourcetype="corps_app_error" trackerid="4c24c2810a060c7c20005f3a0016aa33"&lt;/P&gt;

&lt;P&gt;I get 9 results and the trackerid's are not combined into a single transaction like I expect them to be.&lt;/P&gt;</description>
      <pubDate>Thu, 24 Jun 2010 23:59:51 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Multiple-Transactions-in-a-Single-Search/m-p/16111#M1888</guid>
      <dc:creator>bryancrabtree</dc:creator>
      <dc:date>2010-06-24T23:59:51Z</dc:date>
    </item>
    <item>
      <title>Re: Multiple Transactions in a Single Search</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Multiple-Transactions-in-a-Single-Search/m-p/16112#M1889</link>
      <description>&lt;P&gt;You should be able to just use a single transaction command: &lt;CODE&gt;...|transaction ReqId trackerid | search sourcetype="corps_app_audit" AND sourcetype="corps_app_error"&lt;/CODE&gt;&lt;/P&gt;

&lt;P&gt;If an event is missing a transaction field (trackerid), but matches on others (ReqId), it will still be included in the transaction.&lt;/P&gt;</description>
      <pubDate>Fri, 25 Jun 2010 00:52:47 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Multiple-Transactions-in-a-Single-Search/m-p/16112#M1889</guid>
      <dc:creator>gkanapathy</dc:creator>
      <dc:date>2010-06-25T00:52:47Z</dc:date>
    </item>
  </channel>
</rss>

