Skip to main content

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'
pattern: 'field @message | filter @message like /ERROR/'
duration: '30m'
limit: 10

2. Execute command

pyinsights -c pyinsights.yml -p aws_profile -r region

Project details


Download files

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

Files for pyinsights, version 0.1.0
Filename, size File type Python version Upload date Hashes
Filename, size pyinsights-0.1.0-py3-none-any.whl (7.4 kB) File type Wheel Python version py3 Upload date Hashes View hashes
Filename, size pyinsights-0.1.0.tar.gz (5.7 kB) File type Source Python version None Upload date Hashes View hashes

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page