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]

stdin() Source Driver

The stdin() driver collects messages from the standard input stream.

Important Information

When the standard input stream is closed, syslog-ng stops and stdin() inherits all options from the file() source, including multi-line options, or flags(no-parse). The stdin() driver causes syslog-ng to exit once it hits end-of-file (EOF).

Status

Architecture

Status

x86

Works

ARM

Works

How to Test

To test the stdin() source driver, we run a very simple configuration file as shown below and then type into the terminal to simulate the standard input stream.

Configuration File Used

@version: 3.31
@include "scl.conf"

source std_inp{
    stdin();
};

destination console{
    file(/dev/stdout);
};

log {
    source(std_inp);
    destination(console);
};

Proof

Previouswildcard_file() Source DriverNextafprog [2]

Last updated 3 years ago

Was this helpful?

stdin() input tested on macOS (x86)
stdin() input tested on macOS (ARM)