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.1.tar.gz
(6.5 kB
view hashes)
Built Distribution
Close
Hashes for pyinsights-0.1.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 755921d4a639ff3cb4716777515a32a43c8d92172bd45ab1c4d3bb24ca7ba726 |
|
MD5 | b69e0f74e8b3381754c7775bdc85478b |
|
BLAKE2b-256 | 47e3d2e1e8927297e9951e484cbe63f7eb942e952ebfcf675d50dc1984d18c17 |