Trigger a task on file Creates/Edits/Deletes in specific folder (AWS FSx)

360 Views Asked by At

I have a network path from AWS FSx (Already allowed Auditing from Folder's Advance Security Settings). I need to log file Create/Delete/Edit on that network path from my server(Windows).
I tried to create a Custom view on Windows Event Viewer with event ID 4663. enter image description here

But the problem is, that it shows logs from other folders as well. I want to filter only the events from my network path and trigger a windows task, based on that Custom event view.

1

There are 1 best solutions below

0
On

As it was a bit complicated to catch the detailed event from AWS, I changed the approach to accomplish my task. I created a background worker to track all file changes in the given folder using .Net Directory, File and FileSystemWatcher classes.