<?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: Not Getting result while trying to pass result of one query to other in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/Not-Getting-result-while-trying-to-pass-result-of-one-query-to/m-p/503874#M140669</link>
    <description>&lt;P&gt;Thankyou&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm able to join . but i'm not getting result as expected.&lt;/P&gt;&lt;P&gt;I want the result to be as&amp;nbsp;&lt;/P&gt;&lt;P&gt;Org&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Space&amp;nbsp; &amp;nbsp; Microservice&amp;nbsp; &amp;nbsp;count&lt;/P&gt;&lt;P&gt;org1&amp;nbsp; &amp;nbsp; space1&amp;nbsp; &amp;nbsp;app1&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;1&lt;/P&gt;&lt;P&gt;Org2&amp;nbsp; &amp;nbsp; space2&amp;nbsp; app1&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 1&lt;/P&gt;&lt;P&gt;but i'm getting result as&amp;nbsp;&lt;/P&gt;&lt;P&gt;Org&amp;nbsp; &amp;nbsp; &amp;nbsp; Space&amp;nbsp; &amp;nbsp; &amp;nbsp;Microservice&amp;nbsp; &amp;nbsp;count&lt;/P&gt;&lt;P&gt;Org1&amp;nbsp; &amp;nbsp;Space&amp;nbsp; &amp;nbsp; &amp;nbsp; app1&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 2&lt;/P&gt;&lt;P&gt;here i want to find duplicate microservice along with Org and space values.&lt;/P&gt;&lt;P&gt;Can u help on this&lt;/P&gt;</description>
    <pubDate>Thu, 11 Jun 2020 08:02:21 GMT</pubDate>
    <dc:creator>kirrusk</dc:creator>
    <dc:date>2020-06-11T08:02:21Z</dc:date>
    <item>
      <title>Not Getting result while trying to pass result of one query to other</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Not-Getting-result-while-trying-to-pass-result-of-one-query-to/m-p/503862#M140666</link>
      <description>&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;I'm trying to pass result of one query to other. but not able to achieve this.&lt;/P&gt;&lt;P&gt;Can someone help on this.&lt;/P&gt;&lt;P&gt;Query1&lt;/P&gt;&lt;P&gt;index&amp;nbsp; = "internal"&amp;nbsp; sourcetype= "*" Space&amp;nbsp; = "*" Microservice="*" | eval Microservice=lower(Microservice) | dedup Space,Microservice| stats count by Microservice | where count&amp;gt;1&lt;/P&gt;&lt;P&gt;query2&lt;/P&gt;&lt;P&gt;index ="internal"&amp;nbsp; sourcetype= "*" Space&amp;nbsp; = "*" Microservice="*" Org="*" | table Microservice Org Space&lt;/P&gt;&lt;P&gt;result of first query is&amp;nbsp;&lt;/P&gt;&lt;P&gt;Microservice&amp;nbsp; &amp;nbsp;count&lt;/P&gt;&lt;P&gt;app1&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;2&lt;/P&gt;&lt;P&gt;app2&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;2&lt;/P&gt;&lt;P&gt;app3&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;3&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;so i want to pass this Microservices to second query and get result as&amp;nbsp;&lt;/P&gt;&lt;P&gt;Microservice Org Space&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Here i'm trying to find duplicate microservices and get Org and space accordingly.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 11 Jun 2020 06:50:33 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Not-Getting-result-while-trying-to-pass-result-of-one-query-to/m-p/503862#M140666</guid>
      <dc:creator>kirrusk</dc:creator>
      <dc:date>2020-06-11T06:50:33Z</dc:date>
    </item>
    <item>
      <title>Re: Not Getting result while trying to pass result of one query to other</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Not-Getting-result-while-trying-to-pass-result-of-one-query-to/m-p/503867#M140667</link>
      <description>&lt;P&gt;Try using join command like below&lt;/P&gt;&lt;P&gt;Query 1 | join&amp;nbsp;&lt;SPAN&gt;Microservice type=left[search Query2]&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 11 Jun 2020 07:11:34 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Not-Getting-result-while-trying-to-pass-result-of-one-query-to/m-p/503867#M140667</guid>
      <dc:creator>skrajkumar_splu</dc:creator>
      <dc:date>2020-06-11T07:11:34Z</dc:date>
    </item>
    <item>
      <title>Re: Not Getting result while trying to pass result of one query to other</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Not-Getting-result-while-trying-to-pass-result-of-one-query-to/m-p/503874#M140669</link>
      <description>&lt;P&gt;Thankyou&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm able to join . but i'm not getting result as expected.&lt;/P&gt;&lt;P&gt;I want the result to be as&amp;nbsp;&lt;/P&gt;&lt;P&gt;Org&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Space&amp;nbsp; &amp;nbsp; Microservice&amp;nbsp; &amp;nbsp;count&lt;/P&gt;&lt;P&gt;org1&amp;nbsp; &amp;nbsp; space1&amp;nbsp; &amp;nbsp;app1&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;1&lt;/P&gt;&lt;P&gt;Org2&amp;nbsp; &amp;nbsp; space2&amp;nbsp; app1&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 1&lt;/P&gt;&lt;P&gt;but i'm getting result as&amp;nbsp;&lt;/P&gt;&lt;P&gt;Org&amp;nbsp; &amp;nbsp; &amp;nbsp; Space&amp;nbsp; &amp;nbsp; &amp;nbsp;Microservice&amp;nbsp; &amp;nbsp;count&lt;/P&gt;&lt;P&gt;Org1&amp;nbsp; &amp;nbsp;Space&amp;nbsp; &amp;nbsp; &amp;nbsp; app1&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 2&lt;/P&gt;&lt;P&gt;here i want to find duplicate microservice along with Org and space values.&lt;/P&gt;&lt;P&gt;Can u help on this&lt;/P&gt;</description>
      <pubDate>Thu, 11 Jun 2020 08:02:21 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Not-Getting-result-while-trying-to-pass-result-of-one-query-to/m-p/503874#M140669</guid>
      <dc:creator>kirrusk</dc:creator>
      <dc:date>2020-06-11T08:02:21Z</dc:date>
    </item>
  </channel>
</rss>

