win32: 'Tailing' the NT event log using pipes?

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • lebo

    win32: 'Tailing' the NT event log using pipes?

    Hi List

    I want to effectively 'tail' the NT event log - i.e. when a new event
    arrives in the log, parse it and decide whether to take an action.

    The track I've gone down is to create an event, and use event notify
    change; code snippet.....

    win32event.Crea teEvent(.....)
    win32evtlog.Not fiyChangeEventL og(...)

    This works, but I can't get the very last (newest) record from the
    event log.

    Is it possible to open a named pipe to the event log. If so, how?
    This is new groud to me and examples or ways to do this would be
    appreciated.

    Thanks, Leonard
Working...