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!

Splunk Custom Visualizations App End of Life

The Splunk Custom Visualizations apps End of Life for SimpleXML will reach end of support on Dec 21, 2024, ...

Introducing Splunk Enterprise 9.2

WATCH HERE! Watch this Tech Talk to learn about the latest features and enhancements shipped in the new Splunk ...

Adoption of RUM and APM at Splunk

    Unleash the power of Splunk Observability   Watch Now In this can't miss Tech Talk! The Splunk Growth ...