MySQL num_fields as string?

Hi,

I was wondering why the packetbeat template declares mysql.num_fields and mysql.num_rows as keywords, as it has number in its name already. I am sure there is an explanation but calculating an average or getting the maximum value is kind of complicated that way.

If that is not by mistake, would it make sense to add a field as number as well?

Thanks,
Andrej

Looks like a bug to me. Internal to Packetbeat these values are integers so the index template just needs to be changed to mark these fields as longs.

These two entries are missing type: long. https://github.com/elastic/beats/blob/v5.1.1/packetbeat/_meta/fields.yml#L1623-L1631 Then we would run make update to rebuild the index templates.

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