Splunk Search

bytes_in and bytes_out - Does this mean just bytes or megabytes?

summitsplunk
Communicator

For example: stats sum(bytes_in) AS bytes_in, sum(bytes_out) AS bytes_out

is the sum going to be in bytes like the description or mb?

Tags (1)
0 Karma
1 Solution

jnudell_2
Builder

Hi Summitsplunk,
It depends on what your data source is and how it defines bytes, but in this case, I would think bytes is bytes, and not mb. You would have to use the normal calculation to get mb (ie; round( bytes_in / 1024, 2) )

View solution in original post

jnudell_2
Builder

Hi Summitsplunk,
It depends on what your data source is and how it defines bytes, but in this case, I would think bytes is bytes, and not mb. You would have to use the normal calculation to get mb (ie; round( bytes_in / 1024, 2) )

Vijeta
Influencer

will be in bytes. If you want in MB you need to divide it by (1024 * 1024)

0 Karma
Get Updates on the Splunk Community!

Stay Connected: Your Guide to May Tech Talks, Office Hours, and Webinars!

Take a look below to explore our upcoming Community Office Hours, Tech Talks, and Webinars this month. This ...

They're back! Join the SplunkTrust and MVP at .conf24

With our highly anticipated annual conference, .conf, comes the fez-wearers you can trust! The SplunkTrust, as ...

Enterprise Security Content Update (ESCU) | New Releases

Last month, the Splunk Threat Research Team had two releases of new security content via the Enterprise ...