# Mysql select problem

**URL:** <https://discuss.elastic.co/t/mysql-select-problem/24423>\
**Category:** Beats\
**Tags:** packetbeat\
**Created:** [June 26, 2015, 1:22pm UTC](https://discuss.elastic.co/t/mysql-select-problem/24423 "2015-06-26T13:22:24Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![andrea\_patricelli](https://avatars.discourse-cdn.com/v4/letter/a/57b2e6/32.png) [@andrea\_patricelli](https://discuss.elastic.co/u/andrea_patricelli)\
**Post date:** [June 26, 2015, 1:22pm UTC](https://discuss.elastic.co/t/mysql-select-problem/24423/1 "2015-06-26T13:22:24Z")

</div>

Hi all,

I've a problem monitoring mysql selects.  
Some of them are not published to my elasticsearch, for example all "select \* from table", or "select name from table" where name is a varchar. It is a strange behavior, are there some problems with special charcters or type of fileds of the select? Or am I missing something else?  
A clue is in the cardinality of the table (1100 entries) and number of columns (20); it could be the problem in the size of the response?

---

<div class="post-metadata">

**Author:** ![tudor](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/tudor/32/3753_2.png) [@tudor](https://discuss.elastic.co/u/tudor)\
**Post date:** [June 30, 2015, 2:27pm UTC](https://discuss.elastic.co/t/mysql-select-problem/24423/2 "2015-06-30T14:27:33Z")

</div>

If the response is big, it could be because of packet loss. Try the suggestions from here: [https://github.com/elastic/packetbeat/issues/145](https://github.com/elastic/packetbeat/issues/145) especially a sniffer configuration like this:

```
interfaces:
 device: lo
 type: af_packet
 buffer_size_mb: 50
 snaplen: 65535

```

This will be improved significantly in beta2.

---

<div class="post-metadata">

**Author:** ![andrea\_patricelli](https://avatars.discourse-cdn.com/v4/letter/a/57b2e6/32.png) [@andrea\_patricelli](https://discuss.elastic.co/u/andrea_patricelli)\
**Post date:** [June 30, 2015, 3:47pm UTC](https://discuss.elastic.co/t/mysql-select-problem/24423/3 "2015-06-30T15:47:24Z")

</div>

Thank you very much, it seems to work. When is scheduled beta2 release?

---

<div class="post-metadata">

**Author:** ![tudor](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/tudor/32/3753_2.png) [@tudor](https://discuss.elastic.co/u/tudor)\
**Post date:** [June 30, 2015, 4:05pm UTC](https://discuss.elastic.co/t/mysql-select-problem/24423/4 "2015-06-30T16:05:26Z")

</div>

Currently targeting July 10th.

---

<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:59pm UTC](https://discuss.elastic.co/t/mysql-select-problem/24423/5 "2017-07-05T21:59:07Z")

</div>


