<?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 a file in a folder in Monitoring Splunk</title>
    <link>https://community.splunk.com/t5/Monitoring-Splunk/Monitor-a-file-in-a-folder/m-p/403693#M5953</link>
    <description>&lt;P&gt;Hi Team,&lt;/P&gt;

&lt;P&gt;We have an requirement to monitor the files is getting deleted or modified or added into a folder then we need to get an splunk alert stating that who has modified the file or deleted the folder.&lt;/P&gt;

&lt;P&gt;Consider an example:&lt;/P&gt;

&lt;P&gt;We have an shared Drive (D) in a windows server in that we have multiple folders like (A),(B) and (C). In that when we go to folder (A) inside there would be multiple files (might be log file or any other files) like x.log, y.csv and z.xlsx.&lt;/P&gt;

&lt;P&gt;So we want to get notified if any of the files say (x.log)  is getting deleted or modified in that particular folder (A) and we want to know who has deleted or modified the file.&lt;/P&gt;

&lt;P&gt;Is it possible to achieve in Splunk?&lt;/P&gt;

&lt;P&gt;If yes kindly let me know how to proceed the same.&lt;/P&gt;</description>
    <pubDate>Fri, 18 May 2018 06:20:03 GMT</pubDate>
    <dc:creator>anandhalagarasa</dc:creator>
    <dc:date>2018-05-18T06:20:03Z</dc:date>
    <item>
      <title>Monitor a file in a folder</title>
      <link>https://community.splunk.com/t5/Monitoring-Splunk/Monitor-a-file-in-a-folder/m-p/403693#M5953</link>
      <description>&lt;P&gt;Hi Team,&lt;/P&gt;

&lt;P&gt;We have an requirement to monitor the files is getting deleted or modified or added into a folder then we need to get an splunk alert stating that who has modified the file or deleted the folder.&lt;/P&gt;

&lt;P&gt;Consider an example:&lt;/P&gt;

&lt;P&gt;We have an shared Drive (D) in a windows server in that we have multiple folders like (A),(B) and (C). In that when we go to folder (A) inside there would be multiple files (might be log file or any other files) like x.log, y.csv and z.xlsx.&lt;/P&gt;

&lt;P&gt;So we want to get notified if any of the files say (x.log)  is getting deleted or modified in that particular folder (A) and we want to know who has deleted or modified the file.&lt;/P&gt;

&lt;P&gt;Is it possible to achieve in Splunk?&lt;/P&gt;

&lt;P&gt;If yes kindly let me know how to proceed the same.&lt;/P&gt;</description>
      <pubDate>Fri, 18 May 2018 06:20:03 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Monitoring-Splunk/Monitor-a-file-in-a-folder/m-p/403693#M5953</guid>
      <dc:creator>anandhalagarasa</dc:creator>
      <dc:date>2018-05-18T06:20:03Z</dc:date>
    </item>
    <item>
      <title>Re: Monitor a file in a folder</title>
      <link>https://community.splunk.com/t5/Monitoring-Splunk/Monitor-a-file-in-a-folder/m-p/403694#M5954</link>
      <description>&lt;P&gt;for that, I think you would need to index audit file logs into Splunk.&lt;BR /&gt;
Refer &lt;A href="http://blogs.splunk.com/2013/07/08/audit-file-access-and-change-in-windows/"&gt;this&lt;/A&gt; blog to turn on object access auditing. &lt;BR /&gt;
See if this helps&lt;/P&gt;

&lt;OL&gt;
&lt;LI&gt;&lt;P&gt;detect any file that has been deleted (gone from the server, not moved to a sub-directory or something)&lt;BR /&gt;
&lt;STRONG&gt;Event Code=4663 AND Accesses= DELETE AND Object Type=File&lt;/STRONG&gt;&lt;/P&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;P&gt;detect any modification made to a file &lt;BR /&gt;
&lt;STRONG&gt;Event Code=4663 AND Accesses= WriteData  AND Object Type=File&lt;/STRONG&gt;&lt;/P&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;P&gt;detect any readings on files&lt;BR /&gt;
&lt;A href="http://blogs.splunk.com/2013/07/08/audit-file-access-and-change-in-windows/"&gt;http://blogs.splunk.com/2013/07/08/audit-file-access-and-change-in-windows/&lt;/A&gt;&lt;/P&gt;&lt;/LI&gt;
&lt;/OL&gt;

&lt;P&gt;let me know if this helps!&lt;/P&gt;</description>
      <pubDate>Fri, 18 May 2018 06:40:38 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Monitoring-Splunk/Monitor-a-file-in-a-folder/m-p/403694#M5954</guid>
      <dc:creator>mayurr98</dc:creator>
      <dc:date>2018-05-18T06:40:38Z</dc:date>
    </item>
  </channel>
</rss>

