Hi,
On my systems I get messages like
May 31 17:56:02 Hostname exim[5029]: 1AcMhb-0003fK-00 Message is frozen
They are logged via MySQL in these table columns:
date
time
host
message
The message field looks like
exim[5029]: 1AcMhb-0003fK-00 Message is frozen
I'd like to have the process (exim in this example) and its PID in an extra column.
Could be done with splitting on the first colon, if there's no colon, leave the process field empty.
Thanks and Greetings
Frank