<?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 find the file (source) in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/can-t-find-the-file-source/m-p/26066#M4257</link>
    <description>&lt;P&gt;Takajian Thanks ^^&lt;/P&gt;</description>
    <pubDate>Wed, 07 Dec 2011 06:59:55 GMT</pubDate>
    <dc:creator>ypfbkg</dc:creator>
    <dc:date>2011-12-07T06:59:55Z</dc:date>
    <item>
      <title>can't find the file (source)</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/can-t-find-the-file-source/m-p/26064#M4255</link>
      <description>&lt;P&gt;i set a input (directory) and i use command "splunk list monitor"&lt;BR /&gt;
splunk list monitor command result:&lt;BR /&gt;
\\aaasvr\iis-pic\PM\PMLog&lt;BR /&gt;
        \\aaasvr\iis-pic\PM\PMLog\PMLog.txt&lt;BR /&gt;
        \\aaasvr\iis-pic\PM\PMLog\PMLog.txt20111126&lt;BR /&gt;
        \\aaasvr\iis-pic\PM\PMLog\PMLog.txt20111128&lt;BR /&gt;
        \\aaasvr\iis-pic\PM\PMLog\PMLog20111128.txt&lt;/P&gt;

&lt;P&gt;but in my source data, only one file (\\aaasvr\iis-pic\PM\PMLog\PMLog.txt) be detected.&lt;/P&gt;

&lt;P&gt;why jsut one file be detected ? hwo can i do ? anyone can help me.&lt;/P&gt;

&lt;P&gt;this is my splunk source &amp;amp; command result&lt;BR /&gt;
&lt;A href="https://plus.google.com/u/0/photos/108462100385830199378/albums/5437918716733917105/5680995507593456002"&gt;Link&lt;/A&gt;&lt;/P&gt;

&lt;P&gt;Thanks.&lt;BR /&gt;
Finley&lt;/P&gt;</description>
      <pubDate>Thu, 01 Dec 2011 03:21:13 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/can-t-find-the-file-source/m-p/26064#M4255</guid>
      <dc:creator>ypfbkg</dc:creator>
      <dc:date>2011-12-01T03:21:13Z</dc:date>
    </item>
    <item>
      <title>Re: can't find the file (source)</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/can-t-find-the-file-source/m-p/26065#M4256</link>
      <description>&lt;P&gt;How those file are created? Did you just copy them from original one? Are those file header is same? If yes, it could be problem for splunk to index data.&lt;BR /&gt;
Because splunk monitoring processor picks up new files and reads the first and last 256 bytes of the file, then&lt;BR /&gt;
the data is hashed into a begin and end cyclic redundancy check (CRC). &lt;BR /&gt;
Splunk checks new CRCs against a database that contains all the CRCs of files Splunk has seen before.&lt;BR /&gt;
If those file header is same, CRC will be same , so Splunk can not detect them as new file.&lt;/P&gt;

&lt;P&gt;To avoid this issue, you can use following parameter in inputs.conf.&lt;/P&gt;

&lt;P&gt;-&lt;INPUTS.CONF&gt;-------------------------------------------------------------------------------------------------------&lt;BR /&gt;
crcSalt = &lt;STRING&gt;&lt;BR /&gt;
* Use this setting to force Splunk to consume files that have matching CRCs (cyclic redundancy checks). (Splunk only &lt;BR /&gt;
  performs CRC checks against the first few lines of a file. This behavior prevents Splunk from indexing the same &lt;BR /&gt;
  file twice, even though you may have renamed it -- as, for example, with rolling log files. However, because the &lt;BR /&gt;
  CRC is based on only the first few lines of the file, it is possible for legitimately different files to have &lt;BR /&gt;
  matching CRCs, particularly if they have identical headers.)&lt;BR /&gt;
* If set, &lt;STRING&gt; is added to the CRC.&lt;BR /&gt;
* If set to the literal string &lt;SOURCE&gt; (including the angle brackets), the full directory path to the source file &lt;BR /&gt;
  is added to the CRC. This ensures that each file being monitored has a unique CRC.   When crcSalt is invoked, &lt;BR /&gt;
  it is usually set to &lt;SOURCE&gt;.&lt;BR /&gt;
* Be cautious about using this attribute with rolling log files; it could lead to the log file being re-indexed &lt;BR /&gt;
  after it has rolled. &lt;BR /&gt;
* Defaults to empty. &lt;/SOURCE&gt;&lt;/SOURCE&gt;&lt;/STRING&gt;&lt;/STRING&gt;&lt;/INPUTS.CONF&gt;&lt;/P&gt;

&lt;HR /&gt;</description>
      <pubDate>Thu, 01 Dec 2011 07:25:14 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/can-t-find-the-file-source/m-p/26065#M4256</guid>
      <dc:creator>Takajian</dc:creator>
      <dc:date>2011-12-01T07:25:14Z</dc:date>
    </item>
    <item>
      <title>Re: can't find the file (source)</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/can-t-find-the-file-source/m-p/26066#M4257</link>
      <description>&lt;P&gt;Takajian Thanks ^^&lt;/P&gt;</description>
      <pubDate>Wed, 07 Dec 2011 06:59:55 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/can-t-find-the-file-source/m-p/26066#M4257</guid>
      <dc:creator>ypfbkg</dc:creator>
      <dc:date>2011-12-07T06:59:55Z</dc:date>
    </item>
  </channel>
</rss>

