# Introducing mysqlbeat

**URL:** <https://discuss.elastic.co/t/introducing-mysqlbeat/48890>\
**Category:** Beats\
**Created:** [May 1, 2016, 3:40pm UTC](https://discuss.elastic.co/t/introducing-mysqlbeat/48890 "2016-05-01T15:40:09Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![adi.b](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/adi.b/32/8581_2.png) [@adi.b](https://discuss.elastic.co/u/adi.b)\
**Post date:** [May 1, 2016, 3:40pm UTC](https://discuss.elastic.co/t/introducing-mysqlbeat/48890/1 "2016-05-01T15:40:09Z")

</div>

Hi Guys,  
I looked for something to expand the MySQL packetbeat dashboard with no luck so I decided to do it myself 😁 I wrote a new beat that can connect to a MySQL server and ship any result from the queries defined in the config file to elastic/logstash.

I've also created a default configuration that reports key metrics from MySQL to elastic and built a dashboard (I avoided graphs that are already covered by packetbeat) - you are all free to use it, the code is on github.

> **[adibendahan/mysqlbeat](https://github.com/adibendahan/mysqlbeat)**
>
> Fully customizable Beat for MySQL server - this beat will ship the results of any query defined in the config file to Elasticsearch. - adibendahan/mysqlbeat

 ![](https://us1.discourse-cdn.com/elastic/original/2X/c/c3d6c220272d56c22d0cfaff7ea14bf412ddf2e5.png)

Enjoy 🙂

---

<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:** [May 2, 2016, 7:58am UTC](https://discuss.elastic.co/t/introducing-mysqlbeat/48890/2 "2016-05-02T07:58:18Z")

</div>

Hi @adi.b

Great to see one more beat. Please open a PR to also add it to the community beats here: [https://github.com/elastic/beats/blob/master/libbeat/docs/communitybeats.asciidoc](https://github.com/elastic/beats/blob/master/libbeat/docs/communitybeats.asciidoc) I'm sure quite a few people will be interested in this.

We are currently working on metricbeat. Part of your MySQL queries is also available there (GLOBAL STATUS): [https://github.com/elastic/beats/tree/master/metricbeat/module/mysql](https://github.com/elastic/beats/tree/master/metricbeat/module/mysql)

Your implementation is obviously more generic and allows "all" queries to be fetched. One query I spotted in your config is for the SLAVE STATUS, this could be a very interesting metricset to be added to metricbeat.

I'm also happy to see that you seem to have used beat-generator. Let me know if you hit any issues with it.

---

<div class="post-metadata">

**Author:** ![adi.b](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/adi.b/32/8581_2.png) [@adi.b](https://discuss.elastic.co/u/adi.b)\
**Post date:** [May 2, 2016, 8:56am UTC](https://discuss.elastic.co/t/introducing-mysqlbeat/48890/3 "2016-05-02T08:56:19Z")

</div>

Hi @ruflin  
I already did a pull request about a week ago with no replay, That's a first for me so maybe I did something wrong?

Should I try again?

---

<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:** [May 2, 2016, 9:08am UTC](https://discuss.elastic.co/t/introducing-mysqlbeat/48890/4 "2016-05-02T09:08:01Z")

</div>

Can you post the link to the PR? I think I totally missed that one.

---

<div class="post-metadata">

**Author:** ![adi.b](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/adi.b/32/8581_2.png) [@adi.b](https://discuss.elastic.co/u/adi.b)\
**Post date:** [May 2, 2016, 9:10am UTC](https://discuss.elastic.co/t/introducing-mysqlbeat/48890/5 "2016-05-02T09:10:17Z")

</div>

> <https://github.com/adibendahan/beats/commit/a6539404ed518be7e9c57b1d23cded35afe6954b>

---

<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:** [May 2, 2016, 9:25am UTC](https://discuss.elastic.co/t/introducing-mysqlbeat/48890/6 "2016-05-02T09:25:17Z")

</div>

No wonder I didn't see it. You opened the PR agains your own Repository. You must create a PR agains our beats repo. If you or on [github.com/elastic/beats](http://github.com/elastic/beats) click on "Create Pull Reqest" and then select your repository and branch to open the PR.

---

<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:** [July 5, 2017, 9:52pm UTC](https://discuss.elastic.co/t/introducing-mysqlbeat/48890/7 "2017-07-05T21:52:37Z")

</div>


