File creation and deletion actions not triggered

You are monitoring the creation or the deletion of a file on Windows using the FileCreated and FileDeleted events. The file is created or deleted, but the event action is not triggered.

Cause and solution:

The SSM agent monitors the file creation and deletion. An event is sent when a file that matches the string in the event rule is created or is deleted. However, on Windows platforms, if the file path contains forward slashes ("/"), the event action is not triggered. Replace forward slashes ("/") with backward slashes ("\") and redeploy the rule.