<?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 How do I split the output of the join in Splunk in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/How-do-I-split-the-output-of-the-join-in-Splunk/m-p/205728#M59823</link>
    <description>&lt;P&gt;I have a splunk join between a synchornous event and an asynchornous event. The only join condition between these are just a correlation id. I am able to get the join but I want to now know what are the actual reason which caused it and would like to see the part of a join . How do I do that.&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;index=xyz platform=apns batch=496 event="NEAT-IN"  | join type=outer alertId [ search index=xyz event=cloudPns*  ] | stats count by responseCode
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Now if the responseCode is 8 then I have a problem but I want to see all the events with event=cloudPns* alone for this join condition .&lt;/P&gt;

&lt;P&gt;I tried where but it gave me 0 results.&lt;BR /&gt;
what I tried is this:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;index=qa-speed platform=apns batch=496 event="NEAT-IN"  | join type=outer alertId [ search index=qa-speed event=cloudPns*  ] |search where event=cloudPns*
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;How do I achieve this . I basically want to see the output of the right part of the join.&lt;/P&gt;</description>
    <pubDate>Mon, 07 Sep 2015 07:01:56 GMT</pubDate>
    <dc:creator>arungeorge09</dc:creator>
    <dc:date>2015-09-07T07:01:56Z</dc:date>
    <item>
      <title>How do I split the output of the join in Splunk</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-do-I-split-the-output-of-the-join-in-Splunk/m-p/205728#M59823</link>
      <description>&lt;P&gt;I have a splunk join between a synchornous event and an asynchornous event. The only join condition between these are just a correlation id. I am able to get the join but I want to now know what are the actual reason which caused it and would like to see the part of a join . How do I do that.&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;index=xyz platform=apns batch=496 event="NEAT-IN"  | join type=outer alertId [ search index=xyz event=cloudPns*  ] | stats count by responseCode
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Now if the responseCode is 8 then I have a problem but I want to see all the events with event=cloudPns* alone for this join condition .&lt;/P&gt;

&lt;P&gt;I tried where but it gave me 0 results.&lt;BR /&gt;
what I tried is this:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;index=qa-speed platform=apns batch=496 event="NEAT-IN"  | join type=outer alertId [ search index=qa-speed event=cloudPns*  ] |search where event=cloudPns*
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;How do I achieve this . I basically want to see the output of the right part of the join.&lt;/P&gt;</description>
      <pubDate>Mon, 07 Sep 2015 07:01:56 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-do-I-split-the-output-of-the-join-in-Splunk/m-p/205728#M59823</guid>
      <dc:creator>arungeorge09</dc:creator>
      <dc:date>2015-09-07T07:01:56Z</dc:date>
    </item>
    <item>
      <title>Re: How do I split the output of the join in Splunk</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-do-I-split-the-output-of-the-join-in-Splunk/m-p/205729#M59824</link>
      <description>&lt;P&gt;Using the &lt;EM&gt;join&lt;/EM&gt; command will literally &lt;EM&gt;join&lt;/EM&gt; events together so you cannot then search only for part of an event. If you wanted to return the raw event from the righthand join you could maybe rename the &lt;EM&gt;_raw&lt;/EM&gt; field before the join and then table it like this:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt; index=qa-speed platform=apns batch=496 event="NEAT-IN"  | join type=outer alertId [ search index=qa-speed event=cloudPns* | rename _raw AS rawEvent ] | table rawEvent
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Mon, 07 Sep 2015 13:49:25 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-do-I-split-the-output-of-the-join-in-Splunk/m-p/205729#M59824</guid>
      <dc:creator>lquinn</dc:creator>
      <dc:date>2015-09-07T13:49:25Z</dc:date>
    </item>
  </channel>
</rss>

