<?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: How come Splunk only can read 10000 lines from my csv? I need 9000000! in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/How-come-Splunk-only-can-read-10000-lines-from-my-csv-I-need/m-p/455740#M78829</link>
    <description>&lt;P&gt;Hi Vijeta,&lt;/P&gt;

&lt;P&gt;I only have matches if the IP from my csv is in the first 10000 lines. Actually I have 9000000 lines in my csv. So It didn`t work.&lt;/P&gt;

&lt;P&gt;If I do that  |inputlookup append=t ipsmalware2.csv I see al files. The problem is when I try to match them...&lt;/P&gt;</description>
    <pubDate>Thu, 07 Feb 2019 17:09:20 GMT</pubDate>
    <dc:creator>christianubeda</dc:creator>
    <dc:date>2019-02-07T17:09:20Z</dc:date>
    <item>
      <title>How come Splunk only can read 10000 lines from my csv? I need 9000000!</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-come-Splunk-only-can-read-10000-lines-from-my-csv-I-need/m-p/455733#M78822</link>
      <description>&lt;P&gt;Hi team!&lt;/P&gt;

&lt;P&gt;I have a problem.&lt;/P&gt;

&lt;P&gt;I want to match two fields. The first one is an src_ip from an indexer(traffic events) the second one is an IP from a CSV.&lt;/P&gt;

&lt;P&gt;My CSV has 9.000.000 lines and inputlookup only can read the first 10.000 lines... &lt;/P&gt;

&lt;P&gt;how can I do it??&lt;/P&gt;</description>
      <pubDate>Thu, 07 Feb 2019 15:33:45 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-come-Splunk-only-can-read-10000-lines-from-my-csv-I-need/m-p/455733#M78822</guid>
      <dc:creator>christianubeda</dc:creator>
      <dc:date>2019-02-07T15:33:45Z</dc:date>
    </item>
    <item>
      <title>Re: How come Splunk only can read 10000 lines from my csv? I need 9000000!</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-come-Splunk-only-can-read-10000-lines-from-my-csv-I-need/m-p/455734#M78823</link>
      <description>&lt;P&gt;Are you using lookup in a subsearch, probably that is limiting it to 10K results as there is a max limit for subserach results. Can you use dedup on IP or avoid subsearch by any means? Also would be better if you can paste your query here.&lt;/P&gt;</description>
      <pubDate>Thu, 07 Feb 2019 16:23:08 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-come-Splunk-only-can-read-10000-lines-from-my-csv-I-need/m-p/455734#M78823</guid>
      <dc:creator>Vijeta</dc:creator>
      <dc:date>2019-02-07T16:23:08Z</dc:date>
    </item>
    <item>
      <title>Re: How come Splunk only can read 10000 lines from my csv? I need 9000000!</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-come-Splunk-only-can-read-10000-lines-from-my-csv-I-need/m-p/455735#M78824</link>
      <description>&lt;P&gt;This is the query&lt;/P&gt;

&lt;P&gt;index=cesa_paloalto sourcetype="pan:traffic" type=TRAFFIC vendor_action=allow | join src_ip [| inputlookup append=t ipsmalware2.csv | eval src_ip=Ip]&lt;BR /&gt;
 | stats values(src_ip)&lt;/P&gt;

&lt;P&gt;I introduced 5 IP's in my csv&lt;/P&gt;

&lt;P&gt;Line 1 OK&lt;BR /&gt;
Line 9999 OK&lt;BR /&gt;
Line 10004 Fail&lt;BR /&gt;
Line 12000 FAIL&lt;BR /&gt;
Line 222333(last one) FAIL&lt;/P&gt;</description>
      <pubDate>Tue, 29 Sep 2020 23:11:06 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-come-Splunk-only-can-read-10000-lines-from-my-csv-I-need/m-p/455735#M78824</guid>
      <dc:creator>christianubeda</dc:creator>
      <dc:date>2020-09-29T23:11:06Z</dc:date>
    </item>
    <item>
      <title>Re: How come Splunk only can read 10000 lines from my csv? I need 9000000!</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-come-Splunk-only-can-read-10000-lines-from-my-csv-I-need/m-p/455736#M78825</link>
      <description>&lt;P&gt;Do you have 900000 unique Ip in your lookup? If not can you use dedup ip-&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;index=cesa_paloalto sourcetype="pan:traffic" type=TRAFFIC vendor_action=allow | join src_ip [| inputlookup append=t ipsmalware2.csv | dedup ip|eval src_ip=Ip]
| stats values(src_ip)
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Thu, 07 Feb 2019 16:54:41 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-come-Splunk-only-can-read-10000-lines-from-my-csv-I-need/m-p/455736#M78825</guid>
      <dc:creator>Vijeta</dc:creator>
      <dc:date>2019-02-07T16:54:41Z</dc:date>
    </item>
    <item>
      <title>Re: How come Splunk only can read 10000 lines from my csv? I need 9000000!</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-come-Splunk-only-can-read-10000-lines-from-my-csv-I-need/m-p/455737#M78826</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;

&lt;P&gt;Yes, I have 9000000 unique IP.&lt;/P&gt;</description>
      <pubDate>Thu, 07 Feb 2019 16:56:59 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-come-Splunk-only-can-read-10000-lines-from-my-csv-I-need/m-p/455737#M78826</guid>
      <dc:creator>christianubeda</dc:creator>
      <dc:date>2019-02-07T16:56:59Z</dc:date>
    </item>
    <item>
      <title>Re: How come Splunk only can read 10000 lines from my csv? I need 9000000!</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-come-Splunk-only-can-read-10000-lines-from-my-csv-I-need/m-p/455738#M78827</link>
      <description>&lt;P&gt;How many unique IP your index returns within the timeframe you are searching?&lt;/P&gt;</description>
      <pubDate>Thu, 07 Feb 2019 16:58:27 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-come-Splunk-only-can-read-10000-lines-from-my-csv-I-need/m-p/455738#M78827</guid>
      <dc:creator>Vijeta</dc:creator>
      <dc:date>2019-02-07T16:58:27Z</dc:date>
    </item>
    <item>
      <title>Re: How come Splunk only can read 10000 lines from my csv? I need 9000000!</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-come-Splunk-only-can-read-10000-lines-from-my-csv-I-need/m-p/455739#M78828</link>
      <description>&lt;P&gt;If that is less than 10K then you can try below&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;|inputlookup append=t ipsmalware2.csv | eval src_ip=Ip|join src_ip type=inner[|search index=cesa_paloalto sourcetype="pan:traffic" type=TRAFFIC vendor_action=allow ]
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Thu, 07 Feb 2019 17:00:37 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-come-Splunk-only-can-read-10000-lines-from-my-csv-I-need/m-p/455739#M78828</guid>
      <dc:creator>Vijeta</dc:creator>
      <dc:date>2019-02-07T17:00:37Z</dc:date>
    </item>
    <item>
      <title>Re: How come Splunk only can read 10000 lines from my csv? I need 9000000!</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-come-Splunk-only-can-read-10000-lines-from-my-csv-I-need/m-p/455740#M78829</link>
      <description>&lt;P&gt;Hi Vijeta,&lt;/P&gt;

&lt;P&gt;I only have matches if the IP from my csv is in the first 10000 lines. Actually I have 9000000 lines in my csv. So It didn`t work.&lt;/P&gt;

&lt;P&gt;If I do that  |inputlookup append=t ipsmalware2.csv I see al files. The problem is when I try to match them...&lt;/P&gt;</description>
      <pubDate>Thu, 07 Feb 2019 17:09:20 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-come-Splunk-only-can-read-10000-lines-from-my-csv-I-need/m-p/455740#M78829</guid>
      <dc:creator>christianubeda</dc:creator>
      <dc:date>2019-02-07T17:09:20Z</dc:date>
    </item>
    <item>
      <title>Re: How come Splunk only can read 10000 lines from my csv? I need 9000000!</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-come-Splunk-only-can-read-10000-lines-from-my-csv-I-need/m-p/455741#M78830</link>
      <description>&lt;P&gt;That is not coz of matching , that is limitation of a subsearch. The subsearch returns you only 10K results and that is why rest all appear as not matched.&lt;/P&gt;</description>
      <pubDate>Thu, 07 Feb 2019 17:11:56 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-come-Splunk-only-can-read-10000-lines-from-my-csv-I-need/m-p/455741#M78830</guid>
      <dc:creator>Vijeta</dc:creator>
      <dc:date>2019-02-07T17:11:56Z</dc:date>
    </item>
    <item>
      <title>Re: How come Splunk only can read 10000 lines from my csv? I need 9000000!</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-come-Splunk-only-can-read-10000-lines-from-my-csv-I-need/m-p/455742#M78831</link>
      <description>&lt;P&gt;DO NOT USE JOIN.  It has limits.  Try this:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;index=cesa_paloalto sourcetype="pan:traffic" type=TRAFFIC vendor_action=allow
| lookup ipsmalware2.csv ip AS src_ip OUTPUT ip AS keepMeIfNonNull
| where isnotnull(keepMeIfNonNull)
| stats values(src_ip)
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Thu, 07 Feb 2019 17:40:23 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-come-Splunk-only-can-read-10000-lines-from-my-csv-I-need/m-p/455742#M78831</guid>
      <dc:creator>woodcock</dc:creator>
      <dc:date>2019-02-07T17:40:23Z</dc:date>
    </item>
    <item>
      <title>Re: How come Splunk only can read 10000 lines from my csv? I need 9000000!</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-come-Splunk-only-can-read-10000-lines-from-my-csv-I-need/m-p/455743#M78832</link>
      <description>&lt;P&gt;It is hard to answer when you do not show us your search.  Why would you not share your SPL?&lt;/P&gt;</description>
      <pubDate>Thu, 07 Feb 2019 17:40:52 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-come-Splunk-only-can-read-10000-lines-from-my-csv-I-need/m-p/455743#M78832</guid>
      <dc:creator>woodcock</dc:creator>
      <dc:date>2019-02-07T17:40:52Z</dc:date>
    </item>
  </channel>
</rss>

