Documentation forPapertrail

Command-line client

Papertrail offers a small command-line interface (CLI) bundle to retrieve, search, and tail logs and perform account operations (such as registering systems). For example:

Copy
$ papertrail -f
$ papertrail -f "(www OR db) (nginx OR pgsql) -accepted"
$ papertrail -g Production --min-time 'yesterday at noon' --max-time 'today at 4am' > logs.txt

Installation and usage

To install, visit the papertrail-cliREADME Quick Start section.

For usage instructions, see the README and papertrail --help.

The scripts are not supported under any SolarWinds support program or service. The scripts are provided AS IS without warranty of any kind. SolarWinds further disclaims all warranties including, without limitation, any implied warranties of merchantability or of fitness for a particular purpose. The risk arising out of the use or performance of the scripts and documentation stays with you. In no event shall SolarWinds or anyone else involved in the creation, production, or delivery of the scripts be liable for any damages whatsoever (including, without limitation, damages for loss of business profits, business interruption, loss of business information, or other pecuniary loss) arising out of the use of or inability to use the scripts or documentation.