<?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 transaction or join where the search field changes but another field is common in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/transaction-or-join-where-the-search-field-changes-but-another/m-p/119141#M31915</link>
    <description>&lt;P&gt;Hi I have a log with entries similar to below&lt;/P&gt;

&lt;P&gt;11:32:12,988 INFO [LOG TYPE: REQUEST] [REQUEST ID:46783e96-e146-4d35-9a3a-5ff95226a8bb] ...&lt;BR /&gt;
11:32:14,364 SEVERE [LOG TYPE:EXCEPTION] [REQUEST ID:46783e96-e146-4d35-9a3a-5ff95226a8bb] ...&lt;BR /&gt;
11:32:14,364 INFO  [LOG TYPE:RESPONSE] [REQUEST ID:46783e96-e146-4d35-9a3a-5ff95226a8bb] ...&lt;/P&gt;

&lt;P&gt;What I'm looking for is a search which displays all 3 which have the same REQUEST ID if it finds a SEVERE or LOG TYPE:EXCEPTION&lt;/P&gt;

&lt;P&gt;Transaction almost sounds like what I want so I tried the following&lt;/P&gt;

&lt;P&gt;sourcetype=cas SEVERE | transaction RequestId maxspan=5s maxpause=5s&lt;/P&gt;

&lt;P&gt;However this only brings back the SEVERE entry.&lt;/P&gt;

&lt;P&gt;Is there a way to do this with transaction or should I be looking at JOIN?&lt;/P&gt;

&lt;P&gt;Thanks for your assistance&lt;/P&gt;</description>
    <pubDate>Thu, 21 May 2015 06:12:28 GMT</pubDate>
    <dc:creator>stewartevans</dc:creator>
    <dc:date>2015-05-21T06:12:28Z</dc:date>
    <item>
      <title>transaction or join where the search field changes but another field is common</title>
      <link>https://community.splunk.com/t5/Splunk-Search/transaction-or-join-where-the-search-field-changes-but-another/m-p/119141#M31915</link>
      <description>&lt;P&gt;Hi I have a log with entries similar to below&lt;/P&gt;

&lt;P&gt;11:32:12,988 INFO [LOG TYPE: REQUEST] [REQUEST ID:46783e96-e146-4d35-9a3a-5ff95226a8bb] ...&lt;BR /&gt;
11:32:14,364 SEVERE [LOG TYPE:EXCEPTION] [REQUEST ID:46783e96-e146-4d35-9a3a-5ff95226a8bb] ...&lt;BR /&gt;
11:32:14,364 INFO  [LOG TYPE:RESPONSE] [REQUEST ID:46783e96-e146-4d35-9a3a-5ff95226a8bb] ...&lt;/P&gt;

&lt;P&gt;What I'm looking for is a search which displays all 3 which have the same REQUEST ID if it finds a SEVERE or LOG TYPE:EXCEPTION&lt;/P&gt;

&lt;P&gt;Transaction almost sounds like what I want so I tried the following&lt;/P&gt;

&lt;P&gt;sourcetype=cas SEVERE | transaction RequestId maxspan=5s maxpause=5s&lt;/P&gt;

&lt;P&gt;However this only brings back the SEVERE entry.&lt;/P&gt;

&lt;P&gt;Is there a way to do this with transaction or should I be looking at JOIN?&lt;/P&gt;

&lt;P&gt;Thanks for your assistance&lt;/P&gt;</description>
      <pubDate>Thu, 21 May 2015 06:12:28 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/transaction-or-join-where-the-search-field-changes-but-another/m-p/119141#M31915</guid>
      <dc:creator>stewartevans</dc:creator>
      <dc:date>2015-05-21T06:12:28Z</dc:date>
    </item>
    <item>
      <title>Re: transaction or join where the search field changes but another field is common</title>
      <link>https://community.splunk.com/t5/Splunk-Search/transaction-or-join-where-the-search-field-changes-but-another/m-p/119142#M31916</link>
      <description>&lt;P&gt;Comment for now as I'm half asleep spinning a theory:&lt;/P&gt;

&lt;P&gt;One thought is search for all records with a RequestId, do the transaction, and then use either a search or where command to filter the results to only include those. e.g.&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;sourcetype=cas RequestId=* | transaction RequestId ...   | search SEVERE
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Thu, 21 May 2015 06:28:30 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/transaction-or-join-where-the-search-field-changes-but-another/m-p/119142#M31916</guid>
      <dc:creator>acharlieh</dc:creator>
      <dc:date>2015-05-21T06:28:30Z</dc:date>
    </item>
    <item>
      <title>Re: transaction or join where the search field changes but another field is common</title>
      <link>https://community.splunk.com/t5/Splunk-Search/transaction-or-join-where-the-search-field-changes-but-another/m-p/119143#M31917</link>
      <description>&lt;P&gt;acharlieh you are a genius! It works!!&lt;/P&gt;</description>
      <pubDate>Thu, 21 May 2015 06:32:39 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/transaction-or-join-where-the-search-field-changes-but-another/m-p/119143#M31917</guid>
      <dc:creator>stewartevans</dc:creator>
      <dc:date>2015-05-21T06:32:39Z</dc:date>
    </item>
    <item>
      <title>Re: transaction or join where the search field changes but another field is common</title>
      <link>https://community.splunk.com/t5/Splunk-Search/transaction-or-join-where-the-search-field-changes-but-another/m-p/119144#M31918</link>
      <description>&lt;P&gt;Well excellent then! converted comment to an answer.&lt;/P&gt;</description>
      <pubDate>Thu, 21 May 2015 06:34:53 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/transaction-or-join-where-the-search-field-changes-but-another/m-p/119144#M31918</guid>
      <dc:creator>acharlieh</dc:creator>
      <dc:date>2015-05-21T06:34:53Z</dc:date>
    </item>
    <item>
      <title>Re: transaction or join where the search field changes but another field is common</title>
      <link>https://community.splunk.com/t5/Splunk-Search/transaction-or-join-where-the-search-field-changes-but-another/m-p/119145#M31919</link>
      <description>&lt;P&gt;Cheers, thanks for such a quick response&lt;/P&gt;</description>
      <pubDate>Thu, 21 May 2015 06:36:05 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/transaction-or-join-where-the-search-field-changes-but-another/m-p/119145#M31919</guid>
      <dc:creator>stewartevans</dc:creator>
      <dc:date>2015-05-21T06:36:05Z</dc:date>
    </item>
  </channel>
</rss>

