Getting Data In

How does Splunk define GBs in MBs?

jamesdon
Path Finder

I thought that there would be 1024 MBs in 1 GB, but the examples online for indexes.conf has these entries:

### Indexes may be allocated space in effective groups by sharing volumes  ###

# perhaps we only want to keep 100GB of summary data and other
# low-volume information
[volume:small_indexes]
path = /mnt/splunk_indexes
maxVolumeDataSizeMB = 100000

# and this is our main event series, allowing 50 terabytes
[volume:large_indexes]
path = /mnt/splunk_indexes
maxVolumeDataSizeMB = 50000000

Shouldn't 50 terabyes be defined as 52428800? I am tuning my indexes.conf config and want to be as precice as possible.

Thank you,

Jim

Tags (1)
0 Karma
1 Solution

twkan
Splunk Employee
Splunk Employee

Well, according to my license key, Splunk represents 1 GB = 1024 MB, so I would use that as a benchmark.

In that case, it could just be a representation error in the comment field which resulted in the confusion. I would still continue to use 1024 as the base instead of 1000 in my configurations.

View solution in original post

jamesdon
Path Finder

I also verified these answers with support.

0 Karma

Damien_Dallimor
Ultra Champion

To concur with twkan , I've just looked 3 different license files of different volumes and :

  • KB=2^10(1,024 bytes)
  • MB=2^20(1,048,576 bytes)
  • GB=2^30(1,073,741,824 bytes)

Perhaps the author of the example made an oversight in the comments.

0 Karma

twkan
Splunk Employee
Splunk Employee

Well, according to my license key, Splunk represents 1 GB = 1024 MB, so I would use that as a benchmark.

In that case, it could just be a representation error in the comment field which resulted in the confusion. I would still continue to use 1024 as the base instead of 1000 in my configurations.

Get Updates on the Splunk Community!

Threat Hunting Unlocked: How to Uplevel Your Threat Hunting With the PEAK Framework ...

WATCH NOWAs AI starts tackling low level alerts, it's more critical than ever to uplevel your threat hunting ...

Splunk APM: New Product Features + Community Office Hours Recap!

Howdy Splunk Community! Over the past few months, we’ve had a lot going on in the world of Splunk Application ...

Index This | Forward, I’m heavy; backward, I’m not. What am I?

April 2024 Edition Hayyy Splunk Education Enthusiasts and the Eternally Curious!  We’re back with another ...