<?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: How to write a search to find who deleted or modified files on a Windows server for the last 24 hours? in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/How-to-write-a-search-to-find-who-deleted-or-modified-files-on-a/m-p/218728#M64292</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;

&lt;P&gt;Before you can write a search to find out who deleted or modified files on Windows server, you need to enable some sort of file auditing.&lt;BR /&gt;
Three options currently in Splunk:&lt;/P&gt;

&lt;OL&gt;
&lt;LI&gt;Enable Windows native file auditing via security event logs and then tell Splunk to monitor those logs. See &lt;A href="http://docs.splunk.com/Documentation/Splunk/6.3.2/Data/MonitorfilesystemchangesonWindows"&gt;this link&lt;/A&gt;.&lt;/LI&gt;
&lt;LI&gt;Use a third party tool to monitor file changes and point Splunk to the relevant logs.&lt;/LI&gt;
&lt;LI&gt;Use Splunk Enterprise File Change Monitor (deprecated so not recommended for a long term solution). See &lt;A href="http://docs.splunk.com/Documentation/Splunk/6.3.2/Data/MonitorChangestoYourFileSystem"&gt;this link&lt;/A&gt;.&lt;/LI&gt;
&lt;/OL&gt;

&lt;P&gt;In terms of performance, because we wanted to monitor any type of file operation, which includes millions of log entries per hour in some servers, we decided to go for a 3rd party enterprise agent that was known to have a low impact in your server performance, but in your case I would probably go for the native Windows file auditing via event logs.&lt;/P&gt;

&lt;P&gt;Once you have your event logs coming into Splunk, simply filter by the relevant index, sourcetype, host and EventCodes based on the Event IDs used by Windows auditing. See &lt;A href="http://docs.splunk.com/Documentation/Splunk/6.3.2/Data/MonitorfilesystemchangesonWindows"&gt;this link&lt;/A&gt; again for more information.&lt;/P&gt;

&lt;P&gt;Hope that helps.&lt;/P&gt;

&lt;P&gt;Thanks,&lt;BR /&gt;
J&lt;/P&gt;</description>
    <pubDate>Sat, 09 Jan 2016 06:54:24 GMT</pubDate>
    <dc:creator>javiergn</dc:creator>
    <dc:date>2016-01-09T06:54:24Z</dc:date>
    <item>
      <title>How to write a search to find who deleted or modified files on a Windows server for the last 24 hours?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-write-a-search-to-find-who-deleted-or-modified-files-on-a/m-p/218726#M64290</link>
      <description>&lt;P&gt;I am now very new to Splunk. I have installed a Splunk forwarder to monitor Window Security Logs, but would like also build a search to search who deleted and modified files / folder for the last 24 hours. Please point me to the right direction. Also, is it possible to prompt asking to enter the server name or file name when the search is running? Thanks.&lt;/P&gt;</description>
      <pubDate>Sat, 09 Jan 2016 02:13:55 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-write-a-search-to-find-who-deleted-or-modified-files-on-a/m-p/218726#M64290</guid>
      <dc:creator>mattkun</dc:creator>
      <dc:date>2016-01-09T02:13:55Z</dc:date>
    </item>
    <item>
      <title>Re: How to write a search to find who deleted or modified files on a Windows server for the last 24 hours?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-write-a-search-to-find-who-deleted-or-modified-files-on-a/m-p/218727#M64291</link>
      <description>&lt;P&gt;start with&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;index=&amp;lt;your index&amp;gt; EventCode=&amp;lt;event code for your operation&amp;gt; host=&amp;lt;servername you want&amp;gt; earliest=-24h
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;References :&lt;/P&gt;

&lt;P&gt;&lt;A href="http://docs.splunk.com/Documentation/Splunk/6.2.0/SearchReference/WhatsInThisManual"&gt;http://docs.splunk.com/Documentation/Splunk/6.2.0/SearchReference/WhatsInThisManual&lt;/A&gt;&lt;BR /&gt;
&lt;A href="http://docs.splunk.com/Documentation/Splunk/6.2.0/Search/GetstartedwithSearch"&gt;http://docs.splunk.com/Documentation/Splunk/6.2.0/Search/GetstartedwithSearch&lt;/A&gt;&lt;BR /&gt;
&lt;A href="http://docs.splunk.com/Documentation/Splunk/6.2.0/SearchReference/ListOfSearchCommands"&gt;http://docs.splunk.com/Documentation/Splunk/6.2.0/SearchReference/ListOfSearchCommands&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Sat, 09 Jan 2016 04:28:08 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-write-a-search-to-find-who-deleted-or-modified-files-on-a/m-p/218727#M64291</guid>
      <dc:creator>renjith_nair</dc:creator>
      <dc:date>2016-01-09T04:28:08Z</dc:date>
    </item>
    <item>
      <title>Re: How to write a search to find who deleted or modified files on a Windows server for the last 24 hours?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-write-a-search-to-find-who-deleted-or-modified-files-on-a/m-p/218728#M64292</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;

&lt;P&gt;Before you can write a search to find out who deleted or modified files on Windows server, you need to enable some sort of file auditing.&lt;BR /&gt;
Three options currently in Splunk:&lt;/P&gt;

&lt;OL&gt;
&lt;LI&gt;Enable Windows native file auditing via security event logs and then tell Splunk to monitor those logs. See &lt;A href="http://docs.splunk.com/Documentation/Splunk/6.3.2/Data/MonitorfilesystemchangesonWindows"&gt;this link&lt;/A&gt;.&lt;/LI&gt;
&lt;LI&gt;Use a third party tool to monitor file changes and point Splunk to the relevant logs.&lt;/LI&gt;
&lt;LI&gt;Use Splunk Enterprise File Change Monitor (deprecated so not recommended for a long term solution). See &lt;A href="http://docs.splunk.com/Documentation/Splunk/6.3.2/Data/MonitorChangestoYourFileSystem"&gt;this link&lt;/A&gt;.&lt;/LI&gt;
&lt;/OL&gt;

&lt;P&gt;In terms of performance, because we wanted to monitor any type of file operation, which includes millions of log entries per hour in some servers, we decided to go for a 3rd party enterprise agent that was known to have a low impact in your server performance, but in your case I would probably go for the native Windows file auditing via event logs.&lt;/P&gt;

&lt;P&gt;Once you have your event logs coming into Splunk, simply filter by the relevant index, sourcetype, host and EventCodes based on the Event IDs used by Windows auditing. See &lt;A href="http://docs.splunk.com/Documentation/Splunk/6.3.2/Data/MonitorfilesystemchangesonWindows"&gt;this link&lt;/A&gt; again for more information.&lt;/P&gt;

&lt;P&gt;Hope that helps.&lt;/P&gt;

&lt;P&gt;Thanks,&lt;BR /&gt;
J&lt;/P&gt;</description>
      <pubDate>Sat, 09 Jan 2016 06:54:24 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-write-a-search-to-find-who-deleted-or-modified-files-on-a/m-p/218728#M64292</guid>
      <dc:creator>javiergn</dc:creator>
      <dc:date>2016-01-09T06:54:24Z</dc:date>
    </item>
  </channel>
</rss>

