Syslog NG - MacOS Testing
  • GSOC - Project Report
  • Testing Methodology
  • Testing Status
  • Installation
  • Modules
    • afsocket [17]
      • network() Source Driver
      • network() Destination Driver
      • syslog() Source/Destination Driver
      • unix-stream() Source Driver
      • unix-stream() Destination Driver
      • unix-dgram() Source/Destination Driver
      • TLS-Encryption
        • Using network()
        • Using syslog()
    • affile [6]
      • file() Source Driver
      • file() Destination Driver
      • pipe() Source Driver
      • pipe() Destination Driver
      • wildcard_file() Source Driver
      • stdin() Source Driver
    • afprog [2]
      • program() Source Driver
      • program() Destination Driver
    • system [1]
      • Collecting local logs pre macOS 10.15 Catalina
    • afuser [1]
    • pseudofile [1]
    • mod-python [7]
      • python() Source Driver
      • python-fetcher() Source Driver
      • python() Destination Driver*
    • afmongodb [1]
    • http [1]
    • riemann [1]
    • redis [1]
    • elasticsearch-http [1]
    • afsql [1]
    • afsmtp [1]
Powered by GitBook
On this page
  • Important Information
  • Status
  • How to Test

Was this helpful?

  1. Modules
  2. affile [6]

pipe() Destination Driver

The pipe() driver sends messages to a named pipe like /dev/xconsole.

Important Information

Pipe is very similar to the file() driver, but there are a few differences, for example, pipe() opens its argument in read-write mode, therefore it is not recommended to use pipe() on anything else than real pipes. Pipes are created automatically so you don't need to create the pipe using the mkfifo(1) command.

Status

Architecture

Status

x86

Works

ARM

Works

How to Test

To test the pipe() destination driver, we create a pipe called "myPipe" and write data into it. And then we read data from this pipe.

Configuration File Used

@version: 3.31
@include "scl.conf"

source custom
{
    example-msg-generator(
        num(5)
        template("Test Messages")
    );
};

destination d_pipe { 
    pipe("/Users/yash/Documents/myPipe" perm(0755)); 
};

log {
    source(custom);
    destination(d_pipe);
};

Proof

Previouspipe() Source DriverNextwildcard_file() Source Driver

Last updated 3 years ago

Was this helpful?

pipe() destination driver tested on macOS (x86)
pipe() destination driver tested on macOS (ARM)