<?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: join query not returning result in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/join-query-not-returning-result/m-p/575839#M200665</link>
    <description>&lt;P&gt;Hi, i have modified the query :&lt;/P&gt;&lt;P&gt;index ="batch_monitoring"|search name=BPSP1060 |rex mode=sed field=name "s/ //g" |table "Activity Name",name,"job name",start,end,status,"Workstation Name _Job"|rename "Workstation Name _Job" as "Workstation"&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="kajolsharma_0-1637575551044.png" style="width: 400px;"&gt;&lt;img src="https://community.splunk.com/t5/image/serverpage/image-id/16948i2CCC64696CB639E8/image-size/medium?v=v2&amp;amp;px=400" role="button" title="kajolsharma_0-1637575551044.png" alt="kajolsharma_0-1637575551044.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;But still I see no results when i use it with join query .&lt;/P&gt;</description>
    <pubDate>Mon, 22 Nov 2021 10:07:34 GMT</pubDate>
    <dc:creator>kajolsharma</dc:creator>
    <dc:date>2021-11-22T10:07:34Z</dc:date>
    <item>
      <title>join query not returning result</title>
      <link>https://community.splunk.com/t5/Splunk-Search/join-query-not-returning-result/m-p/575471#M200533</link>
      <description>&lt;P&gt;Hi, I have a query below with a join condition .The issue is if I am hardcoding name value I am getting the result but when I'm removing it, not seeing any results plus I m getting this error in screenshot.&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="kajolsharma_0-1637248684855.png" style="width: 400px;"&gt;&lt;img src="https://community.splunk.com/t5/image/serverpage/image-id/16911i30588192E7451A52/image-size/medium?v=v2&amp;amp;px=400" role="button" title="kajolsharma_0-1637248684855.png" alt="kajolsharma_0-1637248684855.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="kajolsharma_1-1637248837174.png" style="width: 400px;"&gt;&lt;img src="https://community.splunk.com/t5/image/serverpage/image-id/16912i5FA5C83BD7C36B02/image-size/medium?v=v2&amp;amp;px=400" role="button" title="kajolsharma_1-1637248837174.png" alt="kajolsharma_1-1637248837174.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Validated that it is not because of space issue .Can somebody suggest?&lt;/P&gt;</description>
      <pubDate>Thu, 18 Nov 2021 15:21:52 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/join-query-not-returning-result/m-p/575471#M200533</guid>
      <dc:creator>kajolsharma</dc:creator>
      <dc:date>2021-11-18T15:21:52Z</dc:date>
    </item>
    <item>
      <title>Re: join query not returning result</title>
      <link>https://community.splunk.com/t5/Splunk-Search/join-query-not-returning-result/m-p/575478#M200536</link>
      <description>&lt;P&gt;Run each "side" of the &lt;FONT face="courier new,courier"&gt;join&lt;/FONT&gt; command separately.&amp;nbsp; Verify each returns a field called "name" and that the field has a common value on each side.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 18 Nov 2021 15:55:22 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/join-query-not-returning-result/m-p/575478#M200536</guid>
      <dc:creator>richgalloway</dc:creator>
      <dc:date>2021-11-18T15:55:22Z</dc:date>
    </item>
    <item>
      <title>Re: join query not returning result</title>
      <link>https://community.splunk.com/t5/Splunk-Search/join-query-not-returning-result/m-p/575499#M200547</link>
      <description>&lt;P&gt;Yes, we do have name field in both queries. Refer below screenshot:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="kajolsharma_0-1637255260568.png" style="width: 400px;"&gt;&lt;img src="https://community.splunk.com/t5/image/serverpage/image-id/16914i303B6A3520511100/image-size/medium?v=v2&amp;amp;px=400" role="button" title="kajolsharma_0-1637255260568.png" alt="kajolsharma_0-1637255260568.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 18 Nov 2021 17:08:30 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/join-query-not-returning-result/m-p/575499#M200547</guid>
      <dc:creator>kajolsharma</dc:creator>
      <dc:date>2021-11-18T17:08:30Z</dc:date>
    </item>
    <item>
      <title>Re: join query not returning result</title>
      <link>https://community.splunk.com/t5/Splunk-Search/join-query-not-returning-result/m-p/575542#M200556</link>
      <description>&lt;P&gt;That's not the same query.&amp;nbsp; Please run this:&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;index=batch_monitoring | rex mode=sed field=name "s/ //g"&lt;/LI-CODE&gt;</description>
      <pubDate>Thu, 18 Nov 2021 20:43:14 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/join-query-not-returning-result/m-p/575542#M200556</guid>
      <dc:creator>richgalloway</dc:creator>
      <dc:date>2021-11-18T20:43:14Z</dc:date>
    </item>
    <item>
      <title>Re: join query not returning result</title>
      <link>https://community.splunk.com/t5/Splunk-Search/join-query-not-returning-result/m-p/575839#M200665</link>
      <description>&lt;P&gt;Hi, i have modified the query :&lt;/P&gt;&lt;P&gt;index ="batch_monitoring"|search name=BPSP1060 |rex mode=sed field=name "s/ //g" |table "Activity Name",name,"job name",start,end,status,"Workstation Name _Job"|rename "Workstation Name _Job" as "Workstation"&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="kajolsharma_0-1637575551044.png" style="width: 400px;"&gt;&lt;img src="https://community.splunk.com/t5/image/serverpage/image-id/16948i2CCC64696CB639E8/image-size/medium?v=v2&amp;amp;px=400" role="button" title="kajolsharma_0-1637575551044.png" alt="kajolsharma_0-1637575551044.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;But still I see no results when i use it with join query .&lt;/P&gt;</description>
      <pubDate>Mon, 22 Nov 2021 10:07:34 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/join-query-not-returning-result/m-p/575839#M200665</guid>
      <dc:creator>kajolsharma</dc:creator>
      <dc:date>2021-11-22T10:07:34Z</dc:date>
    </item>
    <item>
      <title>Re: join query not returning result</title>
      <link>https://community.splunk.com/t5/Splunk-Search/join-query-not-returning-result/m-p/575872#M200681</link>
      <description>&lt;P&gt;Why do you insist on running a query that doesn't match the one in the OP?&amp;nbsp; It doesn't prove anything.&lt;/P&gt;&lt;P&gt;If a query with a join is not returning expected results then it's necessary to run each side of the join independently and &lt;STRONG&gt;without changes&lt;/STRONG&gt;.&amp;nbsp; Examine the results of those two queries to ensure they return 1) the expected field(s); 2) the field(s) that will be used to join results; and 3) common values in the joined field(s).&lt;/P&gt;</description>
      <pubDate>Mon, 22 Nov 2021 13:50:44 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/join-query-not-returning-result/m-p/575872#M200681</guid>
      <dc:creator>richgalloway</dc:creator>
      <dc:date>2021-11-22T13:50:44Z</dc:date>
    </item>
    <item>
      <title>Re: join query not returning result</title>
      <link>https://community.splunk.com/t5/Splunk-Search/join-query-not-returning-result/m-p/575972#M200716</link>
      <description>&lt;P&gt;Output of first query:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="kajolsharma_2-1637649632738.png" style="width: 999px;"&gt;&lt;img src="https://community.splunk.com/t5/image/serverpage/image-id/16969i2C01102027EF24D0/image-size/large?v=v2&amp;amp;px=999" role="button" title="kajolsharma_2-1637649632738.png" alt="kajolsharma_2-1637649632738.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;O/p of 2nd query:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="kajolsharma_1-1637649587903.png" style="width: 999px;"&gt;&lt;img src="https://community.splunk.com/t5/image/serverpage/image-id/16968iBA4B7F5CE5232DCF/image-size/large?v=v2&amp;amp;px=999" role="button" title="kajolsharma_1-1637649587903.png" alt="kajolsharma_1-1637649587903.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;You can see I have ran the 2 queries separately in the snips above. And you can find that the searched job result is present&amp;nbsp; in both the results.&amp;nbsp;&lt;/P&gt;&lt;P&gt;o/p of join query:[No result]&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="kajolsharma_0-1637650175758.png" style="width: 999px;"&gt;&lt;img src="https://community.splunk.com/t5/image/serverpage/image-id/16972i5C6EE37CE6B890A4/image-size/large?v=v2&amp;amp;px=999" role="button" title="kajolsharma_0-1637650175758.png" alt="kajolsharma_0-1637650175758.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;o/p of join query by putting a filter on that jobname:&amp;nbsp; [Its shows the result]&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="kajolsharma_4-1637649976485.png" style="width: 999px;"&gt;&lt;img src="https://community.splunk.com/t5/image/serverpage/image-id/16971i8F5F099CD2EFE9C8/image-size/large?v=v2&amp;amp;px=999" role="button" title="kajolsharma_4-1637649976485.png" alt="kajolsharma_4-1637649976485.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;I hope you get what I trying to say.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 23 Nov 2021 06:50:26 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/join-query-not-returning-result/m-p/575972#M200716</guid>
      <dc:creator>kajolsharma</dc:creator>
      <dc:date>2021-11-23T06:50:26Z</dc:date>
    </item>
  </channel>
</rss>

