<?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 is a specific log file not getting forwarded when others in the same directory do? in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/Why-is-a-specific-log-file-not-getting-forwarded-when-others-in/m-p/147072#M29967</link>
    <description>&lt;P&gt;Try restarting your splunk forwarder to see if it picks up server.log. If that doesn't help, grep for server.log in $SPUNK_HOME/var/log/splunk/splunkd.log and see if there are any errors.&lt;/P&gt;</description>
    <pubDate>Fri, 17 Apr 2015 21:08:34 GMT</pubDate>
    <dc:creator>masonmorales</dc:creator>
    <dc:date>2015-04-17T21:08:34Z</dc:date>
    <item>
      <title>Why is a specific log file not getting forwarded when others in the same directory do?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Why-is-a-specific-log-file-not-getting-forwarded-when-others-in/m-p/147067#M29962</link>
      <description>&lt;P&gt;I'm having an issue where a specific log file is not forwarding, but others in the same directory and Splunk app are forwarding.&lt;/P&gt;

&lt;P&gt;The files in question are:&lt;BR /&gt;
server.log&lt;BR /&gt;
server.log.0&lt;/P&gt;

&lt;P&gt;The .0 is just where the server.log rolls over to so I don't care about forwarding that as it is just stale and duplicate data. I have created an inputs.conf file for this directory and simplified it just monitor "server*".&lt;/P&gt;

&lt;P&gt;My issue is that server.log.0 is showing up in Splunk whereas server.log is NOT. If I change the inputs .conf to specifically look for server.log then nothing shows up in Splunk. &lt;/P&gt;

&lt;P&gt;Both files have the same owner and read/write permissions. What could be causing this? It seems like all variables are equal but I'm getting different results.&lt;/P&gt;

&lt;P&gt;Here is the inputs.conf file in question:&lt;BR /&gt;
[monitor:///api/logs/server.log]&lt;BR /&gt;
sourcetype=serverapi_logs&lt;BR /&gt;
index=api&lt;/P&gt;

&lt;P&gt;[monitor:///api/logs/error.log]&lt;BR /&gt;
sourcetype=errorrapi_logs&lt;BR /&gt;
index=api&lt;/P&gt;

&lt;P&gt;And an ls on the directory:&lt;BR /&gt;
error.log error.log.0 README.md server.log server.log.0&lt;/P&gt;</description>
      <pubDate>Fri, 17 Apr 2015 19:05:03 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Why-is-a-specific-log-file-not-getting-forwarded-when-others-in/m-p/147067#M29962</guid>
      <dc:creator>BT_Neophyte</dc:creator>
      <dc:date>2015-04-17T19:05:03Z</dc:date>
    </item>
    <item>
      <title>Re: Why is a specific log file not getting forwarded when others in the same directory do?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Why-is-a-specific-log-file-not-getting-forwarded-when-others-in/m-p/147068#M29963</link>
      <description>&lt;P&gt;were you Specify the new source type in forwarder inputs&lt;/P&gt;</description>
      <pubDate>Fri, 17 Apr 2015 20:29:35 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Why-is-a-specific-log-file-not-getting-forwarded-when-others-in/m-p/147068#M29963</guid>
      <dc:creator>juvetm</dc:creator>
      <dc:date>2015-04-17T20:29:35Z</dc:date>
    </item>
    <item>
      <title>Re: Why is a specific log file not getting forwarded when others in the same directory do?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Why-is-a-specific-log-file-not-getting-forwarded-when-others-in/m-p/147069#M29964</link>
      <description>&lt;P&gt;Could you post your inputs.conf please?&lt;/P&gt;</description>
      <pubDate>Fri, 17 Apr 2015 20:36:26 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Why-is-a-specific-log-file-not-getting-forwarded-when-others-in/m-p/147069#M29964</guid>
      <dc:creator>masonmorales</dc:creator>
      <dc:date>2015-04-17T20:36:26Z</dc:date>
    </item>
    <item>
      <title>Re: Why is a specific log file not getting forwarded when others in the same directory do?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Why-is-a-specific-log-file-not-getting-forwarded-when-others-in/m-p/147070#M29965</link>
      <description>&lt;P&gt;Added more info above&lt;/P&gt;</description>
      <pubDate>Fri, 17 Apr 2015 20:46:49 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Why-is-a-specific-log-file-not-getting-forwarded-when-others-in/m-p/147070#M29965</guid>
      <dc:creator>BT_Neophyte</dc:creator>
      <dc:date>2015-04-17T20:46:49Z</dc:date>
    </item>
    <item>
      <title>Re: Why is a specific log file not getting forwarded when others in the same directory do?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Why-is-a-specific-log-file-not-getting-forwarded-when-others-in/m-p/147071#M29966</link>
      <description>&lt;P&gt;the problem is not  the permission&lt;/P&gt;</description>
      <pubDate>Fri, 17 Apr 2015 20:50:47 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Why-is-a-specific-log-file-not-getting-forwarded-when-others-in/m-p/147071#M29966</guid>
      <dc:creator>juvetm</dc:creator>
      <dc:date>2015-04-17T20:50:47Z</dc:date>
    </item>
    <item>
      <title>Re: Why is a specific log file not getting forwarded when others in the same directory do?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Why-is-a-specific-log-file-not-getting-forwarded-when-others-in/m-p/147072#M29967</link>
      <description>&lt;P&gt;Try restarting your splunk forwarder to see if it picks up server.log. If that doesn't help, grep for server.log in $SPUNK_HOME/var/log/splunk/splunkd.log and see if there are any errors.&lt;/P&gt;</description>
      <pubDate>Fri, 17 Apr 2015 21:08:34 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Why-is-a-specific-log-file-not-getting-forwarded-when-others-in/m-p/147072#M29967</guid>
      <dc:creator>masonmorales</dc:creator>
      <dc:date>2015-04-17T21:08:34Z</dc:date>
    </item>
  </channel>
</rss>

