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!

.conf24 | Registration Open!

Hello, hello! I come bearing good news: Registration for .conf24 is now open!   conf is Splunk’s rad annual ...

ICYMI - Check out the latest releases of Splunk Edge Processor

Splunk is pleased to announce the latest enhancements to Splunk Edge Processor.  HEC Receiver authorization ...

Introducing the 2024 SplunkTrust!

Hello, Splunk Community! We are beyond thrilled to announce our newest group of SplunkTrust members!  The ...