Skip to content
Retrieve Error Logs from RDS
Ruby
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
lib/fluent/plugin
.gitignore
.travis.yml
Gemfile
Gemfile.lock
LICENSE.txt
README.md
fluent-plugin-rds-error-log.gemspec
fluent.conf.sample

README.md

Amazon RDS for MySQL log input plugin for fluentd

or to grab general logs....https://github.com/hasjenL/fluent-plugin-rds-genlog

Overview

  • Amazon Web Services RDS log input plugin for fluentd

Configuration

<source>
  type rds_error_log
  # required
  region                 <region name>
  db_instance_identifier <instance identifier>
  # optional if you can IAM credentials
  access_key_id          <access_key>
  secret_access_key      <secret_access_key>
  # optional
  refresh_interval       <interval number by second(default: 30)>
  tag                    <tag name(default: rds-mysql.log>
  pos_file               <log getting position file(default: rds-mysql.log)>
</source>

Example setting

<source>
  type rds_error_log
  region ap-northeast-1
  db_instance_identifier test-mysql
  access_key_id     XXXXXXXXXXXXXXXXXXXX
  secret_access_key xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
  refresh_interval  30
  tag mysql.log
  pos_file /tmp/mysql-log-pos.dat
</source>

<match mysql.log>
  type stdout
</match>
You can’t perform that action at this time.