Filebeat: How to convert data from bytes to mb in a Kibana panel?

Hey there!

I am building a panel in Kibana. My source is a field in Filebeat called network.bytes.

Does anyone know how to convert it ( and visualize it ) from bytes to mb or even gb?


Two things come to mind -

idea 1: you could use the "bytes" formatter which will do this in visualizations automatically.

idea 2: force the issue in your data
If you're on 7.14+ you can use a custom formula to divide by 1024 (as many times as you need to) at runtime... Create visualizations with Lens | Kibana Guide [7.15] | Elastic
...or if you're on 7.13+ you could also define a runtime field to do this division in the index pattern Manage index pattern data fields | Kibana Guide [7.15] | Elastic

1 Like

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