<?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 Splunk doesn't index new created logfile. in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/Splunk-doesn-t-index-new-created-logfile/m-p/197285#M39196</link>
    <description>&lt;P&gt;Hello,&lt;/P&gt;

&lt;P&gt;I observe a ftp logfile. The server creates one logfile for one day.&lt;BR /&gt;
At midnight there will be a new file created. But this is not readable for the forwarder.&lt;BR /&gt;
If I restart the forwarder, everything is fine, and will be forwarded.&lt;/P&gt;

&lt;P&gt;&lt;STRONG&gt;Example:&lt;/STRONG&gt;&lt;/P&gt;

&lt;P&gt;&lt;CODE&gt;20th March 11PM: Logfile is forwarding to the indexer&lt;/CODE&gt;&lt;BR /&gt;
&lt;CODE&gt;21th March 01AM: No forwarding&lt;/CODE&gt;&lt;BR /&gt;
&lt;CODE&gt;21th March 08AM: Forwarder restart&lt;/CODE&gt;&lt;BR /&gt;
&lt;CODE&gt;21th March 08AM: Logfile is forwarding to the indexer&lt;/CODE&gt;&lt;/P&gt;

&lt;P&gt;&lt;STRONG&gt;The splunkd logfile has three entries:&lt;/STRONG&gt;&lt;/P&gt;

&lt;P&gt;&lt;CODE&gt;03-21-2014 00:01:19.664 +0100 WARN  FileClassifierManager - The file 'path_to_logfile' is invalid. Reason: binary&lt;/CODE&gt;&lt;BR /&gt;
&lt;CODE&gt;03-21-2014 00:01:19.664 +0100 INFO  TailingProcessor - Ignoring file 'path_to_logfile' due to: binary&lt;/CODE&gt;&lt;BR /&gt;
&lt;CODE&gt;03-21-2014 04:31:09.931 +0100 ERROR TailingProcessor - Ignoring path="path_to_logfile" due to: Bug: tried to check/configure STData processing but have no pending metadata.&lt;/CODE&gt;&lt;/P&gt;

&lt;P&gt;&lt;STRONG&gt;inputs.conf&lt;/STRONG&gt;&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[monitor://path_to_logfile]
disabled = false
sourcetype = FTPLOG
crcSalt = &amp;lt;SOURCE&amp;gt;
Charset = Auto
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;&lt;STRONG&gt;props.conf&lt;/STRONG&gt;&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[monitor://path_to_logfile]
NO_BINARY_CHECK = true
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Could you help me?&lt;BR /&gt;
Christian&lt;/P&gt;</description>
    <pubDate>Fri, 21 Mar 2014 07:24:40 GMT</pubDate>
    <dc:creator>chrisitanmoleck</dc:creator>
    <dc:date>2014-03-21T07:24:40Z</dc:date>
    <item>
      <title>Splunk doesn't index new created logfile.</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Splunk-doesn-t-index-new-created-logfile/m-p/197285#M39196</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;

&lt;P&gt;I observe a ftp logfile. The server creates one logfile for one day.&lt;BR /&gt;
At midnight there will be a new file created. But this is not readable for the forwarder.&lt;BR /&gt;
If I restart the forwarder, everything is fine, and will be forwarded.&lt;/P&gt;

&lt;P&gt;&lt;STRONG&gt;Example:&lt;/STRONG&gt;&lt;/P&gt;

&lt;P&gt;&lt;CODE&gt;20th March 11PM: Logfile is forwarding to the indexer&lt;/CODE&gt;&lt;BR /&gt;
&lt;CODE&gt;21th March 01AM: No forwarding&lt;/CODE&gt;&lt;BR /&gt;
&lt;CODE&gt;21th March 08AM: Forwarder restart&lt;/CODE&gt;&lt;BR /&gt;
&lt;CODE&gt;21th March 08AM: Logfile is forwarding to the indexer&lt;/CODE&gt;&lt;/P&gt;

&lt;P&gt;&lt;STRONG&gt;The splunkd logfile has three entries:&lt;/STRONG&gt;&lt;/P&gt;

&lt;P&gt;&lt;CODE&gt;03-21-2014 00:01:19.664 +0100 WARN  FileClassifierManager - The file 'path_to_logfile' is invalid. Reason: binary&lt;/CODE&gt;&lt;BR /&gt;
&lt;CODE&gt;03-21-2014 00:01:19.664 +0100 INFO  TailingProcessor - Ignoring file 'path_to_logfile' due to: binary&lt;/CODE&gt;&lt;BR /&gt;
&lt;CODE&gt;03-21-2014 04:31:09.931 +0100 ERROR TailingProcessor - Ignoring path="path_to_logfile" due to: Bug: tried to check/configure STData processing but have no pending metadata.&lt;/CODE&gt;&lt;/P&gt;

&lt;P&gt;&lt;STRONG&gt;inputs.conf&lt;/STRONG&gt;&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[monitor://path_to_logfile]
disabled = false
sourcetype = FTPLOG
crcSalt = &amp;lt;SOURCE&amp;gt;
Charset = Auto
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;&lt;STRONG&gt;props.conf&lt;/STRONG&gt;&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[monitor://path_to_logfile]
NO_BINARY_CHECK = true
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Could you help me?&lt;BR /&gt;
Christian&lt;/P&gt;</description>
      <pubDate>Fri, 21 Mar 2014 07:24:40 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Splunk-doesn-t-index-new-created-logfile/m-p/197285#M39196</guid>
      <dc:creator>chrisitanmoleck</dc:creator>
      <dc:date>2014-03-21T07:24:40Z</dc:date>
    </item>
    <item>
      <title>Re: Splunk doesn't index new created logfile.</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Splunk-doesn-t-index-new-created-logfile/m-p/197286#M39197</link>
      <description>&lt;P&gt;Hi chrisitanmolecki,&lt;/P&gt;

&lt;P&gt;Splunk checks the first bits of your file, could there be an invisible control character at the start of your file? That happened to me one time...&lt;BR /&gt;
 Just edited the file with an hex editor and check if there are some strange characters like &lt;CODE&gt;xA0&lt;/CODE&gt;&lt;/P&gt;

&lt;P&gt;hope this helps ...&lt;/P&gt;

&lt;P&gt;cheers, MuS&lt;/P&gt;</description>
      <pubDate>Fri, 21 Mar 2014 08:43:26 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Splunk-doesn-t-index-new-created-logfile/m-p/197286#M39197</guid>
      <dc:creator>MuS</dc:creator>
      <dc:date>2014-03-21T08:43:26Z</dc:date>
    </item>
    <item>
      <title>Re: Splunk doesn't index new created logfile.</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Splunk-doesn-t-index-new-created-logfile/m-p/197287#M39198</link>
      <description>&lt;P&gt;The logfile starts with:&lt;/P&gt;

&lt;P&gt;#Software: Microsoft Internet Information Services 6.0&lt;/P&gt;

&lt;P&gt;in a hex-editor shows like:&lt;/P&gt;

&lt;P&gt;2353 6F66 7477....&lt;/P&gt;</description>
      <pubDate>Fri, 21 Mar 2014 08:47:25 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Splunk-doesn-t-index-new-created-logfile/m-p/197287#M39198</guid>
      <dc:creator>chrisitanmoleck</dc:creator>
      <dc:date>2014-03-21T08:47:25Z</dc:date>
    </item>
    <item>
      <title>Re: Splunk doesn't index new created logfile.</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Splunk-doesn-t-index-new-created-logfile/m-p/197288#M39199</link>
      <description>&lt;P&gt;Just saw that your &lt;CODE&gt;Charset&lt;/CODE&gt; is A in &lt;CODE&gt;inputs.conf&lt;/CODE&gt; instead of &lt;CODE&gt;props.conf&lt;/CODE&gt; and B is wrong. It should be &lt;CODE&gt;charset&lt;/CODE&gt; not &lt;CODE&gt;Charset&lt;/CODE&gt;. See docs about binary file error &lt;A href="http://docs.splunk.com/Documentation/Splunk/6.0.2/Troubleshooting/Binaryfileerror"&gt;http://docs.splunk.com/Documentation/Splunk/6.0.2/Troubleshooting/Binaryfileerror&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 21 Mar 2014 08:55:53 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Splunk-doesn-t-index-new-created-logfile/m-p/197288#M39199</guid>
      <dc:creator>MuS</dc:creator>
      <dc:date>2014-03-21T08:55:53Z</dc:date>
    </item>
    <item>
      <title>Re: Splunk doesn't index new created logfile.</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Splunk-doesn-t-index-new-created-logfile/m-p/197289#M39200</link>
      <description>&lt;P&gt;Also (but maybe it's just a typo) you have a props.conf stanza that says &lt;CODE&gt;[monitor://path_to_log]&lt;/CODE&gt;, when it should say &lt;CODE&gt;[FTPLOG]&lt;/CODE&gt; (i.e. just the sourcetype). The &lt;CODE&gt;[monitor]&lt;/CODE&gt;-stanzas are for inputs.conf only.&lt;/P&gt;</description>
      <pubDate>Fri, 21 Mar 2014 10:10:15 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Splunk-doesn-t-index-new-created-logfile/m-p/197289#M39200</guid>
      <dc:creator>kristian_kolb</dc:creator>
      <dc:date>2014-03-21T10:10:15Z</dc:date>
    </item>
    <item>
      <title>Re: Splunk doesn't index new created logfile.</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Splunk-doesn-t-index-new-created-logfile/m-p/197290#M39201</link>
      <description>&lt;P&gt;I changed the configs.&lt;/P&gt;

&lt;P&gt;First results on monday morning.&lt;/P&gt;

&lt;P&gt;Nice Weekend&lt;BR /&gt;
Christian&lt;/P&gt;</description>
      <pubDate>Fri, 21 Mar 2014 10:38:24 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Splunk-doesn-t-index-new-created-logfile/m-p/197290#M39201</guid>
      <dc:creator>chrisitanmoleck</dc:creator>
      <dc:date>2014-03-21T10:38:24Z</dc:date>
    </item>
    <item>
      <title>Re: Splunk doesn't index new created logfile.</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Splunk-doesn-t-index-new-created-logfile/m-p/197291#M39202</link>
      <description>&lt;P&gt;It works. Thank you MuS and kristian.kolb!!!&lt;/P&gt;</description>
      <pubDate>Mon, 24 Mar 2014 07:09:45 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Splunk-doesn-t-index-new-created-logfile/m-p/197291#M39202</guid>
      <dc:creator>chrisitanmoleck</dc:creator>
      <dc:date>2014-03-24T07:09:45Z</dc:date>
    </item>
  </channel>
</rss>

