Perl script to parse multiple windows event logs.

view story

http://www.unix.com – Hi all, I am developing a log parsing agent in perl to send windows Event logs to Zenoss Monitoring tool. Using Win32::EventLog i can able to get the Event messages but only one Eventype eg Application or System could able to parse at a time. Can you please help to how to open mutiple eventlogs at a time I need to get the total number of events combining all these event types. Below is my code which i tried Code: my @log_type =("Application", "Security", "Setup", "System", "Forwarded Events"); foreach $logs_type (@log_type){ #print & (HowTos)