<?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: Splunk Universal Forwarder only forwards one csv log in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/Splunk-Universal-Forwarder-only-forwards-one-csv-log/m-p/175693#M35278</link>
    <description>&lt;P&gt;This looks like the csv's have a long header that is the same for all csv files. Then splunk reads the first bytes of the files and if they are the same, the file will not be processed, because splunk think it is the same file.&lt;/P&gt;</description>
    <pubDate>Fri, 09 Jan 2015 08:35:50 GMT</pubDate>
    <dc:creator>tom_frotscher</dc:creator>
    <dc:date>2015-01-09T08:35:50Z</dc:date>
    <item>
      <title>Splunk Universal Forwarder only forwards one csv log</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Splunk-Universal-Forwarder-only-forwards-one-csv-log/m-p/175687#M35272</link>
      <description>&lt;P&gt;Hello,&lt;BR /&gt;
 I am having an issue with the universal forwarder, where only one csv log gets sent to the index.  We have multiple servers with the forwarder installed, and each server has the following in the inputs.conf:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;#DocView logs
    [monitor://\\$COMPUTERNAME\s$\Logs\Audit\*.docView.csv]
    disabled = 0
    followTail = false
    sourcetype = Doc View
    crcSalt = &amp;lt;SOURCE&amp;gt;
    ignoreOlderThan = 2d
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;I have ran "splunk list monitor" from the bin folder, and csv files in that folder are listed correctly, however, only one shows up in splunk when I search: sourcetype="Doc View", and it is always the first one alphabetically. The files are named: "ProjectA.docview.csv", "ProjectB.docview.csv", "ProjectC.docview.csv". ProjectA will always be the only result in splunk. &lt;/P&gt;

&lt;P&gt;I do not think it is a KBPS issue either, as I have not seen the warning in splunkd for a few weeks. &lt;/P&gt;

&lt;P&gt;I do not think it is a security issue as the files are created the same exact way from our system. &lt;/P&gt;

&lt;P&gt;&lt;STRONG&gt;Question:&lt;/STRONG&gt;&lt;BR /&gt;
Is there anything else I can check, or logs I can look at to see what the issue is?  Has anyone seen this issue before? &lt;/P&gt;

&lt;P&gt;Thank you!&lt;/P&gt;

&lt;P&gt;Edit: I do not need this log to be read as a csv file. It can be treated as a normal log with the csv extension. &lt;/P&gt;</description>
      <pubDate>Thu, 08 Jan 2015 01:27:00 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Splunk-Universal-Forwarder-only-forwards-one-csv-log/m-p/175687#M35272</guid>
      <dc:creator>RecoMark0</dc:creator>
      <dc:date>2015-01-08T01:27:00Z</dc:date>
    </item>
    <item>
      <title>Re: Splunk Universal Forwarder only forwards one csv log</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Splunk-Universal-Forwarder-only-forwards-one-csv-log/m-p/175688#M35273</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;

&lt;P&gt;as a first step, take a look in the splunkd.log of the forwarders. Always a good starting point for investigations according to forwarders.&lt;/P&gt;</description>
      <pubDate>Thu, 08 Jan 2015 09:23:29 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Splunk-Universal-Forwarder-only-forwards-one-csv-log/m-p/175688#M35273</guid>
      <dc:creator>tom_frotscher</dc:creator>
      <dc:date>2015-01-08T09:23:29Z</dc:date>
    </item>
    <item>
      <title>Re: Splunk Universal Forwarder only forwards one csv log</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Splunk-Universal-Forwarder-only-forwards-one-csv-log/m-p/175689#M35274</link>
      <description>&lt;P&gt;Try adjusting your inputs for the following:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;monitor://\\$COMPUTERNAME\s$\Logs\Audit\*.docView.csv
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Change this to &lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;monitor://\\$COMPUTERNAME\s$\Logs\Audit\*.docview.csv
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;I am not sure the case sensitivity is an issue on windows, however there might be something that its missing.&lt;/P&gt;

&lt;P&gt;Also, I'd recommend keeping your sourcetypes as one word, without spaces. If you want to separate it, do something like  &lt;/P&gt;

&lt;P&gt;sourcetype=doc:view&lt;/P&gt;</description>
      <pubDate>Thu, 08 Jan 2015 09:33:26 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Splunk-Universal-Forwarder-only-forwards-one-csv-log/m-p/175689#M35274</guid>
      <dc:creator>esix_splunk</dc:creator>
      <dc:date>2015-01-08T09:33:26Z</dc:date>
    </item>
    <item>
      <title>Re: Splunk Universal Forwarder only forwards one csv log</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Splunk-Universal-Forwarder-only-forwards-one-csv-log/m-p/175690#M35275</link>
      <description>&lt;P&gt;the splunkd log is not really telling me anything, other than that the server is only trying to send one of the files, and not all of them. There are no warnings or errors in the log either &lt;span class="lia-unicode-emoji" title=":disappointed_face:"&gt;😞&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 08 Jan 2015 19:53:59 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Splunk-Universal-Forwarder-only-forwards-one-csv-log/m-p/175690#M35275</guid>
      <dc:creator>RecoMark0</dc:creator>
      <dc:date>2015-01-08T19:53:59Z</dc:date>
    </item>
    <item>
      <title>Re: Splunk Universal Forwarder only forwards one csv log</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Splunk-Universal-Forwarder-only-forwards-one-csv-log/m-p/175691#M35276</link>
      <description>&lt;P&gt;This appears to be an issue with the initCrc.&lt;/P&gt;

&lt;P&gt;Without changing the length the csvs would not be picked up on rollover.&lt;/P&gt;

&lt;P&gt;I tested this with adding to the inputs.conf:&lt;/P&gt;

&lt;P&gt;initCrcLength=1024&lt;/P&gt;

&lt;P&gt;All logs are grabbed now.&lt;/P&gt;</description>
      <pubDate>Fri, 09 Jan 2015 01:31:40 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Splunk-Universal-Forwarder-only-forwards-one-csv-log/m-p/175691#M35276</guid>
      <dc:creator>eabrown2</dc:creator>
      <dc:date>2015-01-09T01:31:40Z</dc:date>
    </item>
    <item>
      <title>Re: Splunk Universal Forwarder only forwards one csv log</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Splunk-Universal-Forwarder-only-forwards-one-csv-log/m-p/175692#M35277</link>
      <description>&lt;P&gt;This seems to have done the trick, thank you.  I tested it on one of the servers, and more than one csv is now coming through.&lt;/P&gt;</description>
      <pubDate>Fri, 09 Jan 2015 01:54:49 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Splunk-Universal-Forwarder-only-forwards-one-csv-log/m-p/175692#M35277</guid>
      <dc:creator>RecoMark0</dc:creator>
      <dc:date>2015-01-09T01:54:49Z</dc:date>
    </item>
    <item>
      <title>Re: Splunk Universal Forwarder only forwards one csv log</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Splunk-Universal-Forwarder-only-forwards-one-csv-log/m-p/175693#M35278</link>
      <description>&lt;P&gt;This looks like the csv's have a long header that is the same for all csv files. Then splunk reads the first bytes of the files and if they are the same, the file will not be processed, because splunk think it is the same file.&lt;/P&gt;</description>
      <pubDate>Fri, 09 Jan 2015 08:35:50 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Splunk-Universal-Forwarder-only-forwards-one-csv-log/m-p/175693#M35278</guid>
      <dc:creator>tom_frotscher</dc:creator>
      <dc:date>2015-01-09T08:35:50Z</dc:date>
    </item>
  </channel>
</rss>

