hi guys,
i have 100MB (or bigger) text log files to analyse, and need to pluck certain variables/parameters from them and put them into an excel file.
the log files look kind of like this:
<time stamp> ms : <name of message>
<time stamp ms : <parameter 1> = <value 1>, <parameter 2> = <value 2>, ...
<time stamp ms : <parameter 3> = <value 3>, <parameter 4> = <value 4>, ...
<time stamp ms : <parameter 5> = <value 5> (<value 5 1st byte> = <value 5a>, <value 5 2nd byte> = <value 5b>
<time stamp ms : <parameter 8> = DTX, <parameter 9> = <value 9>, ...
sometimes parameters might be missing (eg. no parameter 7), or DTX (parameter 8).
would perl or excel/vba be a better way to extract the values i want from particular (or multiple types of ) messages?
we are using winxp at work so if perl were selected, we'd need to install it and the managers wouldnt like it. this is why i'm leaning towards vba since we all have excel installed. however, i'm no vba expert so if you guys have clever ideas (which commands/functions to use) i'd appreciate it.
i have 100MB (or bigger) text log files to analyse, and need to pluck certain variables/parameters from them and put them into an excel file.
the log files look kind of like this:
<time stamp> ms : <name of message>
<time stamp ms : <parameter 1> = <value 1>, <parameter 2> = <value 2>, ...
<time stamp ms : <parameter 3> = <value 3>, <parameter 4> = <value 4>, ...
<time stamp ms : <parameter 5> = <value 5> (<value 5 1st byte> = <value 5a>, <value 5 2nd byte> = <value 5b>
<time stamp ms : <parameter 8> = DTX, <parameter 9> = <value 9>, ...
sometimes parameters might be missing (eg. no parameter 7), or DTX (parameter 8).
would perl or excel/vba be a better way to extract the values i want from particular (or multiple types of ) messages?
we are using winxp at work so if perl were selected, we'd need to install it and the managers wouldnt like it. this is why i'm leaning towards vba since we all have excel installed. however, i'm no vba expert so if you guys have clever ideas (which commands/functions to use) i'd appreciate it.