# Monitor a database table with Metricbeat

**URL:** <https://discuss.elastic.co/t/monitor-a-database-table-with-metricbeat/186458>\
**Category:** Beats\
**Tags:** metricbeat\
**Created:** [June 19, 2019, 11:53am UTC](https://discuss.elastic.co/t/monitor-a-database-table-with-metricbeat/186458 "2019-06-19T11:53:36Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Azore](https://avatars.discourse-cdn.com/v4/letter/a/94ad74/32.png) [@Azore](https://discuss.elastic.co/u/Azore)\
**Post date:** [June 19, 2019, 11:53am UTC](https://discuss.elastic.co/t/monitor-a-database-table-with-metricbeat/186458/1 "2019-06-19T11:53:36Z")

</div>

Hello all,  
I intend to monitor a special table from my SQL Server or MySQL database in graph.  
I have seen that metricbeat does the whole database monitoring not living one to write queries or to choose what else to monitor specially.

I need you to help or to refer me to other beat which can achieve what I am looking for.  
If there is no possibility, please tell me how can I extract the table's data often in a special format and how one beat can help me achieving what I am looking for.

Thanks in advance.

---

<div class="post-metadata">

**Author:** ![Mario\_Castro](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/mario_castro/32/35107_2.png) [@Mario\_Castro](https://discuss.elastic.co/u/Mario_Castro)\
**Post date:** [June 19, 2019, 12:10pm UTC](https://discuss.elastic.co/t/monitor-a-database-table-with-metricbeat/186458/2 "2019-06-19T12:10:20Z")

</div>

Hi @Azore 🙂

We are in the process of releasing a SQL module that allows to run custom queries over a predefined set of SQL databases but we don't have a release date for it yet.

I'm afraid that the SQL Server module monitors the database but we don't offer any way to run custom queries on specific tables of your business.

My only advice now is wait until we release the SQL module or build your own Beat following instructions here: [https://www.elastic.co/blog/build-your-own-beat](https://www.elastic.co/blog/build-your-own-beat)

I hope it helps.

---

<div class="post-metadata">

**Author:** ![Azore](https://avatars.discourse-cdn.com/v4/letter/a/94ad74/32.png) [@Azore](https://discuss.elastic.co/u/Azore)\
**Post date:** [June 21, 2019, 7:20am UTC](https://discuss.elastic.co/t/monitor-a-database-table-with-metricbeat/186458/3 "2019-06-21T07:20:14Z")

</div>

Thank you @Mario,  
That will be very usefull.

I finally found an alternative to make what I was looking for. I used logstash to access the database with a statement that loads the table's datas. Now I am done.

You are doing a very good job.

---

<div class="post-metadata">

**Author:** ![Mario\_Castro](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/mario_castro/32/35107_2.png) [@Mario\_Castro](https://discuss.elastic.co/u/Mario_Castro)\
**Post date:** [June 21, 2019, 2:20pm UTC](https://discuss.elastic.co/t/monitor-a-database-table-with-metricbeat/186458/4 "2019-06-21T14:20:57Z")

</div>

I didn't think about Logstash but yeah, good idea 😄

---

<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 19, 2019, 2:21pm UTC](https://discuss.elastic.co/t/monitor-a-database-table-with-metricbeat/186458/5 "2019-07-19T14:21:11Z")

</div>

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