Sure - If your bytes field is called "IN_BYTES", you can use the following script:
doc['IN_BYTES'].value*8
Some screenshots below from my environment (my bytes field is called 'bytes')
Sure - If your bytes field is called "IN_BYTES", you can use the following script:
doc['IN_BYTES'].value*8
Some screenshots below from my environment (my bytes field is called 'bytes')
© 2020. All Rights Reserved - Elasticsearch
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant logo are trademarks of the Apache Software Foundation in the United States and/or other countries.