Security Basics mailing list archives
Re: Seeking syntax help with Microsoft logParser
From: Ansgar Wiechers <bugtraq () planetcobalt net>
Date: Mon, 1 Aug 2011 23:33:16 +0200
On 2011-08-01 Pranav Lal wrote:
I am trying to query some Exchange 2007 logs using Microsoft logParser. I cannot query for any field that has a dash character "-" in it. So, a query like the one below is not working. logParser -i:w3c "select message-subject from msg.log" When I run the above query, I get the following error message. H:\lg>logParser -i:w3c "select message-subject from msg.log" Error: SELECT clause: Syntax Error: unknown field 'message-subject'. The closest match for input format 'W3C' is 'date-time,client-ip,[...]'.
[...]
What am i missing?
That your input format isn't W3C, but CSV. <http://blogs.technet.com/b/exchange/archive/2007/11/12/3404342.aspx> Regards Ansgar Wiechers -- "All vulnerabilities deserve a public fear period prior to patches becoming available." --Jason Coombs on Bugtraq ------------------------------------------------------------------------ Securing Apache Web Server with thawte Digital Certificate In this guide we examine the importance of Apache-SSL and who needs an SSL certificate. We look at how SSL works, how it benefits your company and how your customers can tell if a site is secure. You will find out how to test, purchase, install and use a thawte Digital Certificate on your Apache web server. Throughout, best practices for set-up are highlighted to help you ensure efficient ongoing management of your encryption keys and digital certificates. http://www.dinclinx.com/Redirect.aspx?36;4175;25;1371;0;5;946;e13b6be442f727d1 ------------------------------------------------------------------------
Current thread:
- Seeking syntax help with Microsoft logParser Pranav Lal (Aug 01)
- Re: Seeking syntax help with Microsoft logParser Ansgar Wiechers (Aug 01)
- RE: Seeking syntax help with Microsoft logParser Pranav Lal (Aug 02)
- Re: Seeking syntax help with Microsoft logParser Jeff MacDonald (Aug 01)
- Re: Seeking syntax help with Microsoft logParser Ansgar Wiechers (Aug 01)