<?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: Why isn't Splunk ingesting new rows from CSV file? in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/Why-isn-t-Splunk-ingesting-new-rows-from-CSV-file/m-p/499850#M85203</link>
    <description>&lt;P&gt;Ignore this question. As it turns out, Splunk did ingest the data. It just took many more hours that I would have expected for a few hundred rows from a csv file&lt;/P&gt;</description>
    <pubDate>Tue, 15 Oct 2019 12:07:11 GMT</pubDate>
    <dc:creator>williamcharlton</dc:creator>
    <dc:date>2019-10-15T12:07:11Z</dc:date>
    <item>
      <title>Why isn't Splunk ingesting new rows from CSV file?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Why-isn-t-Splunk-ingesting-new-rows-from-CSV-file/m-p/499842#M85195</link>
      <description>&lt;P&gt;I have a 4-server Splunk scenario:&lt;/P&gt;

&lt;OL&gt;
&lt;LI&gt;index server&lt;/LI&gt;
&lt;LI&gt;deployment server&lt;/LI&gt;
&lt;LI&gt;search head server&lt;/LI&gt;
&lt;LI&gt;deployment client server (w/ a Splunk Universal Forwarder known to be configured correctly and working, i.e., it forwards to the index server ok)&lt;/LI&gt;
&lt;/OL&gt;

&lt;P&gt;On the index server, I placed the following 200-row csv file and successfully ingested it into the index foo_index using oneshot:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;"DateTime","foo"
"10/1/2019 12:03:20 AM","cat"
.. 198 more similar rows
"10/1/2019 11:55:20 PM","dog"
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;After verifying that the 200 events were ingested, I edited the csv file and added 200 more rows:&lt;/P&gt;

&lt;P&gt;&lt;STRONG&gt;"DateTime","foo"&lt;BR /&gt;
"10/1/2019 12:03:20 AM","cat"&lt;BR /&gt;
.. 198 more similar rows&lt;BR /&gt;
"10/1/2019 11:55:20 PM","dog"&lt;BR /&gt;
"10/2/2019 12:01:20 AM","mouse"&lt;BR /&gt;
.. 198 more similar rows&lt;BR /&gt;
"10/2/2019 11:59:59 PM","mouse"&lt;/STRONG&gt;&lt;/P&gt;

&lt;P&gt;Then, on the deployment server, I created a remote folder monitor and deployed it to the deployment client server which created &lt;CODE&gt;\etc\apps\xxx\local\inputs.conf&lt;/CODE&gt; on the deployment client server:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[monitor://D:\foo]
disabled = false
index = foo_index
sourcetype = csv
crcSALT = &amp;lt;SOURCE&amp;gt;
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Then, I copied the CSV file to  &lt;CODE&gt;D:\foo&lt;/CODE&gt; on the deployment client server  (&lt;CODE&gt;D:\foo&lt;/CODE&gt; was empty prior to my dropping the CSV file into it)&lt;/P&gt;

&lt;P&gt;The new 200 rows were not ingested.&lt;/P&gt;

&lt;P&gt;Why not?&lt;/P&gt;</description>
      <pubDate>Wed, 09 Oct 2019 16:33:22 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Why-isn-t-Splunk-ingesting-new-rows-from-CSV-file/m-p/499842#M85195</guid>
      <dc:creator>williamcharlton</dc:creator>
      <dc:date>2019-10-09T16:33:22Z</dc:date>
    </item>
    <item>
      <title>Re: Why isn't Splunk ingesting new rows from CSV file?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Why-isn-t-Splunk-ingesting-new-rows-from-CSV-file/m-p/499843#M85196</link>
      <description>&lt;P&gt;when you are setup an input, you have to full path to read the file.&lt;BR /&gt;
if the csv file name is sample.csv your input should be like this:&lt;BR /&gt;
[monitor://D:\foo\sample.csv]  OR &lt;BR /&gt;
 disabled = false&lt;BR /&gt;
 index = foo_index&lt;BR /&gt;
 sourcetype = csv&lt;BR /&gt;
 CRCSALT = &lt;/P&gt;

&lt;P&gt;OR&lt;BR /&gt;
this stanza [monitor://D:\foo*.csv] to index all the csv files&lt;/P&gt;

&lt;P&gt;for further information please check this link:&lt;BR /&gt;
&lt;A href="https://docs.splunk.com/Documentation/Splunk/latest/Admin/Inputsconf#MONITOR:"&gt;https://docs.splunk.com/Documentation/Splunk/latest/Admin/Inputsconf#MONITOR:&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 09 Oct 2019 22:05:39 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Why-isn-t-Splunk-ingesting-new-rows-from-CSV-file/m-p/499843#M85196</guid>
      <dc:creator>ivanreis</dc:creator>
      <dc:date>2019-10-09T22:05:39Z</dc:date>
    </item>
    <item>
      <title>Re: Why isn't Splunk ingesting new rows from CSV file?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Why-isn-t-Splunk-ingesting-new-rows-from-CSV-file/m-p/499844#M85197</link>
      <description>&lt;P&gt;My requirement is that I monitor a folder because many csv files can be loaded to the folder, not just one. &lt;/P&gt;

&lt;P&gt;The stanza you specified &lt;CODE&gt;[monitor://D:\foo*.csv]&lt;/CODE&gt; does not seem to be required:&lt;/P&gt;

&lt;P&gt;See &lt;CODE&gt;&lt;A href="https://docs.splunk.com/Documentation/Splunk/7.3.1/Data/Monitorfilesanddirectories" target="test_blank"&gt;https://docs.splunk.com/Documentation/Splunk/7.3.1/Data/Monitorfilesanddirectories&lt;/A&gt;&lt;/CODE&gt;:&lt;/P&gt;

&lt;BLOCKQUOTE&gt;
&lt;P&gt;"Specify a path to a file or directory&lt;BR /&gt;
and the monitor processor consumes any&lt;BR /&gt;
new data written to that file or&lt;BR /&gt;
directory"&lt;/P&gt;
&lt;/BLOCKQUOTE&gt;</description>
      <pubDate>Thu, 10 Oct 2019 10:31:31 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Why-isn-t-Splunk-ingesting-new-rows-from-CSV-file/m-p/499844#M85197</guid>
      <dc:creator>williamcharlton</dc:creator>
      <dc:date>2019-10-10T10:31:31Z</dc:date>
    </item>
    <item>
      <title>Re: Why isn't Splunk ingesting new rows from CSV file?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Why-isn-t-Splunk-ingesting-new-rows-from-CSV-file/m-p/499845#M85198</link>
      <description>&lt;P&gt;Ignore this question. As it turns out, Soplunk did ingest the data. It just took many more hours that I would have expected for a few hundred rows from a csv file&lt;/P&gt;</description>
      <pubDate>Thu, 10 Oct 2019 13:19:11 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Why-isn-t-Splunk-ingesting-new-rows-from-CSV-file/m-p/499845#M85198</guid>
      <dc:creator>williamcharlton</dc:creator>
      <dc:date>2019-10-10T13:19:11Z</dc:date>
    </item>
    <item>
      <title>Re: Why isn't Splunk ingesting new rows from CSV file?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Why-isn-t-Splunk-ingesting-new-rows-from-CSV-file/m-p/499846#M85199</link>
      <description>&lt;P&gt;ok, no problem, I just mistyped this stanza&lt;BR /&gt;
should be [monitor://D:\foo*.csv], this will take all the new csv files that should be added to this folder.&lt;BR /&gt;
Thanks for your feedback.&lt;/P&gt;</description>
      <pubDate>Fri, 11 Oct 2019 00:41:49 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Why-isn-t-Splunk-ingesting-new-rows-from-CSV-file/m-p/499846#M85199</guid>
      <dc:creator>ivanreis</dc:creator>
      <dc:date>2019-10-11T00:41:49Z</dc:date>
    </item>
    <item>
      <title>Re: Why isn't Splunk ingesting new rows from CSV file?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Why-isn-t-Splunk-ingesting-new-rows-from-CSV-file/m-p/499847#M85200</link>
      <description>&lt;P&gt;The problem is DEFINITELY NOT the &lt;CODE&gt;fishbucket&lt;/CODE&gt; because &lt;CODE&gt;oneshot&lt;/CODE&gt; bypasses this so any answer with &lt;CODE&gt;crcSalt&lt;/CODE&gt; is wrong (and couldn't work unless it is camel-cased correctly).  Are you sure that it did not get sent?  Did you set &lt;CODE&gt;restartSplunkd&lt;/CODE&gt;?  If not, you need to do so and push it out again.  Also fix this:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[monitor://D:\foo\*.csv]
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Mon, 14 Oct 2019 01:42:31 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Why-isn-t-Splunk-ingesting-new-rows-from-CSV-file/m-p/499847#M85200</guid>
      <dc:creator>woodcock</dc:creator>
      <dc:date>2019-10-14T01:42:31Z</dc:date>
    </item>
    <item>
      <title>Re: Why isn't Splunk ingesting new rows from CSV file?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Why-isn-t-Splunk-ingesting-new-rows-from-CSV-file/m-p/499848#M85201</link>
      <description>&lt;P&gt;My point is that Splunk docs state that you do not need to specify a file name or filename wildcards to monitor for any file in a folder. All you need is the folder name:&lt;/P&gt;

&lt;P&gt;&lt;CODE&gt;[monitor://D:\SplunkSensorLogs]&lt;/CODE&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 15 Oct 2019 11:13:48 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Why-isn-t-Splunk-ingesting-new-rows-from-CSV-file/m-p/499848#M85201</guid>
      <dc:creator>williamcharlton</dc:creator>
      <dc:date>2019-10-15T11:13:48Z</dc:date>
    </item>
    <item>
      <title>Re: Why isn't Splunk ingesting new rows from CSV file?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Why-isn-t-Splunk-ingesting-new-rows-from-CSV-file/m-p/499849#M85202</link>
      <description>&lt;P&gt;Ignore this question. As it turns out, Splunk did ingest the data. It just took many more hours that I would have expected for a few hundred rows from a csv file&lt;/P&gt;</description>
      <pubDate>Tue, 15 Oct 2019 12:06:58 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Why-isn-t-Splunk-ingesting-new-rows-from-CSV-file/m-p/499849#M85202</guid>
      <dc:creator>williamcharlton</dc:creator>
      <dc:date>2019-10-15T12:06:58Z</dc:date>
    </item>
    <item>
      <title>Re: Why isn't Splunk ingesting new rows from CSV file?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Why-isn-t-Splunk-ingesting-new-rows-from-CSV-file/m-p/499850#M85203</link>
      <description>&lt;P&gt;Ignore this question. As it turns out, Splunk did ingest the data. It just took many more hours that I would have expected for a few hundred rows from a csv file&lt;/P&gt;</description>
      <pubDate>Tue, 15 Oct 2019 12:07:11 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Why-isn-t-Splunk-ingesting-new-rows-from-CSV-file/m-p/499850#M85203</guid>
      <dc:creator>williamcharlton</dc:creator>
      <dc:date>2019-10-15T12:07:11Z</dc:date>
    </item>
    <item>
      <title>Re: Why isn't Splunk ingesting new rows from CSV file?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Why-isn-t-Splunk-ingesting-new-rows-from-CSV-file/m-p/499851#M85204</link>
      <description>&lt;P&gt;OK, come back and either click &lt;CODE&gt;Accept&lt;/CODE&gt; on this answer or post your own and &lt;CODE&gt;Accept&lt;/CODE&gt; that one to close your question.&lt;/P&gt;</description>
      <pubDate>Thu, 17 Oct 2019 15:13:58 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Why-isn-t-Splunk-ingesting-new-rows-from-CSV-file/m-p/499851#M85204</guid>
      <dc:creator>woodcock</dc:creator>
      <dc:date>2019-10-17T15:13:58Z</dc:date>
    </item>
    <item>
      <title>Re: Why isn't Splunk ingesting new rows from CSV file?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Why-isn-t-Splunk-ingesting-new-rows-from-CSV-file/m-p/499852#M85205</link>
      <description>&lt;P&gt;Ignore this question. As it turns out, Splunk did ingest the data. It just took many more hours (2 days, actually) that I would have expected for a few hundred rows from a csv file&lt;/P&gt;</description>
      <pubDate>Fri, 18 Oct 2019 10:33:53 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Why-isn-t-Splunk-ingesting-new-rows-from-CSV-file/m-p/499852#M85205</guid>
      <dc:creator>williamcharlton</dc:creator>
      <dc:date>2019-10-18T10:33:53Z</dc:date>
    </item>
  </channel>
</rss>

