I was going to use Regex and complicate my life, when somehow i found out about this great tool, what i read until now is that this tool may help me in my task.
my log file is mainly a csv, but it has a special form, (field_i is a something that i need to extract), in general it look like this: (bold is what is in my file, other is commentary)
2007-03-11 11:22:45, field1, field2, field3, field4 -- field5 -- field6, sender=field7; smsmsgid=field8; someting=field9 --> Here field 5 has the value "ok"
2007-03-11 11:22:45, field1, field2, field3, field4 -- field5 -- field6, Error description: Fields7 -->Here field5 has the value Error, and field7, field8, ... don't exist in the log, instead there is only the description of the error
So what it is mainly a csv, however, it has date and time, some fields separated by ; instead of , and field5 indicate if this line in log is an error logging or some other useful information.
Can i use LogParser in parsing this complicated log? I'm newby and i just got the documentation, i like to know from experts here if it possible to do it, and how much hard, a kick in the right direction is appreciated !
Should i implement the input format, or can i use the already available csv somehow, if i should implement it, i program in C#, is it easy to do it in that language, more than this is it more efficient to do it in C++?