[syslog-ng] Creating a named pipe (FIFO)

Michael Clark mclark at adapt2.com
Wed Mar 22 17:35:31 CET 2006


Technically, it's not a "file" but a named pipe.  That means it doesn't take
up space on the disk.  It's a stream that allows you to connect to and read
information that is being presented on it.  Once you have the
/var/syslog-ng/syslog_fifo named pipe created, you can refer to it by name
in the configuration files.  I've never used a named pipe in syslog-ng (I
have in other programs), so I don't know if you use the same command that
you would to reference a file name.  In the Micromuse Syslog Probe, you have
to use a different parameter name to specify a named pipe than you would for
a file.

Check the syslog-ng docs to see what the command would be to specify a named
pipe.  It's possible it's the same command.

-----Original Message-----
From: Timothy A. Holmes [mailto:tholmes at mcaschool.net] 
Sent: Wednesday, March 22, 2006 9:15 AM
To: holtzl.peter at balabit.hu; Syslog-ng users' and developers' mailing list
Subject: RE: [syslog-ng] Creating a named pipe (FIFO)

Does that just create the file, which is then used as the destination?

Is that how it works?

Timothy A. Holmes
IT Manager / Network Admin / Web Master / Computer Teacher
Medina Christian Academy
A Higher Standard...
Jeremiah 33:3
Jeremiah 29:11
Esther 4:14

> -----Original Message-----
> From: syslog-ng-bounces at lists.balabit.hu [mailto:syslog-ng-
> bounces at lists.balabit.hu] On Behalf Of HÖLTZL Péter
> Sent: Wednesday, March 22, 2006 9:35 AM
> To: Syslog-ng users' and developers' mailing list
> Subject: RE: [syslog-ng] Creating a named pipe (FIFO)
> Hi Timothy,
> Insted of putting mkfifo into the syslog-ng.conf, add the command
> 'mkfifo /var/syslog-ng/syslog_fifo' from a command prompt when you are
> root.
> regards,
> Péter
> > Does the name of the named pipe need to be the same as the destination
> line
> > mkfifo splunk;
> --
> BalaBit IT Bizt. Kft    | Tel:   +36  1 371-0540 | GnuPG Fingerprint:
> holtzl.peter at balabit.hu | Mobil: +36 20 366-9667 | 796B C9D3 E492 B006
> C8B2
> http://www.balabit.hu/  | Fax:   +36  1 208-0875 | 4D1F 5320 28E3 9A1B
> 3FC6

syslog-ng maillist  -  syslog-ng at lists.balabit.hu
Frequently asked questions at http://www.campin.net/syslog-ng/faq.html

More information about the syslog-ng mailing list