Get your logs from Logentries on the comandline
Project description
Get your logs from Logentries on the comandline. Provides the logentries command which makes it easy to call their Download API.
Examples
logentries web nginx
With only the required arguments (host and log) filled in, the last 20 minutes of messages from that log are downloaded (streamed through).
logentries web nginx -f code=500
Passing a Logentries filter means that fewer messages are downloaded and you can analyze faster.
logentries web nginx -f 'code=500' -s '1am' -e '5 minutes ago'
A wide variety of datetime formats are supported for specifying the start and end of the time period to fetch messages for, thanks to the awesome parsedatetime.
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.