Sweeny
(Fresh Scripter)
2017-05-04 10:19 PM
Remote lookup of Event Log

Hi all,
Can I get some help on how I would remotely extrapolate data from the Event Viewer log. Any information regarding this would be gratefully received.
Many thanks,
Tom


Mart
(KiX Supporter)
2017-05-05 08:55 AM
Re: Remote lookup of Event Log

Never used it before but this might get you going ReadEventlog() - Retrieves event from the eventlog

If you never used a UDF before please see: http://www.kixtart.org/forums/ubbthreads.php?ubb=showflat&Number=81943


Glenn BarnasAdministrator
(KiX Supporter)
2017-05-05 01:54 PM
Re: Remote lookup of Event Log

Tom,

A few years back, I wrote an app that dumped event log data from remote systems and parsed it, summarizing events that we wanted to know about. Remote read was painful, so I wrote a small script to dump the event logs to CSV every morning (00:01). I then had an app that I kicked off from a central server that collected and parsed these, eliminating stuff that wasn't important and adding a summary (server,event,EvtSrc,Count,Date) to a SQL server. The central script used RUN to spawn 25 collector scripts at a time, when only 10 were still running, I'd spawn 25 more. I was able to complete the collection & summarization against just over 200 servers in 3 data centers in under 15 minutes.

All of the UDFs used for this are either here in KORG or in my UDF library (see sig for link).

Just food for thought..

Glenn