srlog2


Index

NAME
SYNOPSIS
DESCRIPTION
ENVIRONMENT
FILES
SEE ALSO

NAME

srlog2 - Sends logs to a network receiver.

SYNOPSIS

SERVICE [SERVER] [[+-]PATTERN ...]

DESCRIPTION

srlog2 reads lines from standard input, filters them based on command line patterns, timestamps them, and writes them to a buffer. If a connection has been established with the receiver, it gathers together batches of lines and sends them to the receiver. Once the receiver acknowledges the receipt of the lines, the sender marks the lines as having been fully sent.

When reading input, an attempt is made to batch together as many lines into one packet as possible without significantly delaying transmission. To do this, srlog2 waits a short (configurable) time after each line to see if another line is coming before forming the outgoing message. The longer the time waited, the more likely to batch together lines, but the longer it will take for lines to get sent to the receiver.