Syslog Input Module [syslog_in]

Description

Monitors a syslog file or pipe for events and generates tokens out of them.

Configuration Tokens

logfile: Path to file that syslogd writes to. syslog_in reads and parses this file.
sleeptime: Seconds to sleep before checking for updates.
pipe: set to '1' if reading from a named pipe.
reopen_pipe: set to '1' if pipe should be reopened after a process disconnects from it.
sleeptime: Time to sleep between reads.
regexp: Return only lines matching this regular expression.
tailstyle: Specifies when to start reading the file.
* '0' for end of file.
* 'n' for n number of lines before the end.
*  Negative number to read the whole file.

debugmode: Debug Level
debugmessages: Path to file to log debug messages

Generated Tokens

date: Date and time of syslog event
node: Hostname where event came from
desc: Description of event

Back to Module Reference


PHP Warnings

lib/pear/DB/common.php:741: Notice[8]: Only variable references should be returned by reference

lib/pear/DB/common.php:741: Notice[8]: Only variable references should be returned by reference

lib/pear/DB/common.php:741: Notice[8]: Only variable references should be returned by reference

lib/Template.php:106: Notice[8]: Only variables should be assigned by reference

lib/Template.php:107: Notice[8]: Only variables should be assigned by reference

lib/Template.php(In template 'htmldump'?):106: Notice[8]: Only variables should be assigned by reference

lib/Template.php(In template 'htmldump'?):107: Notice[8]: Only variables should be assigned by reference

lib/Template.php(In template 'body'?)(In template 'htmldump'?):106: Notice[8]: Only variables should be assigned by reference

lib/Template.php(In template 'body'?)(In template 'htmldump'?):107: Notice[8]: Only variables should be assigned by reference

lib/Template.php(In template 'body'?)(In template 'htmldump'?):106: Notice[8]: Only variables should be assigned by reference

lib/Template.php(In template 'body'?)(In template 'htmldump'?):107: Notice[8]: Only variables should be assigned by reference

lib/Template.php(In template 'body'?)(In template 'htmldump'?):106: Notice[8]: Only variables should be assigned by reference

lib/Template.php(In template 'body'?)(In template 'htmldump'?):107: Notice[8]: Only variables should be assigned by reference