Scrub local IPs
Hi thereBrand new user - and looking for advice on how to run a search that will remove all entries containing a specific IP from our IIS logs so that the resulting logfile does not include any...
View ArticleLogParser ERRORLEVEL=0 after error
C:\Development\report\Logs>logparser -i:CSV "SELECT * INTO raw.xml FROM 2012-06-05-log.csv"Error: The specified input files are either empty or they do not contain any valid...
View ArticleTrying to EXTRACT_TOKEN on multiple lines
Hi,My select query looks something like this:SELECT EXTRACT_TOKEN(Text, 0, 'INFO') AS Time, EXTRACT_TOKEN(EXTRACT_TOKEN(Text, 0, '|'),1,'ReadConfiguration') AS ReadConfiguration,...
View Articlesyntax differences between Application and Security
Hello,I am trying to get the format (parameters positions) for the EventID 627 & 628 and using LogParser 2.2. It was working fine on Application Logs but seems not working on Security Log!!!Syntax...
View ArticleVoid date while convert IIS to CSV
Hello All,I'm trying to convert a IIS file ( in Microsoft IIS format ) to a CSVI'm using the following command : "C:\Program Files (x86)\Log Parser 2.2\LogParser.exe" "Select...
View ArticleLogparser query at sql query window
Hello,I am a newbie at write SQL statements :-(I get from logparser import at one SQL Table the field EntryTime with this value: 2012-11-19 17:15:35.000How did i get the date and Hour from this...
View Articlemerging multiple csv log files
hii decided to monitor a remote computer (XP SP3) by gathering information with performance monitor application.after five days, i stopped monitoring and 6 log files created by Perfmon.my issue is that...
View ArticleImporting Logs into a mssql db (maybe a bug?)
Hello, i'm using a VBS-Script which looks in a folder and checks for new files. If a new file is detected the logparser will parse it and import it in a mssql database. For most of the times it's...
View ArticleExchange 2007 OWA login stats by date range
HiWondering if anyone has any sample scripts to monitor Exchange OWA activity using logparser?Ideally i would like to use a date range , and see who has logged into OWA, how many times in period, and...
View ArticleLogparser is behaving inconsistently when parsing evtx files
Hi,I am using LogParser 2.2 to parse event files (evtx) on Windows 2008. I need to parse both Application (Application.evtx) and System (System.evtx) files. The command I am using is:C:\LogParser...
View ArticleNew GUI tool for MS Log Parser, Log Parser Lizard
Becouse the command-line interface for Microsoft Log Parser is not very intuitive, I have created Log Parser Lizard, a Microsoft Log Parser GUI tool for managing queries, exporting results to Excel,...
View ArticleLog Parser Studio automation
I created a butch job, and trying to start it from script, but I get an error: ExLPT.LPLogFile does not exist. What can be the problem? When starting manualy it works. No records in log file...
View ArticleStandard Deviation in LogParser (a gift ;-)
Hi there! I really like LogParser and have done a lot of usefull stuff with it in the last couple of months. Since I got a lot of info and samples from around the net I decided to give something back....
View ArticleLogParser Issue with HP SNMP logs.
When using Log Parser to look at event viewer the following error occours when the parser attempts to read the message.The description for Event ID 1105 in Source "Foundation Agents" cannot be...
View ArticleLOG PARSER SUBQUERY
Hello All,I'm trying to perform a subquery with logparser but i don't know if it's possible.Do you know if something like the sample below is possible?"C:\Program Files (x86)\Log Parser...
View ArticleDr Shivani Sachdev Gour, MD, DNB, MRCOG (UK)
Dr. Shivani Sachdev Gour is the founder and director of SCI Healthcare and Isis Hospital and Multispecialty Centre and consultant fertility specialist. Dr. Sachdev-Gour has practiced as an obstetrician...
View ArticleMerging large log files.
I am planning on using Webalizer to analyze and graph our IIS logs, but because we have a server farm Webalizer requires me to make sure that all of the logs are in chronological order (or else it...
View ArticleUse Logparser to generate Application Events
Is there a way to use Logparser to scrub through 2008 R2 FTP logs looking for code 530, and then generate an application event log based on that line of the log? The reason I ask is because the...
View ArticleLog Parser Problem
I have a file that is loosely defined as follow:Header Line: LineIdentifier,Data,Data [Only one of these in file]Summary Line: SummaryLineIdentifier,Data,Data [File can contain multiple Summary...
View ArticleGraph Output
Using Log Parser, I am able to produce simple Bar Stack graphs using the following query strQuery = "SELECT dept,zzz as THIS-DEPARTMENT into " & lp_output_file & " FROM " & lp_input_file...
View Article