[prev in list] [next in list] [prev in thread] [next in thread] 

List:       syslog-ng
Subject:    Re: [syslog-ng] "Reinsert" message into syslog-ng via pipe?
From:       Fabien Wernli <wernli () in2p3 ! fr>
Date:       2019-10-14 7:17:07
Message-ID: 20191014071707.GB6202 () ccfawe ! in2p3 ! fr
[Download RAW message or body]

[Attachment #2 (multipart/signed)]


On Fri, Oct 11, 2019 at 05:29:54PM +0000, Robert Fekete (rfekete) wrote:
> Hi,
> 
> Unless you want to do something to the logs outside syslog-ng (that is, after you \
> write the logs to the pipe but before you read them back), there is no need to \
> complicate things like that. You can simply create two log paths, where both log \
> paths read the same source, but one uses the pipe destination, the other one the \
> parser and the file destination. Actually, you can do it with one log path if you \
> use an embedded log statement.

That being said, it would be pretty cool to be able to reinject logs into a
source:

  source s_foo {
    file("/in");
  };
  
  log {
    source(s_foo);
    ...
    destination {
      reinject(s_foo);
    };
  };


["smime.p7s" (application/x-pkcs7-signature)]
[Attachment #6 (text/plain)]

______________________________________________________________________________
Member info: https://lists.balabit.hu/mailman/listinfo/syslog-ng
Documentation: http://www.balabit.com/support/documentation/?product=syslog-ng
FAQ: http://www.balabit.com/wiki/syslog-ng-faq



[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic