# Packetbeat isn't capture mysql network traffic

**URL:** <https://discuss.elastic.co/t/packetbeat-isnt-capture-mysql-network-traffic/327378>\
**Category:** Beats\
**Tags:** packetbeat\
**Created:** [March 9, 2023, 4:13pm UTC](https://discuss.elastic.co/t/packetbeat-isnt-capture-mysql-network-traffic/327378 "2023-03-09T16:13:06Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Ivan\_Picca](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/ivan_picca/32/118261_2.png) [@Ivan\_Picca](https://discuss.elastic.co/u/Ivan_Picca)\
**Post date:** [March 9, 2023, 4:13pm UTC](https://discuss.elastic.co/t/packetbeat-isnt-capture-mysql-network-traffic/327378/1 "2023-03-09T16:13:06Z")

</div>

hey guys. I'm stuck. I got this problem. I've configured packetbeat to capture network traffic.  
I've 1 server contains elk stack and another host where i' ve installed packetbeat and mysql. The main idea is forward packetbeat traffic data to elk. In elk stack installed in other host, arrived all traffic network's data except mysql traffic network's data .But i'm stuck.  
It seems that it fails to capture network traffic from mysql. I've disable ssl on mysql server (version 5.7.40). I've switch interfaces but not working. Please help. I'm stuck.

 ![Screenshot (321)](https://us1.discourse-cdn.com/elastic/original/3X/a/3/a352e2f29f87d81ab2a5ca7112b98b483183bb3f.jpeg)  
 ![Screenshot (322)](https://us1.discourse-cdn.com/elastic/original/3X/3/2/326d04ad05d7cec2cf6fe5d079d51256c47fd408.jpeg)  
 ![Screenshot (323)](https://us1.discourse-cdn.com/elastic/original/3X/a/a/aa3f50abea7f84d44797404922d18ee5c1fa9677.jpeg)  
 ![Screenshot (324)](https://us1.discourse-cdn.com/elastic/original/3X/6/a/6a45acb1b00502410c09ae94ea6fa6c7e6338e8b.jpeg)  
 ![Screenshot (325)](https://us1.discourse-cdn.com/elastic/original/3X/6/1/6123828b27000fdf76dc794a5b06a4b074a1514a.jpeg)

---

<div class="post-metadata">

**Author:** ![eMitch](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/emitch/32/93607_2.png) [@eMitch](https://discuss.elastic.co/u/eMitch)\
**Post date:** [March 9, 2023, 7:43pm UTC](https://discuss.elastic.co/t/packetbeat-isnt-capture-mysql-network-traffic/327378/2 "2023-03-09T19:43:50Z")

</div>

Hey @Ivan_Picca and welcome to the community!

How are you generating traffic to the MySQL server?  
How are you verifying in elastic whether the traffic for MySQL exists?  
Have you looked at the Elasticsearch and/or metricbeat logs to see what is happening while you capture?

You may want to reduce the number of protocols you're capturing while you troubleshoot in order to reduce the noise.

---

<div class="post-metadata">

**Author:** ![Ivan\_Picca](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/ivan_picca/32/118261_2.png) [@Ivan\_Picca](https://discuss.elastic.co/u/Ivan_Picca)\
**Post date:** [March 10, 2023, 10:12am UTC](https://discuss.elastic.co/t/packetbeat-isnt-capture-mysql-network-traffic/327378/3 "2023-03-10T10:12:57Z")

</div>

Thank you, sir 🙂  
1-Yes ,in mysql i try to show byte\_sent and byte\_reiceived, It work. But no data sent to ekl.  
2- i try to type Destination.port : 3306 or network.protocoll: mysql or simply type mysql in the discover bar.  
3-I haven't installed metricbeat. Don't need.

Thanks for the help

---

<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 7, 2023, 12:13pm UTC](https://discuss.elastic.co/t/packetbeat-isnt-capture-mysql-network-traffic/327378/4 "2023-04-07T12:13:09Z")

</div>

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