AWS CloudWatch Logs Insights is wrapped by Python
Project description
PyInsights
A CLI tool To query CloudWatch Logs Insights.
Usage
1. Write Configuration
write configuration to pyinsights.yml
like:
version: '1.0'
log_group_name:
- '/ecs/sample'
query_string: 'field @message | filter @message like /ERROR/'
duration: '30m'
limit: 10
2. Execute command
pyinsights -c pyinsights.yml -p aws_profile -r region
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
pyinsights-0.1.2.tar.gz
(6.5 kB
view hashes)
Built Distribution
Close
Hashes for pyinsights-0.1.2-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 01356eca261142227db8aaa38447bb9103222a4af3809a3bd5cf56d1b755f8d2 |
|
MD5 | 7cc6c9e9d29c639d0c25d6bc2efd9dc3 |
|
BLAKE2b-256 | c9f40ada7822a22e7dcdbc6f227484ebce8f6a4ea67f079de1945341616094d7 |