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!

Prove Your Splunk Prowess at .conf25—No Prereqs Required!

Your Next Big Security Credential: No Prerequisites Needed We know you’ve got the skills, and now, earning the ...

Splunk Observability Cloud's AI Assistant in Action Series: Observability as Code

This is the sixth post in the Splunk Observability Cloud’s AI Assistant in Action series that digs into how to ...

Splunk Answers Content Calendar, July Edition I

Hello Community! Welcome to another month of Community Content Calendar series! For the month of July, we will ...