AWS RDS PostgreSQL Logs Exporter to Elasticsearch via Fluentd
This repository shows a solution how to stream logs from AWS RDS Postgres directly to Elasticsearch.
Dependencies
- fluent/fluentd - v1.6-1
- uken/fluent-plugin-elasticsearch - v3.5.4
- shinsaka/fluent-plugin-rds-pgsql-log - v0.5.0
- autopp/fluent-plugin-time-filter - v0.1.0
Quick Start
This package is available with docker image:
docker run -v "${PWD}/fluent.conf:/fluentd/etc/fluent.conf" pperzyna/postgresql_aws_logs_collector
building and running
- Update fluent.conf
- Run docker-compose