# README
cwlq
cwlq is a tool/package for querying logs (of Amazon CloudWatch Logs) stored in various datasources.
Usage
$ cwlq s3://myrds-audit-logs/2022/12/11/ --parser rdsaudit --filter "message.host == '10.0.1.123'" --filter "message.object contains 'INSERT'"
Support datasource
Amazon S3
s3://bucket/path/to
Local file or directory
local://path/to
local:///root/path/to
Fake datasource
fake://rdsaudit?duration=3sec
Amazon CloudWatch Logs directly
WIP
Note Perhaps it would be better to use CloudWatch Logs Insights.
Support Parser
rdsaudit
Parser for gziped logs via MariaDB Audit Plugin for Amazon RDS.
Install
homebrew tap:
$ brew install pepabo/tap/cwlq
manually:
Download binany from releases page
go install:
$ go install github.com/pepabo/cwlq@latest
# Packages
Copyright © 2022 GMO Pepabo, inc.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
# Functions
No description provided by the author