<?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: Can't get all rows from CSV in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/Can-t-get-all-rows-from-CSV/m-p/418622#M94467</link>
    <description>&lt;P&gt;Do you have a timestamp column in csv and what's the timerange you are using in search?&lt;/P&gt;</description>
    <pubDate>Tue, 03 Jul 2018 05:02:53 GMT</pubDate>
    <dc:creator>renjith_nair</dc:creator>
    <dc:date>2018-07-03T05:02:53Z</dc:date>
    <item>
      <title>Can't get all rows from CSV</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Can-t-get-all-rows-from-CSV/m-p/418621#M94466</link>
      <description>&lt;P&gt;I monitor folder on one server with SplunkUniversalForwarder installed. the configuration of &lt;STRONG&gt;input.conf&lt;/STRONG&gt; as below:&lt;BR /&gt;
      [monitor://E:\A530\archive\Powershell_User]&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;  sourcetype = Powershell_User

  crcSalt = &amp;lt;SOURCE&amp;gt;

  disabled = false

  followTail = 0
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;then I do search in search head with Splunk query:&lt;BR /&gt;
     source="E:\A530\archive\Powershell_User\20180614_get_aduser_all_for_Splunk.csv"&lt;/P&gt;

&lt;P&gt;the total rows of this CSV file are 7168, but only return 5139 rows.&lt;/P&gt;

&lt;P&gt;the CSV is well formatted &lt;/P&gt;

&lt;P&gt;How can I get all rows in Splunk query?&lt;/P&gt;

&lt;P&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Tue, 29 Sep 2020 20:16:06 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Can-t-get-all-rows-from-CSV/m-p/418621#M94466</guid>
      <dc:creator>twtyj</dc:creator>
      <dc:date>2020-09-29T20:16:06Z</dc:date>
    </item>
    <item>
      <title>Re: Can't get all rows from CSV</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Can-t-get-all-rows-from-CSV/m-p/418622#M94467</link>
      <description>&lt;P&gt;Do you have a timestamp column in csv and what's the timerange you are using in search?&lt;/P&gt;</description>
      <pubDate>Tue, 03 Jul 2018 05:02:53 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Can-t-get-all-rows-from-CSV/m-p/418622#M94467</guid>
      <dc:creator>renjith_nair</dc:creator>
      <dc:date>2018-07-03T05:02:53Z</dc:date>
    </item>
    <item>
      <title>Re: Can't get all rows from CSV</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Can-t-get-all-rows-from-CSV/m-p/418623#M94468</link>
      <description>&lt;P&gt;Hi nair,&lt;/P&gt;

&lt;P&gt;I am fresh to use SPLUNK, I use all time range in search. &lt;/P&gt;

&lt;P&gt;How can i find timestamp information?&lt;/P&gt;

&lt;P&gt;thanks.&lt;/P&gt;</description>
      <pubDate>Tue, 03 Jul 2018 05:20:49 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Can-t-get-all-rows-from-CSV/m-p/418623#M94468</guid>
      <dc:creator>twtyj</dc:creator>
      <dc:date>2018-07-03T05:20:49Z</dc:date>
    </item>
    <item>
      <title>Re: Can't get all rows from CSV</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Can-t-get-all-rows-from-CSV/m-p/418624#M94469</link>
      <description>&lt;P&gt;If you are selecting "All Time" timestamp does not really matter. Are you uploading it to the same index or do you have some props to split it? also try &lt;CODE&gt;index=* source="E:\\A530\\archive\\Powershell_User\\20180614_get_aduser_all_for_Splunk.csv"&lt;/CODE&gt; Is it possible to identify one of the rows which is missing and find the difference of that from other rows?&lt;/P&gt;</description>
      <pubDate>Tue, 03 Jul 2018 09:04:41 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Can-t-get-all-rows-from-CSV/m-p/418624#M94469</guid>
      <dc:creator>renjith_nair</dc:creator>
      <dc:date>2018-07-03T09:04:41Z</dc:date>
    </item>
    <item>
      <title>Re: Can't get all rows from CSV</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Can-t-get-all-rows-from-CSV/m-p/418625#M94470</link>
      <description>&lt;P&gt;Hi Nair,&lt;BR /&gt;
I know why only part of rows are returned. Splunk index the CSV file with timestamp but there is no dedicated filed for that.&lt;BR /&gt;
Splunk extract the timestamp of CSV from modified time. the problem is some rows can added the timestamp with modified time.&lt;/P&gt;

&lt;P&gt;do you know how to extract timestamp based on file name? we have &lt;STRONG&gt;20180614&lt;/STRONG&gt; within file name.&lt;/P&gt;</description>
      <pubDate>Thu, 05 Jul 2018 03:17:41 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Can-t-get-all-rows-from-CSV/m-p/418625#M94470</guid>
      <dc:creator>twtyj</dc:creator>
      <dc:date>2018-07-05T03:17:41Z</dc:date>
    </item>
    <item>
      <title>Re: Can't get all rows from CSV</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Can-t-get-all-rows-from-CSV/m-p/418626#M94471</link>
      <description>&lt;P&gt;Are you ABSOLUTELY sure that it is well-formatted?  Splunk will abort the import (possibly without indicating an error) if it hits something that is wonky.  The best way to check is using the &lt;CODE&gt;Lookup Editor App&lt;/CODE&gt; (&lt;A href="https://splunkbase.splunk.com/app/1724/"&gt;https://splunkbase.splunk.com/app/1724/&lt;/A&gt;).  You simply upload the lookup file and it checks for you and you will see the error straight away because it will complain.  It will even show you what kind of error and on what line!&lt;/P&gt;</description>
      <pubDate>Thu, 05 Jul 2018 03:43:50 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Can-t-get-all-rows-from-CSV/m-p/418626#M94471</guid>
      <dc:creator>woodcock</dc:creator>
      <dc:date>2018-07-05T03:43:50Z</dc:date>
    </item>
    <item>
      <title>Re: Can't get all rows from CSV</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Can-t-get-all-rows-from-CSV/m-p/418627#M94472</link>
      <description>&lt;P&gt;Refer : &lt;A href="https://answers.splunk.com/answers/320978/how-to-extract-the-timestamp-from-a-filename-at-in.html"&gt;https://answers.splunk.com/answers/320978/how-to-extract-the-timestamp-from-a-filename-at-in.html&lt;/A&gt;&lt;/P&gt;

&lt;P&gt;&lt;A href="http://docs.splunk.com/Documentation/Splunk/latest/Data/HowSplunkextractstimestamps"&gt;http://docs.splunk.com/Documentation/Splunk/latest/Data/HowSplunkextractstimestamps&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 05 Jul 2018 03:52:26 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Can-t-get-all-rows-from-CSV/m-p/418627#M94472</guid>
      <dc:creator>renjith_nair</dc:creator>
      <dc:date>2018-07-05T03:52:26Z</dc:date>
    </item>
    <item>
      <title>Re: Can't get all rows from CSV</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Can-t-get-all-rows-from-CSV/m-p/418628#M94473</link>
      <description>&lt;P&gt;You are pretty much out of luck.  You can get the date from your filename but the events must have a timestamp in them and yours do not.  See here:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;&lt;A href="https://www.splunk.com/blog/2009/12/02/configure-splunk-to-pull-a-date-out-of-a-non-standard-filename.html" target="test_blank"&gt;https://www.splunk.com/blog/2009/12/02/configure-splunk-to-pull-a-date-out-of-a-non-standard-filename.html&lt;/A&gt;
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;You can use &lt;CODE&gt;DATETIME_CONFIG = CURRENT&lt;/CODE&gt; to timestamp with the index time.&lt;/P&gt;</description>
      <pubDate>Thu, 05 Jul 2018 04:19:18 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Can-t-get-all-rows-from-CSV/m-p/418628#M94473</guid>
      <dc:creator>woodcock</dc:creator>
      <dc:date>2018-07-05T04:19:18Z</dc:date>
    </item>
  </channel>
</rss>

