Dears,
I have a multi line log as following sample, the hours,minutes, and seconds in different line,
how could I define the timestamp?
Thanks a lot.
======EVENT======
header:
event_id = activate
event_result = success
time_hour = 12
time_minute = 6
time_second = 19
activation_type = gprs_primary
rat = wcdma
cause_prot_type = ril3
Hm, I haven't tried it, so I'm not too sure that multiline TIME_FORMAT specifications work, but you could always try;
TIME_PREFIX = time_hour =
TIME_FORMAT = %H%ntime_minute = %M%ntime_second = %S
where the %n
is the newline character. If there are multiple newlines (as in your example above) you'd need to put in %n%n
etc.
Hope this works,
K