# mySql binlog

**URL:** <https://discuss.elastic.co/t/mysql-binlog/113415>\
**Category:** Beats\
**Tags:** filebeat\
**Created:** [December 28, 2017, 8:22am UTC](https://discuss.elastic.co/t/mysql-binlog/113415 "2017-12-28T08:22:24Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![evuori](https://avatars.discourse-cdn.com/v4/letter/e/cab0a1/32.png) [@evuori](https://discuss.elastic.co/u/evuori)\
**Post date:** [December 28, 2017, 8:22am UTC](https://discuss.elastic.co/t/mysql-binlog/113415/1 "2017-12-28T08:22:25Z")

</div>

Hey there, new here so I try to behave and keep this short

Looking if it is possible to parse and ship mySql binlog with Filebeat?  
Im currently using solution built using python-mysql-replication module  
reading only INSERT/UPDATE/DELETE events and getting nice  
before\_update/after\_update change history with it. Works good but i  
need simplified solution since I am simple guy and I am already using filebeat  
elsewhere so...

Cheers

---

<div class="post-metadata">

**Author:** ![ruflin](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/ruflin/32/3116_2.png) [@ruflin](https://discuss.elastic.co/u/ruflin)\
**Post date:** [December 29, 2017, 2:23am UTC](https://discuss.elastic.co/t/mysql-binlog/113415/2 "2017-12-29T02:23:15Z")

</div>

What is the format of the mysql binlog? Based on the name it sounds pretty binary and not line based. So far filebeat is focused on line based files.

---

<div class="post-metadata">

**Author:** ![evuori](https://avatars.discourse-cdn.com/v4/letter/e/cab0a1/32.png) [@evuori](https://discuss.elastic.co/u/evuori)\
**Post date:** [December 29, 2017, 6:51am UTC](https://discuss.elastic.co/t/mysql-binlog/113415/3 "2017-12-29T06:51:09Z")

</div>

Yeah it's a binary and understand filebeat focus on line based stuff now after digging more.

---

<div class="post-metadata">

**Author:** ![ruflin](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/ruflin/32/3116_2.png) [@ruflin](https://discuss.elastic.co/u/ruflin)\
**Post date:** [January 3, 2018, 11:17pm UTC](https://discuss.elastic.co/t/mysql-binlog/113415/4 "2018-01-03T23:17:35Z")

</div>

There is unifiedbeat which reads from a binary file but it's a community beat: [https://github.com/cleesmith/unifiedbeat](https://github.com/cleesmith/unifiedbeat)

---

<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:** [January 31, 2018, 11:17pm UTC](https://discuss.elastic.co/t/mysql-binlog/113415/5 "2018-01-31T23:17:39Z")

</div>

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