# Monitor mysql user querries activity

**URL:** <https://discuss.elastic.co/t/monitor-mysql-user-querries-activity/266526>\
**Category:** Beats\
**Tags:** packetbeat\
**Created:** [March 8, 2021, 8:53am UTC](https://discuss.elastic.co/t/monitor-mysql-user-querries-activity/266526 "2021-03-08T08:53:51Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Radhouane](https://avatars.discourse-cdn.com/v4/letter/r/87869e/32.png) [@Radhouane](https://discuss.elastic.co/u/Radhouane)\
**Post date:** [March 8, 2021, 8:53am UTC](https://discuss.elastic.co/t/monitor-mysql-user-querries-activity/266526/1 "2021-03-08T08:53:51Z")

</div>

Hello,

I am new to ELK stacking so I am trying to check all its capabilities.

Actually, I am trying to monitor mysql database and see what information I can get using beats agents.

One thing I can't find is user/login field in a packetbeat for mysql authentication.  
I know that I can have this information by enabling general log in mysql and ship it to logstash and then parse this data.  
But I think easier and more efficient to use packetbeat and extract this information through packets.

Is there any way to get mysql user activity without impacting performance of machine / generating massive log files (TCP dumps / general logs)

Thanks,  
Radhouane.

---

<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:** [April 5, 2021, 10:54am UTC](https://discuss.elastic.co/t/monitor-mysql-user-querries-activity/266526/2 "2021-04-05T10:54:05Z")

</div>

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