How do I read events in event viewer from vb.net or have events automatically sent to a database for parsing?
Posted on 2011-09-20
Hello. So what I need to do is for a project i'm developing I need to be able to parse new events in the security log from event viewer. One option is to manually export the log to a csv format and that is all nice but I need something automated. I'd rather not have to export into csv and be able to parse through the events in realtime on an as needed basis but I don't know if that is possible.
is it possible to query the security log in event viewer and parse individual log entries? the server with event viewer is a 2008 R2 machine. my application can sit and run on that server and retrieve the data locally.
thanks for any assistance.