473,513 Members | 2,505 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

IIS logparser output format issue

rhitam30111985
112 New Member
Hi all , i am using logparser 2.2 to reduce the number of repetative errors from master log file . the syntax of my query is somewhat like this :



logparser -i:TSV -o:TSV -q:on -fixedsep:on -oCodepage:65001 " select.... from master.log " >somefile.txt

now as per the flag .. the output of the file somefile.txt should be utf-8 ... but when i open the file in notepad and goto file--> save as . . .the default value shown is ansi . The reason why i want this in utf-8 format is because i will be performing further queries on this somefile.txt to genererate further filtered reports ... but when i do that ... it returns some junk characters in the somefile.txt file



example :

logparser -i:TSV -o:TSV -q:on -fixedsep:on "select a,b,c from somefile.txt where(...) " > anotherfile.txt



at this point the errror given is :

Error: SELECT clause: Syntax Error: unknown field 'a'.
The closest match for input format 'TSV' is 'a'.

ie .. some junk characters followed by the actual column name ...



I cant figure out what could possibly be the error ...

would immensely appreciate any help ..





regards ,

rhitam
Sep 26 '08 #1
1 5511
kenobewan
4,871 Recognized Expert Specialist
For support MS send you to www.logparser.com. HTH.
Sep 27 '08 #2

Sign in to post your reply or Sign up for a free account.

Similar topics

8
2171
by: Johan Lindh | last post by:
Where can I find a comprehensive test suite for printf()? It seems like most implementations go wrong at sensitive spots, like printf("#.0o",0) (which should print "0") printing nothing at all. ...
11
5171
by: Roger Leigh | last post by:
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 The program listed below demonstrates the use of wcsftime() and std::time_put<wchar_t> which is a C++ wrapper around it. (I know this isn't C; but...
27
2942
by: jacob navia | last post by:
Has anyone here any information about how arrays can be formatted with printf? I mean something besides the usual formatting of each element in a loop. I remember that Trio printf had some...
0
1417
by: Jerry Camel | last post by:
Has anyone used the microsoft LogParser DLL with VB .Net to scrape event logs and can you point me to some examples...? Thanks. Jerry
2
3240
by: Jens Bloch Helmers | last post by:
How can I control the number of digits in the exponent when writing floats to a file? It seems that Python2.4.2(winXP) prints three digits anyway. >>> print 1.0e50 1e+050 >>> print '%e' %...
1
4580
by: binderright | last post by:
Hi, I'm using logparser 2.2 to extract data from IIS logs to a MySql database. The first part works fine - in fact I can connect to my Mysql server just fine using -server:localhost, however if I...
1
3580
by: Wayne Deleersnyder | last post by:
Hi All, I was going to write and ask if someone could help me fix the formatting of my output for hash values, but I believe I got it right now. But, because I couldn't find any website or...
11
1917
by: aljaber | last post by:
hi, i am facing a problem with my program output here is the program /*********************************************\ * CD Database * * ...
1
4107
by: =?Utf-8?B?SmV0aHJv?= | last post by:
Currently using LogParser 2.2 via C# (VS2005 with .NET Framework 2.0) to search for specific errors in very large IISW3C logs. Program is functioning as intended but the size of the logs causes...
0
7260
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
7161
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
7539
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
5686
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
4746
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
3234
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
0
3222
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
1596
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...
0
456
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.