<?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: Query help lookup in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/Query-help-lookup/m-p/465035#M131028</link>
    <description>&lt;P&gt;You are using OUTPUT clause  which makes the output lookup fields overwrite existing fields in the events. You can use below query to preserve IP field:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;| inputlookup A.csv |bla blal | where arp_usage_percentage&amp;gt;60 | rename subnet_global as SUBNET | lookup B.csv SUBNET OUTPUT IP AS MATCHED_IP
&lt;/CODE&gt;&lt;/PRE&gt;</description>
    <pubDate>Wed, 01 Apr 2020 06:43:14 GMT</pubDate>
    <dc:creator>manjunathmeti</dc:creator>
    <dc:date>2020-04-01T06:43:14Z</dc:date>
    <item>
      <title>Query help lookup</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Query-help-lookup/m-p/465034#M131027</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;

&lt;P&gt;I am using below query to get a match by SUBNET  from B.csv and get the IP filed. &lt;BR /&gt;
And show all fields from A.csv with the matching SUBNET from b.csv and get the IP field. &lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;| inputlookup A.csv |bla blal | where arp_usage_percentage&amp;gt;60 | rename subnet_global as SUBNET |lookup B.csv SUBNET output IP
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;But now i am facing issue where all the IPs are not show in my result. Only 100 records are coming whereas there are more than that. &lt;/P&gt;

&lt;P&gt;Why i am getting only 100 results and is there any other way to show. &lt;/P&gt;</description>
      <pubDate>Wed, 01 Apr 2020 04:35:38 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Query-help-lookup/m-p/465034#M131027</guid>
      <dc:creator>surekhasplunk</dc:creator>
      <dc:date>2020-04-01T04:35:38Z</dc:date>
    </item>
    <item>
      <title>Re: Query help lookup</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Query-help-lookup/m-p/465035#M131028</link>
      <description>&lt;P&gt;You are using OUTPUT clause  which makes the output lookup fields overwrite existing fields in the events. You can use below query to preserve IP field:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;| inputlookup A.csv |bla blal | where arp_usage_percentage&amp;gt;60 | rename subnet_global as SUBNET | lookup B.csv SUBNET OUTPUT IP AS MATCHED_IP
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Wed, 01 Apr 2020 06:43:14 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Query-help-lookup/m-p/465035#M131028</guid>
      <dc:creator>manjunathmeti</dc:creator>
      <dc:date>2020-04-01T06:43:14Z</dc:date>
    </item>
    <item>
      <title>Re: Query help lookup</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Query-help-lookup/m-p/465036#M131029</link>
      <description>&lt;P&gt;Hi @manjunathmeti ,&lt;/P&gt;

&lt;P&gt;Thanks for the reply but looks its the same even if i use IP as MATCHED_IP&lt;BR /&gt;
Note: there is no IP field in A.csv file. So overwriting cant be the issue from my point of view. &lt;BR /&gt;
there is something which just limits and so we are getting only 100 IPs for each of the SUBNET&lt;/P&gt;</description>
      <pubDate>Wed, 01 Apr 2020 08:45:02 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Query-help-lookup/m-p/465036#M131029</guid>
      <dc:creator>surekhasplunk</dc:creator>
      <dc:date>2020-04-01T08:45:02Z</dc:date>
    </item>
  </channel>
</rss>

