NAME

Log::Saftpresse::Input::Command - log input for slurping the output of a command

VERSION

version 1.6

Description

This input watches executes a command and will follow its output.

Synopsis

  <Input alive>
    module = "Command"
    command = "journalctl -f"
  </Input>

Format

Foreach line appended to the file a event with the following fields is generated:

message

Content of the line.

host

The hostname of the system.

time

The current time.

AUTHOR

Markus Benning <ich@markusbenning.de>

COPYRIGHT AND LICENSE

This software is Copyright (c) 1998 by James S. Seymour, 2015 by Markus Benning.

This is free software, licensed under:

  The GNU General Public License, Version 2, June 1991