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
File details
Details for the file logentries-cli-1.0.tar.gz
.
File metadata
- Download URL: logentries-cli-1.0.tar.gz
- Upload date:
- Size: 3.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | b338f29ecb6e83c9f54c8125e4456a39355cef5c6958a956c9cadfc88194a365 |
|
MD5 | d526525df26c045478fbc4623cdfb479 |
|
BLAKE2b-256 | 2cbda8658a1d03b663512ad176d382f7644e8f4bc4f0ade177a6f5bc311215c7 |