# Way to send RDS mysql logs to Elastic

**URL:** <https://discuss.elastic.co/t/way-to-send-rds-mysql-logs-to-elastic/204987>\
**Category:** Beats\
**Tags:** filebeat\
**Created:** [October 24, 2019, 2:56am UTC](https://discuss.elastic.co/t/way-to-send-rds-mysql-logs-to-elastic/204987 "2019-10-24T02:56:21Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![akki2208](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/akki2208/32/54139_2.png) [@akki2208](https://discuss.elastic.co/u/akki2208)\
**Post date:** [October 24, 2019, 2:56am UTC](https://discuss.elastic.co/t/way-to-send-rds-mysql-logs-to-elastic/204987/1 "2019-10-24T02:56:21Z")

</div>

Hello Elastic Team,

I am working with filebeat's MySQL module for a long time.  
but I can see that similar logs are generated at AWS rds also.

So after the 7.4 beat release(s3 as input), I want to ingest those rds logs to elastic.

I was already sending those rds logs to the s3 bucket by using some script.

Now my question is can I use existing filebeat MySQL modules with s3 as input.

I tried to send logs directly to mysql ingest pipeline using the below mentioned configuration.

output.elasticsearch:  
hosts: ['[http://elasticsearch-01.some.com:9200](http://elasticsearch-01.some.com:9200)' ]

# Optional protocol and basic auth credentials.

#protocol: "https"  
username: "elastic"  
password: "CgkIXXXXXXXXXX"  
worker: 8

pipelines:  
- pipeline: "filebeat-7.4.0-mysql-slowlog-pipeline"  
when.contains:  
aws.s3.object.key: "mysql-slowquery.log"  
- pipeline: "filebeat-7.4.0-mysql-error-pipeline"  
when.contains:  
aws.s3.object.key: "mysql-error.log"

---

<div class="post-metadata">

**Author:** ![pmercado](https://avatars.discourse-cdn.com/v4/letter/p/59ef9b/32.png) [@pmercado](https://discuss.elastic.co/u/pmercado)\
**Post date:** [October 25, 2019, 9:03am UTC](https://discuss.elastic.co/t/way-to-send-rds-mysql-logs-to-elastic/204987/2 "2019-10-25T09:03:04Z")

</div>

it looks like you can override the module input, can you try that using the mysql module and setting inside the s3 input?

[https://www.elastic.co/guide/en/beats/filebeat/7.5/advanced-settings.html](https://www.elastic.co/guide/en/beats/filebeat/7.5/advanced-settings.html)

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [November 22, 2019, 9:03am UTC](https://discuss.elastic.co/t/way-to-send-rds-mysql-logs-to-elastic/204987/3 "2019-11-22T09:03:05Z")

</div>

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.
