Is it possible to pass a script some data from an event log alert?

 

I want to record the occurrences of an event log. Creating a ticket doesn't really help, I don't want to know each time it happens, just to record the time/date and certain bits of key info from the event log. I know that Kaseya keeps the event logs but they aren't easily searchable when you are only interested in one event log entry type.

 

Instead I thought of firing off a script each time the event log occurs. The script could write the data to a CSV on a server....if I can pass the data in question to a script from the alert.

 

Is this possible?

 

Olly