Hello:
I have an issue in querying TSV format data files with some fields having nulls (no-data). The issue here is that logparser is considering the subsequent field value for the current field and messing up the data format.
Please verify the query, sampledata and output pasted below to see the problem. Can anyone help with the workaround or fix to this issue?
Appreciate your help!
Regards,
Yesu
Query: logparser -i:tsv -o:tsv -q:on "select a,b,c,d from c:\sampledata.txt"
SampleData:
| A |
B |
C |
D |
| 1 |
2 |
3 |
4 |
| 11 |
|
13 |
14 |
| 21 |
22 |
23 |
24 |
| 31 |
|
|
34 |
| 41 |
42 |
43 |
44 |
Output:
| A |
B |
C |
D |
| 1 |
2 |
3 |
4 |
| 11 |
13 |
14 |
|
| 21 |
22 |
23 |
24 |
| 31 |
34 |
|
|
| 41 |
42 |
43 |
44 |