Quantcast
Channel: General Discussion
Viewing all articles
Browse latest Browse all 204

Error: query has not be defined

$
0
0

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 on  a value from field Key1

Basically the structure is as follows

Key1             distance1         etc1                etc2  

mean1             val1              valetc1        valetc2

mean             val                  valetc            valetc

etc

etc

My query is:

LogParser -i=CSV -o=CSV "SELECT key1, distance1  INTO 'C:\summary.csv' FROM 'C:\data\data_gap.csv' WHERE key1 = 'Mean'"

This query fails and logparser gives the message  "Error: query has not been specified"

I´m frustrated because looks like a very simple query.

Any recommendations?

Thanks


Viewing all articles
Browse latest Browse all 204

Trending Articles