Message::Passing::Input::FileTail(3pm)

Message::Passing::Input::FileTail3pm

File tailing input

Usage

    message-pass --input FileTail --input_options '{"filename": "/var/log/foo.log"} --output STDOUT
    {"filename":"/var/log/foo.log","message":"example line","hostname":"www.example.com","epochtime":"1346705476","type":"log_line"}

Overview

Attributes

filename

The filename of the file to tail.

raw

If the file data should be output raw (as just a line). Normally lines are output as a hash of data including the fields showing in the SYNOPSIS.

Sponsorship

This module exists due to the wonderful people at Suretec Systems Ltd. <http://www.suretecsystems.com/> who sponsored its development for its VoIP division called SureVoIP <http://www.surevoip.co.uk/> for use with the SureVoIP API - <http://www.surevoip.co.uk/support/wiki/api_documentation>

Releases

6 releases since Debian 8 (Jessie); the text changed 3 times.

  1. 8
  2. 9
  3. 10–11
  4. 12–13

From libmessage-passing-perl 0.117-1 in Debian 13 (Trixie). Parsed by carta from the page's man source.