hi kalin not sure what you mean include pid? how to add pid in msg? can you give me an example thanks Kalin KOZHUHAROV <kalin.kozhuharov@jp.adecco.com> wrote: jawed abbasi wrote:
Hi
I am wondering if there is a way to config syslog-ng so that
* it receives data from multiple processes running on the same source hosts and writting top the same port, without using (facility or severity levels) and still syslog writes a separate logfile for each process?
Yes, it depends.
for example:
HOST A runs all follwing processes which all write to same port 908
proces A process b process c
but different log files are created for each process.
If you can distinguish the output of each process, syslog-ng can also (via regex). A simple way to do that is to include PID in each MSG (a very common approach in non-Windoze world). Kalin. -- | A | | D | | J | | P | _______________________________________________ syslog-ng maillist - syslog-ng@lists.balabit.hu https://lists.balabit.hu/mailman/listinfo/syslog-ng Frequently asked questions at http://www.campin.net/syslog-ng/faq.html --------------------------------- It's here! Your new message! Get new email alerts with the free Yahoo! Toolbar.