<?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 Monitor empty files? in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/Monitor-empty-files/m-p/96148#M20015</link>
    <description>&lt;P&gt;I have a business need to monitor 0 kb files. I can get this to work using fschange, however with fschange being deprecated in 5.x this is not a viable option. I would prefer using monitor rather than a script, and only want to index new files, with the system time being used as timestamp (DATETIME_CONFIG=CURRENT).&lt;/P&gt;

&lt;P&gt;Any ideas?&lt;/P&gt;</description>
    <pubDate>Tue, 16 Apr 2013 14:43:10 GMT</pubDate>
    <dc:creator>ftk</dc:creator>
    <dc:date>2013-04-16T14:43:10Z</dc:date>
    <item>
      <title>Monitor empty files?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Monitor-empty-files/m-p/96148#M20015</link>
      <description>&lt;P&gt;I have a business need to monitor 0 kb files. I can get this to work using fschange, however with fschange being deprecated in 5.x this is not a viable option. I would prefer using monitor rather than a script, and only want to index new files, with the system time being used as timestamp (DATETIME_CONFIG=CURRENT).&lt;/P&gt;

&lt;P&gt;Any ideas?&lt;/P&gt;</description>
      <pubDate>Tue, 16 Apr 2013 14:43:10 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Monitor-empty-files/m-p/96148#M20015</guid>
      <dc:creator>ftk</dc:creator>
      <dc:date>2013-04-16T14:43:10Z</dc:date>
    </item>
    <item>
      <title>Re: Monitor empty files?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Monitor-empty-files/m-p/96149#M20016</link>
      <description>&lt;P&gt;This will vary depending on OS. Which OS are you trying to do this for?&lt;/P&gt;</description>
      <pubDate>Tue, 16 Apr 2013 15:54:08 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Monitor-empty-files/m-p/96149#M20016</guid>
      <dc:creator>bmacias84</dc:creator>
      <dc:date>2013-04-16T15:54:08Z</dc:date>
    </item>
    <item>
      <title>Re: Monitor empty files?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Monitor-empty-files/m-p/96150#M20017</link>
      <description>&lt;P&gt;OS is Windows 2008.&lt;/P&gt;</description>
      <pubDate>Tue, 23 Jul 2013 17:48:38 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Monitor-empty-files/m-p/96150#M20017</guid>
      <dc:creator>ftk</dc:creator>
      <dc:date>2013-07-23T17:48:38Z</dc:date>
    </item>
    <item>
      <title>Re: Monitor empty files?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Monitor-empty-files/m-p/96151#M20018</link>
      <description>&lt;P&gt;Do these files grow? Do you need to know that they stayed empty and you want to know when they start growing? Or is it a simple flag that indicates something happened?&lt;/P&gt;</description>
      <pubDate>Tue, 23 Jul 2013 18:09:54 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Monitor-empty-files/m-p/96151#M20018</guid>
      <dc:creator>gregbujak</dc:creator>
      <dc:date>2013-07-23T18:09:54Z</dc:date>
    </item>
    <item>
      <title>Re: Monitor empty files?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Monitor-empty-files/m-p/96152#M20019</link>
      <description>&lt;P&gt;The files never grow. They are being used as a simple flag by the vendor, i.e. ABCD.zip will receive ABCD.done at 0 kb length to flag the file as processed.&lt;/P&gt;</description>
      <pubDate>Tue, 23 Jul 2013 18:14:22 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Monitor-empty-files/m-p/96152#M20019</guid>
      <dc:creator>ftk</dc:creator>
      <dc:date>2013-07-23T18:14:22Z</dc:date>
    </item>
    <item>
      <title>Re: Monitor empty files?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Monitor-empty-files/m-p/96153#M20020</link>
      <description>&lt;P&gt;If you don't want to use a script or a modular input then &lt;STRONG&gt;Windows Security Auditing&lt;/STRONG&gt;.  You will have to monitor the Security Event Logs.  The Windows Security Event logs can be really noisy, so you might have to build some transforms to filter data.&lt;/P&gt;

&lt;OL&gt;
&lt;LI&gt;On your windows Server right click folder/directory.  Select Properties&lt;/LI&gt;
&lt;LI&gt;Click Security Tab.  Click Advanced.&lt;/LI&gt;
&lt;LI&gt;Click Auditing Tab.  Click Edit&lt;/LI&gt;
&lt;LI&gt;Click Add... &lt;/LI&gt;
&lt;LI&gt;For Object Name enter: EVERYONE.  Click Check Name. Click OK&lt;/LI&gt;
&lt;LI&gt;Managing audit Windows will appear. Check Successful and Failed for the following accesses: Create Files/ Write data; Create folders / append data; Delete subfolders and files; delete&lt;/LI&gt;
&lt;/OL&gt;

&lt;P&gt;This should give you what you need.  Though its been a while so you going to have dig up the EventID corresponding to the create/append/delte of a file. Think it might be 560, 4616.  Also you may need to &lt;STRONG&gt;turn on Audit object access through Local Group Policy&lt;/STRONG&gt;.&lt;/P&gt;

&lt;P&gt;Additional info:&lt;/P&gt;

&lt;UL&gt;
&lt;LI&gt;&lt;A href="http://whatevernetworks.com/?p=108"&gt;http://whatevernetworks.com/?p=108&lt;/A&gt;&lt;/LI&gt;
&lt;/UL&gt;

&lt;P&gt;Hope this helps or gets you started. If you have additional question I'll try to help.&lt;/P&gt;</description>
      <pubDate>Tue, 23 Jul 2013 21:07:31 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Monitor-empty-files/m-p/96153#M20020</guid>
      <dc:creator>bmacias84</dc:creator>
      <dc:date>2013-07-23T21:07:31Z</dc:date>
    </item>
    <item>
      <title>Re: Monitor empty files?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Monitor-empty-files/m-p/96154#M20021</link>
      <description>&lt;P&gt;That's a great idea. Not sure why I didn't think of that since we are using the SACLs for FIM already...thanks!&lt;/P&gt;</description>
      <pubDate>Wed, 24 Jul 2013 15:45:42 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Monitor-empty-files/m-p/96154#M20021</guid>
      <dc:creator>ftk</dc:creator>
      <dc:date>2013-07-24T15:45:42Z</dc:date>
    </item>
    <item>
      <title>Re: Monitor empty files?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Monitor-empty-files/m-p/96155#M20022</link>
      <description>&lt;P&gt;I have the same situation where we have to monitor files that are 0kb. The forwarder hangs during this time and creates a lag time for any other files to be monitored. This is in a linux base OS. How would you resolve the hang time?&lt;/P&gt;</description>
      <pubDate>Wed, 10 Sep 2014 03:28:35 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Monitor-empty-files/m-p/96155#M20022</guid>
      <dc:creator>ben_leung</dc:creator>
      <dc:date>2014-09-10T03:28:35Z</dc:date>
    </item>
  </channel>
</rss>

