<?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: SplunkUniversalForwarder not forwarding input files in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/SplunkUniversalForwarder-not-forwarding-input-files/m-p/62171#M12427</link>
    <description>&lt;P&gt;Hi anaptshah&lt;/P&gt;

&lt;P&gt;there are many things, that could prevent a file from being read by the universal forwarder:&lt;/P&gt;

&lt;UL&gt;
&lt;LI&gt;file permission: does the user/service account which runs the splunkd have read access to this file?&lt;/LI&gt;
&lt;LI&gt;typo in the stanza: does &lt;CODE&gt;splunkd.exe list monitor&lt;/CODE&gt; show your stanza with the correct path?&lt;/LI&gt;
&lt;LI&gt;maybe the file just does not get changed?&lt;/LI&gt;
&lt;LI&gt;did you restart your universal forwarder? it happened to me sometimes, that after the restart the file gets immediately read by splunk&lt;/LI&gt;
&lt;/UL&gt;

&lt;P&gt;hope this helps a bit and you get it fixed.&lt;/P&gt;

&lt;P&gt;cheers&lt;/P&gt;</description>
    <pubDate>Tue, 23 Aug 2011 05:45:41 GMT</pubDate>
    <dc:creator>MuS</dc:creator>
    <dc:date>2011-08-23T05:45:41Z</dc:date>
    <item>
      <title>SplunkUniversalForwarder not forwarding input files</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/SplunkUniversalForwarder-not-forwarding-input-files/m-p/62170#M12426</link>
      <description>&lt;P&gt;We are using SplunkUniversalForwarder 4.2.3 x64 to forward some logs. inputs.conf has the following stanzas&lt;/P&gt;

&lt;P&gt;[monitor://D:\Program Files (x86)\MicroStrategy\Web Logs\CustomMSTRLog*] &lt;BR /&gt;
disabled = 0 &lt;BR /&gt;
sourcetype = stg_mstr_esm_log &lt;BR /&gt;
crcSalt = &lt;SOURCE&gt;&lt;/SOURCE&gt;&lt;/P&gt;

&lt;P&gt;[WinEventLog:Application]&lt;BR /&gt;
disabled = 0&lt;/P&gt;

&lt;P&gt;[WinEventLog:System]&lt;BR /&gt;
disabled = 0&lt;/P&gt;

&lt;P&gt;Eventlogs are getting forwarded without any issues but the apache logs are not. I am not seeing any errors in splunkd.log on the forwarder. &lt;/P&gt;</description>
      <pubDate>Mon, 28 Sep 2020 09:49:04 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/SplunkUniversalForwarder-not-forwarding-input-files/m-p/62170#M12426</guid>
      <dc:creator>anantshah</dc:creator>
      <dc:date>2020-09-28T09:49:04Z</dc:date>
    </item>
    <item>
      <title>Re: SplunkUniversalForwarder not forwarding input files</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/SplunkUniversalForwarder-not-forwarding-input-files/m-p/62171#M12427</link>
      <description>&lt;P&gt;Hi anaptshah&lt;/P&gt;

&lt;P&gt;there are many things, that could prevent a file from being read by the universal forwarder:&lt;/P&gt;

&lt;UL&gt;
&lt;LI&gt;file permission: does the user/service account which runs the splunkd have read access to this file?&lt;/LI&gt;
&lt;LI&gt;typo in the stanza: does &lt;CODE&gt;splunkd.exe list monitor&lt;/CODE&gt; show your stanza with the correct path?&lt;/LI&gt;
&lt;LI&gt;maybe the file just does not get changed?&lt;/LI&gt;
&lt;LI&gt;did you restart your universal forwarder? it happened to me sometimes, that after the restart the file gets immediately read by splunk&lt;/LI&gt;
&lt;/UL&gt;

&lt;P&gt;hope this helps a bit and you get it fixed.&lt;/P&gt;

&lt;P&gt;cheers&lt;/P&gt;</description>
      <pubDate>Tue, 23 Aug 2011 05:45:41 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/SplunkUniversalForwarder-not-forwarding-input-files/m-p/62171#M12427</guid>
      <dc:creator>MuS</dc:creator>
      <dc:date>2011-08-23T05:45:41Z</dc:date>
    </item>
    <item>
      <title>Re: SplunkUniversalForwarder not forwarding input files</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/SplunkUniversalForwarder-not-forwarding-input-files/m-p/62172#M12428</link>
      <description>&lt;P&gt;I uploaded the incorrect stanza, the stanza thats not working is as follows&lt;/P&gt;

&lt;P&gt;[monitor://D:\Program Files (x86)\MicroStrategy\Web Logs\CustomMSTRLog*]&lt;BR /&gt;
disabled = 0&lt;BR /&gt;
sourcetype = stg_mstr_esm_log&lt;BR /&gt;
crcSalt = &lt;SOURCE&gt;&lt;/SOURCE&gt;&lt;/P&gt;

&lt;P&gt;splunkd.exe list monitor shows the directory but does not show any of the files. Is there something special about (x86)? The stanza on the original post works fine.&lt;/P&gt;</description>
      <pubDate>Mon, 28 Sep 2020 09:49:27 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/SplunkUniversalForwarder-not-forwarding-input-files/m-p/62172#M12428</guid>
      <dc:creator>anantshah</dc:creator>
      <dc:date>2020-09-28T09:49:27Z</dc:date>
    </item>
    <item>
      <title>Re: SplunkUniversalForwarder not forwarding input files</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/SplunkUniversalForwarder-not-forwarding-input-files/m-p/62173#M12429</link>
      <description>&lt;P&gt;I was able to resolve the issue using a whitelist. I think the wild card does not work because (x86) in the path.&lt;/P&gt;

&lt;P&gt;[monitor://D:\Program Files (x86)\MicroStrategy\Web Logs]&lt;BR /&gt;
whitelist = Custom[^/]*.log$&lt;BR /&gt;
disabled = 0&lt;BR /&gt;
sourcetype = stg_mstr_esm_log&lt;BR /&gt;
crcSalt = &lt;SOURCE&gt;&lt;/SOURCE&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 28 Sep 2020 09:49:29 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/SplunkUniversalForwarder-not-forwarding-input-files/m-p/62173#M12429</guid>
      <dc:creator>anantshah</dc:creator>
      <dc:date>2020-09-28T09:49:29Z</dc:date>
    </item>
  </channel>
</rss>

