logtailer

command
v0.0.0-...-819ca92 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 24, 2016 License: BSD-3-Clause Imports: 14 Imported by: 0

Documentation

Overview

Command logtailer is designed to process log files for consumption.

When provided a file for the `log_file` argument it invokes logtail2 to peform log file checkpointing including rotation detection.

The first argument must be the profile identifier.

When running as with `-` for the `log_file` argument it consumes stdin.

Example invokation via cron:

  • * * * * /usr/bin/logtailer nginx -log_file=/mnt/log/nginx/access.log

See profile_dummy.go for an example of adding your own profile.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL