Skip to content

Grab logs from MySQL and send them to CloudWatch Logs

License

Notifications You must be signed in to change notification settings

GSA/mysql_to_cloudwatch

Repository files navigation

MySQL to CloudWatch Logs Build Status

This is a script that grabs logs from MySQL and sends them to CloudWatch Logs.

Setup

  1. Enable the desired logs. The script will attempt to do so for you, but may fail (gracefully), based on if the user has permissions or not. More information:
  2. Create a .env file with your AWS connection information and other environment variables. See docker-compose.yml for the list of supported variables.
  3. TODO

Running tests

cd tests

docker-compose up mysql
# this will print out a bunch of junk you can probably ignore

# in another terminal
docker-compose run tests

Troubleshooting

If you get an error about "signature expired" or anything else related to timing, it is a clock drift bug in Docker. Restart Docker for Mac/Windows.

See also

About

Grab logs from MySQL and send them to CloudWatch Logs

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published