<?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 adding lookup in query ending with incorrect result in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/adding-lookup-in-query-ending-with-incorrect-result/m-p/570188#M198732</link>
    <description>&lt;P&gt;i am getting two diffrent results in total. query1 is providing acurate result.&amp;nbsp;&lt;/P&gt;&lt;P&gt;query2 as soom as adding |lookup locationdetails.csv City AS City total value to less than acurate one&lt;BR /&gt;using splunk version 7.3.71&lt;BR /&gt;&lt;BR /&gt;query1&lt;BR /&gt;index=xyz source=xyz&amp;nbsp;&lt;BR /&gt;|eval Month=strftime(_time,"%b %Y")&lt;BR /&gt;|search&amp;nbsp;Month="Mar 2021"&lt;BR /&gt;|search Product In (Sold,Damaged)&lt;BR /&gt;|stats count(Product) as Total&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;query 2&lt;BR /&gt;index=xyz source=xyz&amp;nbsp;&lt;BR /&gt;|eval Month=strftime(_time,"%b %Y")&lt;BR /&gt;|search&amp;nbsp;Month="Mar 2021"&lt;BR /&gt;|search Product in (Sold,Damaged)&lt;BR /&gt;|lookup locationdetails.csv City AS City&lt;BR /&gt;|stats count(Product) as Total&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Fri, 08 Oct 2021 09:33:39 GMT</pubDate>
    <dc:creator>abdul</dc:creator>
    <dc:date>2021-10-08T09:33:39Z</dc:date>
    <item>
      <title>adding lookup in query ending with incorrect result</title>
      <link>https://community.splunk.com/t5/Splunk-Search/adding-lookup-in-query-ending-with-incorrect-result/m-p/570188#M198732</link>
      <description>&lt;P&gt;i am getting two diffrent results in total. query1 is providing acurate result.&amp;nbsp;&lt;/P&gt;&lt;P&gt;query2 as soom as adding |lookup locationdetails.csv City AS City total value to less than acurate one&lt;BR /&gt;using splunk version 7.3.71&lt;BR /&gt;&lt;BR /&gt;query1&lt;BR /&gt;index=xyz source=xyz&amp;nbsp;&lt;BR /&gt;|eval Month=strftime(_time,"%b %Y")&lt;BR /&gt;|search&amp;nbsp;Month="Mar 2021"&lt;BR /&gt;|search Product In (Sold,Damaged)&lt;BR /&gt;|stats count(Product) as Total&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;query 2&lt;BR /&gt;index=xyz source=xyz&amp;nbsp;&lt;BR /&gt;|eval Month=strftime(_time,"%b %Y")&lt;BR /&gt;|search&amp;nbsp;Month="Mar 2021"&lt;BR /&gt;|search Product in (Sold,Damaged)&lt;BR /&gt;|lookup locationdetails.csv City AS City&lt;BR /&gt;|stats count(Product) as Total&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 08 Oct 2021 09:33:39 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/adding-lookup-in-query-ending-with-incorrect-result/m-p/570188#M198732</guid>
      <dc:creator>abdul</dc:creator>
      <dc:date>2021-10-08T09:33:39Z</dc:date>
    </item>
    <item>
      <title>Re: adding lookup in query ending with incorrect result</title>
      <link>https://community.splunk.com/t5/Splunk-Search/adding-lookup-in-query-ending-with-incorrect-result/m-p/570233#M198746</link>
      <description>&lt;P&gt;Seems strange indeed. Are you sure that your lookup doesn't overwrite Product field somehow? (you're not specifying output fields)&lt;/P&gt;</description>
      <pubDate>Fri, 08 Oct 2021 14:12:47 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/adding-lookup-in-query-ending-with-incorrect-result/m-p/570233#M198746</guid>
      <dc:creator>PickleRick</dc:creator>
      <dc:date>2021-10-08T14:12:47Z</dc:date>
    </item>
    <item>
      <title>Re: adding lookup in query ending with incorrect result</title>
      <link>https://community.splunk.com/t5/Splunk-Search/adding-lookup-in-query-ending-with-incorrect-result/m-p/570404#M198816</link>
      <description>&lt;P&gt;What are the fields in the lookup file?&lt;/P&gt;</description>
      <pubDate>Mon, 11 Oct 2021 00:24:50 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/adding-lookup-in-query-ending-with-incorrect-result/m-p/570404#M198816</guid>
      <dc:creator>bowesmana</dc:creator>
      <dc:date>2021-10-11T00:24:50Z</dc:date>
    </item>
  </channel>
</rss>

