Will elasticsearch convert files of different types

well @sudi_2611, google helps.
I found a good answers here in forum Convert strings with different data units (MB,GB,TB) to byte, have a look if it helps.

pts0