<?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 Bypassing lookup 1000 limit in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/Bypassing-lookup-1000-limit/m-p/410052#M118279</link>
    <description>&lt;P&gt;Hi all,&lt;BR /&gt;
I am trying to make a correlation between an inventory of assets and vulnerability indexed data.&lt;/P&gt;

&lt;P&gt;I am currently using:&lt;/P&gt;

&lt;P&gt;&lt;CODE&gt;| lookup assets.csv vendor, product,version OUTPUT Hostname Delivery | where isnotnull (Delivery)&lt;/CODE&gt;&lt;/P&gt;

&lt;P&gt;to get exactly which assets appear in the indexed data and are therefore vulnerable, however there is a limit of 1000 when using lookup files.&lt;/P&gt;

&lt;P&gt;By trying to solve the problem, I have indexed the inventory data in "index = assets", how could I get the relation of vulnerable assets with data indexed in two different indexes?&lt;/P&gt;

&lt;P&gt;Thanks in advance&lt;/P&gt;

&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="INDEXED Vulnerabilityes"&gt;&lt;img src="https://community.splunk.com/t5/image/serverpage/image-id/7408iAA678560FDDDDB4F/image-size/large?v=v2&amp;amp;px=999" role="button" title="INDEXED Vulnerabilityes" alt="INDEXED Vulnerabilityes" /&gt;&lt;/span&gt;&lt;/P&gt;

&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="INDEXED Assets"&gt;&lt;img src="https://community.splunk.com/t5/image/serverpage/image-id/7409i9961596FC89DBE83/image-size/large?v=v2&amp;amp;px=999" role="button" title="INDEXED Assets" alt="INDEXED Assets" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
    <pubDate>Tue, 30 Jul 2019 08:26:13 GMT</pubDate>
    <dc:creator>cpm003</dc:creator>
    <dc:date>2019-07-30T08:26:13Z</dc:date>
    <item>
      <title>Bypassing lookup 1000 limit</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Bypassing-lookup-1000-limit/m-p/410052#M118279</link>
      <description>&lt;P&gt;Hi all,&lt;BR /&gt;
I am trying to make a correlation between an inventory of assets and vulnerability indexed data.&lt;/P&gt;

&lt;P&gt;I am currently using:&lt;/P&gt;

&lt;P&gt;&lt;CODE&gt;| lookup assets.csv vendor, product,version OUTPUT Hostname Delivery | where isnotnull (Delivery)&lt;/CODE&gt;&lt;/P&gt;

&lt;P&gt;to get exactly which assets appear in the indexed data and are therefore vulnerable, however there is a limit of 1000 when using lookup files.&lt;/P&gt;

&lt;P&gt;By trying to solve the problem, I have indexed the inventory data in "index = assets", how could I get the relation of vulnerable assets with data indexed in two different indexes?&lt;/P&gt;

&lt;P&gt;Thanks in advance&lt;/P&gt;

&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="INDEXED Vulnerabilityes"&gt;&lt;img src="https://community.splunk.com/t5/image/serverpage/image-id/7408iAA678560FDDDDB4F/image-size/large?v=v2&amp;amp;px=999" role="button" title="INDEXED Vulnerabilityes" alt="INDEXED Vulnerabilityes" /&gt;&lt;/span&gt;&lt;/P&gt;

&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="INDEXED Assets"&gt;&lt;img src="https://community.splunk.com/t5/image/serverpage/image-id/7409i9961596FC89DBE83/image-size/large?v=v2&amp;amp;px=999" role="button" title="INDEXED Assets" alt="INDEXED Assets" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 30 Jul 2019 08:26:13 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Bypassing-lookup-1000-limit/m-p/410052#M118279</guid>
      <dc:creator>cpm003</dc:creator>
      <dc:date>2019-07-30T08:26:13Z</dc:date>
    </item>
    <item>
      <title>Re: Bypassing lookup 1000 limit</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Bypassing-lookup-1000-limit/m-p/410053#M118280</link>
      <description>&lt;P&gt;This is one of my favorite topics: Joining two data sets with the stats command. &lt;/P&gt;

&lt;P&gt;A very quick and dirty way to do this with your data could be to try something like this:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;index=vulnerability OR index=assets
| stats first(*) as * by vendor, product, version
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;This will pull your two data sources together, grouped (or joined) by the vendor, product, and version. &lt;/P&gt;

&lt;P&gt;More information can be found here:&lt;BR /&gt;
&lt;A href="https://answers.splunk.com/answers/145077/how-to-perform-join-with-stats.html"&gt;https://answers.splunk.com/answers/145077/how-to-perform-join-with-stats.html&lt;/A&gt;&lt;/P&gt;

&lt;P&gt;There's also a great .conf18 presentation on this topic:&lt;BR /&gt;
&lt;A href="https://conf.splunk.com/watch/conf-online.html?search=join#/"&gt;https://conf.splunk.com/watch/conf-online.html?search=join#/&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 30 Jul 2019 13:10:34 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Bypassing-lookup-1000-limit/m-p/410053#M118280</guid>
      <dc:creator>jlemley</dc:creator>
      <dc:date>2019-07-30T13:10:34Z</dc:date>
    </item>
    <item>
      <title>Re: Bypassing lookup 1000 limit</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Bypassing-lookup-1000-limit/m-p/410054#M118281</link>
      <description>&lt;P&gt;Thank you very much for your response, although I have not be able to make it work, it wasn´t grouping data.&lt;/P&gt;

&lt;P&gt;I have achieved it differently, I have created a new field in each index with:&lt;BR /&gt;
&lt;CODE&gt;| eval CPE = vendor + ":" + product + ":" version&lt;/CODE&gt;&lt;/P&gt;

&lt;P&gt;then:&lt;BR /&gt;
 &lt;CODE&gt;| stats values (index) as index values (Hostname) as Hostname by CPE | where mvcount (index) &amp;gt; 1&lt;BR /&gt;
 | mvexpand Hostname&lt;/CODE&gt;   &lt;/P&gt;</description>
      <pubDate>Wed, 31 Jul 2019 13:40:02 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Bypassing-lookup-1000-limit/m-p/410054#M118281</guid>
      <dc:creator>cpm003</dc:creator>
      <dc:date>2019-07-31T13:40:02Z</dc:date>
    </item>
  </channel>
</rss>

