in reply to Re^6: Win32::EventLog searching the wrong logs
in thread Win32::EventLog searching the wrong logs

The question then is, will Win32::EventLog support this in the foreseeable future

I think no, but doesn't hurt to ask :) rt://Win32-EventLog-0.077

or would I have to try my (very inexperienced) hand at implementing it myself? I have yet to succeed in any XS related work even in Linux so I'm not really motivated to try it in Windows :-|

Ha ha, should be easy given you have something to copy/paste that already compiles

Both the .xs part and the linked msdn examples are fairly identical in usage ... except in the new api XML is involved :) the .xs and old api articles are close enough to follow I think

I've just had an idea read event log using WMI ... DBD::WMI
Which approach is better to read Windows Event log in C#? WMI or EventLog - Stack Overflow
WMI, Windows Event Logs and User Privileges - CodeProject
WMI Tasks: Event Logs (Windows)
Script Get Remote Event Logs With Powershell
PsLogList

Might be interesting some notes regarding WMI and security Re^4: How to Start a Process in a Remote Win32 Machine using Perl and WMI

  • Comment on Re^7: Win32::EventLog searching the wrong logs

Replies are listed 'Best First'.
Re^8: Win32::EventLog searching the wrong logs
by FloydATC (Deacon) on May 04, 2014 at 07:26 UTC

    I've started experimenting with using Powershell rather than Win32::EventLog to collect the events for me, so far it seems to work pretty well. Will share the code in CUFP once I've got it to do exactly what I want.

    -- FloydATC

    Time flies when you don't know what you're doing