<?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 do postprocessing without a join? in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/How-to-do-postprocessing-without-a-join/m-p/378558#M110967</link>
    <description>&lt;P&gt;Thanks&lt;BR /&gt;
Just one concern :&lt;/P&gt;

&lt;P&gt;The OR will give results belonging to caller-id in index=abc  +  the results belonging to index=pqr &lt;/P&gt;

&lt;P&gt;here pqr might contain data belonging to other caller-ids as well &lt;/P&gt;

&lt;P&gt;The flow is like&lt;/P&gt;

&lt;P&gt;the data belonging to caller-ids in first index and the data belonging to same caller-id belonging to 2nd index is same on the basis of transaction id &lt;/P&gt;

&lt;P&gt;the caller-id value changes when the data flows from index abc to index pqr&lt;/P&gt;

&lt;P&gt;note, pqr is the 2nd layer(or entry point) to index layer abc&lt;/P&gt;</description>
    <pubDate>Sat, 28 Jul 2018 17:49:05 GMT</pubDate>
    <dc:creator>Mohsin123</dc:creator>
    <dc:date>2018-07-28T17:49:05Z</dc:date>
    <item>
      <title>How to do postprocessing without a join?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-do-postprocessing-without-a-join/m-p/378556#M110965</link>
      <description>&lt;P&gt;index=abc  caller-id IN ("8179f4c86", "926bbcf8957a") component=Chatbot &lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;| join transaction id 
    [ search index=pqr component=$MSComp$
    logpoint=response-out (status="ok" OR status="error" OR status="failure" OR status="timeout")] 
| timechart span=$span$ count(eval(status="ok")) as Success count(eval(status="error")) as Error ,count(status) as total 
| eval Success=round((Success/total)*100,2) 
| eval Error=round((Error/total)*100,2) 
| eval failure=100-(Success+Error) 
| fields _time, failure ,Error,Success
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;I have lots of panels where this join is made.&lt;BR /&gt;
Please help me with postprocessing without a join. &lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;condition is : transaction -ids for the caller-ids in abc index is ame as  transaction-ids in index pqr
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Sat, 28 Jul 2018 10:50:06 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-do-postprocessing-without-a-join/m-p/378556#M110965</guid>
      <dc:creator>Mohsin123</dc:creator>
      <dc:date>2018-07-28T10:50:06Z</dc:date>
    </item>
    <item>
      <title>Re: How to do postprocessing without a join?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-do-postprocessing-without-a-join/m-p/378557#M110966</link>
      <description>&lt;P&gt;Hi shraddhamuduli&lt;BR /&gt;
sometimes you can replace join or transaction with stats command, try something like this:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;(index=abc (caller-id="8179f4c86" OR caller-id="926bbcf8957a") component=Chatbot)
OR (index=pqr component=$MSComp$ logpoint=response-out (status="ok" OR status="error" OR status="failure" OR status="timeout"))
| bin _time span=$span$
| stats values(status) AS status BYtransaction-id _time
| timechart  count(eval(status="ok")) as Success count(eval(status="error")) as Error count(status) as total 
| eval Success=round((Success/total)*100,2) 
| eval Error=round((Error/total)*100,2) 
| eval failure=100-(Success+Error) 
| fields _time failure Error Success
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Bye.&lt;BR /&gt;
Giuseppe&lt;/P&gt;</description>
      <pubDate>Sat, 28 Jul 2018 14:34:54 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-do-postprocessing-without-a-join/m-p/378557#M110966</guid>
      <dc:creator>gcusello</dc:creator>
      <dc:date>2018-07-28T14:34:54Z</dc:date>
    </item>
    <item>
      <title>Re: How to do postprocessing without a join?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-do-postprocessing-without-a-join/m-p/378558#M110967</link>
      <description>&lt;P&gt;Thanks&lt;BR /&gt;
Just one concern :&lt;/P&gt;

&lt;P&gt;The OR will give results belonging to caller-id in index=abc  +  the results belonging to index=pqr &lt;/P&gt;

&lt;P&gt;here pqr might contain data belonging to other caller-ids as well &lt;/P&gt;

&lt;P&gt;The flow is like&lt;/P&gt;

&lt;P&gt;the data belonging to caller-ids in first index and the data belonging to same caller-id belonging to 2nd index is same on the basis of transaction id &lt;/P&gt;

&lt;P&gt;the caller-id value changes when the data flows from index abc to index pqr&lt;/P&gt;

&lt;P&gt;note, pqr is the 2nd layer(or entry point) to index layer abc&lt;/P&gt;</description>
      <pubDate>Sat, 28 Jul 2018 17:49:05 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-do-postprocessing-without-a-join/m-p/378558#M110967</guid>
      <dc:creator>Mohsin123</dc:creator>
      <dc:date>2018-07-28T17:49:05Z</dc:date>
    </item>
    <item>
      <title>Re: How to do postprocessing without a join?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-do-postprocessing-without-a-join/m-p/378559#M110968</link>
      <description>&lt;P&gt;Are you saying that the first search is your base search and the rest of your stuff below is your post-process search and furthermore that you have many panels with similar post-process searches which all start with the same &lt;CODE&gt;|join []&lt;/CODE&gt;?  If so, why not move the join to the base search?&lt;/P&gt;</description>
      <pubDate>Sat, 28 Jul 2018 17:51:10 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-do-postprocessing-without-a-join/m-p/378559#M110968</guid>
      <dc:creator>woodcock</dc:creator>
      <dc:date>2018-07-28T17:51:10Z</dc:date>
    </item>
  </channel>
</rss>

