Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #36695

Re: Query windows event log with python

Path csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!eu.feeder.erje.net!newsfeed.freenet.ag!news2.euro.net!newsgate.cistron.nl!newsgate.news.xs4all.nl!post.news.xs4all.nl!not-for-mail
Return-Path <mail@timgolden.me.uk>
X-Original-To python-list@python.org
Delivered-To python-list@mail.python.org
X-Spam-Status OK 0.003
X-Spam-Evidence '*H*': 0.99; '*S*': 0.00; 'cc:addr:python-list': 0.10; 'subject:python': 0.11; '...]': 0.16; 'from:addr:timgolden.me.uk': 0.16; 'from:name:tim golden': 0.16; 'log.': 0.16; 'message-id:@timgolden.me.uk': 0.16; 'received:74.55.86': 0.16; 'received:74.55.86.74': 0.16; 'received:smtp.webfaction.com': 0.16; 'received:webfaction.com': 0.16; 'subject:Query': 0.16; 'subject:log': 0.16; 'subject:windows': 0.16; 'tjg': 0.16; 'wrote:': 0.17; 'specify': 0.17; 'input': 0.18; 'windows': 0.19; 'cc:2**0': 0.23; 'cc:no real name:2**0': 0.24; 'cc:addr:python.org': 0.25; 'header:In-Reply- To:1': 0.25; 'header:User-Agent:1': 0.26; 'looks': 0.26; 'question': 0.27; 'piece': 0.29; 'query': 0.30; 'code': 0.31; 'received:192.168.0': 0.35; 'there': 0.35; 'wanted': 0.36; 'subject:with': 0.36; 'subject:: ': 0.38; 'received:192': 0.39; 'short': 0.39; 'received:192.168': 0.40; 'email addr:gmail.com': 0.63; 'from:addr:mail': 0.71; 'to:none': 0.93
Date Sat, 12 Jan 2013 09:34:01 +0000
From Tim Golden <mail@timgolden.me.uk>
User-Agent Mozilla/5.0 (Windows NT 6.1; WOW64; rv:17.0) Gecko/17.0 Thunderbird/17.0
MIME-Version 1.0
CC python-list@python.org
Subject Re: Query windows event log with python
References <8e37e86b-2f07-494e-a913-f7d2fb6ba9a4@googlegroups.com>
In-Reply-To <8e37e86b-2f07-494e-a913-f7d2fb6ba9a4@googlegroups.com>
Content-Type text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding 7bit
X-BeenThere python-list@python.org
X-Mailman-Version 2.1.15
Precedence list
List-Id General discussion list for the Python programming language <python-list.python.org>
List-Unsubscribe <http://mail.python.org/mailman/options/python-list>, <mailto:python-list-request@python.org?subject=unsubscribe>
List-Archive <http://mail.python.org/pipermail/python-list/>
List-Post <mailto:python-list@python.org>
List-Help <mailto:python-list-request@python.org?subject=help>
List-Subscribe <http://mail.python.org/mailman/listinfo/python-list>, <mailto:python-list-request@python.org?subject=subscribe>
Newsgroups comp.lang.python
Message-ID <mailman.440.1357983265.2939.python-list@python.org> (permalink)
Lines 16
NNTP-Posting-Host 2001:888:2000:d::a6
X-Trace 1357983265 news.xs4all.nl 6989 [2001:888:2000:d::a6]:59778
X-Complaints-To abuse@xs4all.nl
Xref csiph.com comp.lang.python:36695

Show key headers only | View raw


On 12/01/2013 06:09, robey.lawrence@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 results.
>
> I found this piece of code to start from,

[... snip ...]

Well it looks like you have everything you need. Was there a specific 
question you wanted to ask?

TJG

Back to comp.lang.python | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

Query windows event log with python robey.lawrence@gmail.com - 2013-01-11 22:09 -0800
  Re: Query windows event log with python alex23 <wuwei23@gmail.com> - 2013-01-12 00:34 -0800
  Re: Query windows event log with python Tim Golden <mail@timgolden.me.uk> - 2013-01-12 09:34 +0000
    Re: Query windows event log with python robey.lawrence@gmail.com - 2013-01-12 21:55 -0800
      Re: Query windows event log with python Tim Golden <mail@timgolden.me.uk> - 2013-01-14 09:07 +0000
    Re: Query windows event log with python robey.lawrence@gmail.com - 2013-01-12 21:55 -0800

csiph-web