Error: detected extra argument
What am I doing wrong? I'm a LogParser newbie - just bought the book and doing ok until p5 :-( For some reason I can't seem to get anything workijng with the file: parametere.g.C:\Program Files...
View ArticleLogparser select newest 2 files for log location
Hello Experts!Would like to ask how can I get the latest files from IIS logs to just get the newest 2 files. I'm asking this because I don't want my Activesync script to generate a report for all of...
View ArticleSearching for username
Can I use the Microsoft Log Parser to search for the event viewer log files for a particular username?
View ArticleHow can I give Log Parser permission to read folders?
I have a script that _almost_ works. When I run this script, logparser.exe "select * into MIA_Logs from c:\inetpub\logs\LogFiles\*.log" -i:iisW3c -o:SQL -database:Web_Logs -createTable:off...
View ArticleLog Parser using custom logging fields and checkpoints in IIS 8.5
I am having issues working out how to get around a problem I have to do with the use of custom logging fields in IIS 8.5 and Checkpointing together.Overview:So basically I am using the log parser to...
View ArticleLog Parser how to get real hits for site
Hi everybody,i try to get the hits from a an aspx site so far is that working but the resault is wrong. The top site has 75089 hits and that can't be true(small SharePoint Environment).My Query:Select...
View ArticleMailbox Access Auditing
I am trying to write a query that will return a list of mail users that has accessed another users mailbox in Exchange 2007 "Exchange Auditing" event log. Also, would like to not return any mail users...
View ArticleHelp with dates.....
Hello - I'm attempting to do some date/time matching on a CSV file, and am thinking I'm missing something fundamental with how logparser handles dates/times and comparisons.Here's a snippet of my CSV...
View ArticleLog Parser & Event Log Reader security group
Good day everyone. I'm trying to figure out, can I minimize security permission when using Log Parser? We have a custom App on our serser, which creates a Log. Using my Event Log Reader security group,...
View ArticleHow I can pass the parameter from .BAT file to .SQL File ?
Hello Sir, I have following two files (ie Bat and SQL ) Currently BAT FILE "test.bat" contains following command BAT FILE - sqlplus -S myusr/mypwd@mytns @c:\temp\test\test.sql...
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 ArticleCan't convert date string to timestamp
Hi,I'm trying to get stats per day from a perfmon csv file using this command : logparser -file:"C:\IISLogANALYSIS\LOGS\testquery01.sql" -i:CSV C:\IISLogANALYSIS\LOGS\MergedCsvFiles.csv...
View ArticleHow to Run the same LogParser command for all the log files in a directory?
I have a directory that contains many log files. It turns out that using the input format "TEXTLINE" will allow me to extract the date/time that I need, so my question is: how do I execute the same...
View ArticleLog Parser to find URI's in Unusual Patterned Logs
<div class="post-text">I have large size logs and need find the reverse proxy and the count of the distinct uri. The format of the log is as below:Jan 29 0:03:07 fpp-mp-a01 127.3.0.0 -...
View ArticleError: query has not be defined
Hi, I´ve worked with logParser during a couple of years, and currently I have an apparently simple query and I couldn't make it work.I have a csv input file and I want to get and specific value based...
View ArticleFind users with first hit URL of the day
Can someone help to build a query in order to find list of users with first hit URL of the day?J Justin
View ArticleLogparser query that contains groupby and sub query
Hi Team,I have below sql table with name MessageInfo CreatedDate ID Message 2015-05-29 7:00:00 AOOze abc 2015-05-29 7:05:00 AOOze start...
View ArticleQuery in Logparser to filter for a SharePoint post id
I am looking to run a query on IIS log to get the number of hit for specific SharePoint list/post id.For example: the url the we are interested on seeing the number of hits looks like...
View ArticleVBscript LogParser Query issue
I am having an issue with a query I wrote for log parser which is running in one of my VBscripts. I swear it was working last night, but today, no such luck.The purpose of this query is to return all...
View ArticleRead files where the file's name are inside a CSV file
Is it possible to read the log files where the files name and path are inside a CSV file using LogParser?
View Article