Skip to main content

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 [https://logentries.com/doc/api-download/](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 [https://logentries.com/doc/search/](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 [https://github.com/bear/parsedatetime](parsedatetime).

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

logentries-cli-1.0.tar.gz (3.4 kB view details)

Uploaded Source

File details

Details for the file logentries-cli-1.0.tar.gz.

File metadata

File hashes

Hashes for logentries-cli-1.0.tar.gz
Algorithm Hash digest
SHA256 b338f29ecb6e83c9f54c8125e4456a39355cef5c6958a956c9cadfc88194a365
MD5 d526525df26c045478fbc4623cdfb479
BLAKE2b-256 2cbda8658a1d03b663512ad176d382f7644e8f4bc4f0ade177a6f5bc311215c7

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page