[syslog-ng] Message correlation, everything needs an "@"? And a grep problem.
Balazs Scheidler
bazsi at balabit.hu
Tue Mar 1 23:51:10 CET 2011
On Tue, 2011-03-01 at 21:57 +0100, Valentijn Sessink wrote:
> Op 01-03-11 21:26, Balazs Scheidler schreef:
> >> Hmm.. I didn't even notice the context-id part, that's different from
> >> the problem I realised.
> >>
> >> the context-id is expanded _before_ even identifying the context, so
> >> that shouldn't work that way.
>
> Hmm. That's not what I found. Without "@1", my postfix-correlation did
> not work. With @1, it did. I'm 100% sure.
>
> Could the context-scope="host" have anything to do with it?
Well, I'm positive that if you use @1 in there, then that value expands
to nothing.
It is still an ID nevertheless.
>
> The context-id being ${queue-id} is crucial here, because this is the
> only way to follow a postfix mail through the various handlers.
--
Bazsi
More information about the syslog-ng
mailing list