Ok, so we're looking for a new log class, Cisco, which will have those
three fields, right? I think I can do this with
yet-another-program-rename in the syslog-ng.conf. I would synthesize
new text in at the end of the natural message, so your log would end
up looking like this:
Sep 1 12:53:14: %LINEPROTO-5-UPDOWN: Line protocol on Interface
GigabitEthernet1/0/2, changed state to down|LINEPROTO|5|UPDOWN
Then, if all goes to plan, a patterndb parser could grab those and use
them as fields so they're indexed properly and you can do real
reporting on them.
So, would you be willing to have your messages cluttered a bit at the
end if it means you can report on those mnemonics?