Hi,
I am looking to write a short program to query the windows event log.
It needs to ask the user for input for The event type (Critical, Error, and
Information), and the user needs to be able to specify a date since when they
want to view results.
I understand I will need the pywin32 extensi
On 12 Jan, 16:09, robey.lawre...@gmail.com wrote:
> Hi,
>
> I am looking to write a short program to query the windows event log.
>
> It needs to ask the user for input for The event type (Critical, Error, and
> Information), and the user needs to be able to specify a date since when they
> want
On 12/01/2013 06:09, robey.lawre...@gmail.com wrote:
I am looking to write a short program to query the windows event
log.
It needs to ask the user for input for The event type (Critical,
Error, and Information), and the user needs to be able to specify a
date since when they want to view result
On Saturday, January 12, 2013 8:34:01 PM UTC+11, Tim Golden wrote:
> On 12/01/2013 06:09, email.addr...@gmail.com wrote:
>
> > I am looking to write a short program to query the windows event
>
> > log.
>
> >
>
> > It needs to ask the user for input for The event type (Critical,
>
> > Error, a
On 13/01/2013 05:55, robey.lawre...@gmail.com wrote:
> On Saturday, January 12, 2013 8:34:01 PM UTC+11, Tim Golden wrote:
>> On 12/01/2013 06:09, email.addr...@gmail.com wrote:
>>
>>> I am looking to write a short program to query the windows event
>>
>>> log.
>>
>>>
>>
>>> It needs to ask the
lol cheeky as.
server = 'x' # name of the target computer to get event logs
source = 'x' # 'Application' # 'Security'
hand = win32evtlog.OpenEventLog(server, source)
flags = win32evtlog.EVENTLOG_BACKWARDS_READ |
win32evtlog.EVENTLOG_SEQUENTIAL_READ
total = win32evtlog.GetNumberOfEventLogRecords