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.
Click to show internal directories.
Click to hide internal directories.