You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
A PoshSec Framework function that monitors the current IIS log and generates alerts on specified criteria. The alerts display the log's timestamp, the client IP, the URL accessed, and the user agent string.
.PARAMETER IP
Client IP address to isolate in the log file. Generates alerts for those records.
.PARAMETER Filter
A string to search for to limit the log files returned
.PARAMETER Limit
An integer value to indicate how many records to return from the log file. Default is the most recent 100.
.PARAMETER Path
Path to the IIS log files. Default is C:\inetpub\logs\LogFiles\W3SVC1\
.PARAMETER Poll
Integer indicating number of seconds to elapse between chacks on the log. Default is 10.
.EXAMPLE
Get an alert if anyone tries to view your robots.txt file.