Estimate your storage requirements
This topic describes how to estimate the size of your Splunk Enterprise index, so that you can plan your storage capacity requirements.
When Splunk Enterprise indexes your data, it creates two main types of files: the "rawdata" file that contains the original data in compressed form and the index files that point to this data. (It also creates a few metadata files, which don't consume much space.) With a little experimentation, you can estimate how much index disk space you will need for a given amount of incoming data.
Typically, the compressed rawdata file is 10% the size of the incoming, pre-indexed raw data. The associated index files range in size from approximately 10% to 110% of the rawdata file. The number of unique terms in the data affect this value.
Depending on the data's characteristics, you might want to tune your segmentation settings, as described in About segmentation in the Getting Data In Manual.
The best way to get an idea of your space needs is to experiment by indexing a representative sample of your data, and then checking the sizes of the resulting directories in
On *nix systems, follow these steps
Once you've indexed your data sample:
1. Go to
du -ch hot_v* and look at the last
total line to see the size of the index.
On Windows systems, follow these steps
1. Download the du utility from Microsoft TechNet.
du.exe from the downloaded ZIP file and place it into your
Note: You can also place it anywhere in your
3. Open a command prompt.
4. Once there, go to
del %TEMP%\du.txt & for /d %i in (hot_v*) do du -q -u %i\rawdata | findstr /b "Size:" >> %TEMP%\du.txt.
6. Open the
%TEMP%\du.txt file. You will see
Size: n, which is the size of each
rawdata directory found.
7. Add these numbers together to find out how large the compressed persisted raw data is.
8. Next, run
for /d %i in (hot_v*) do dir /s %i, the summary of which is the size of the index.
9. Add this number to the total persistent raw data number.
This is the total size of the index and associated data for the sample you have indexed. You can now use this to extrapolate the size requirements of your Splunk Enterprise index and
rawdata directories over time.
Have questions? Visit Splunk Answers to see what questions and answers other Splunk users had about data sizing.
How Splunk Enterprise calculates disk storage
Distribute indexing and searching
This documentation applies to the following versions of Splunk® Enterprise: 6.2.0, 6.2.1, 6.2.2, 6.2.3, 6.2.4, 6.2.5, 6.2.6, 6.2.7, 6.2.8, 6.2.9, 6.2.10, 6.2.11, 6.2.12, 6.2.13, 6.2.14, 6.2.15, 6.3.0, 6.3.1, 6.3.2, 6.3.3, 6.3.4, 6.3.5, 6.3.6, 6.3.7, 6.3.8, 6.3.9, 6.3.10, 6.3.11, 6.3.12, 6.3.13, 6.3.14, 6.4.0, 6.4.1, 6.4.2, 6.4.3, 6.4.4, 6.4.5, 6.4.6, 6.4.7, 6.4.8, 6.4.9, 6.4.10, 6.4.11, 6.5.0, 6.5.1, 6.5.2, 6.5.3, 6.5.4, 6.5.5, 6.5.6, 6.5.7, 6.5.8, 6.5.9, 6.5.10, 6.6.0, 6.6.1, 6.6.2, 6.6.3, 6.6.4, 6.6.5, 6.6.6, 6.6.7, 6.6.8, 6.6.9, 6.6.10, 6.6.11, 6.6.12, 7.0.0, 7.0.1, 7.0.2, 7.0.3, 7.0.4, 7.0.5, 7.0.6, 7.0.7, 7.0.8, 7.0.9, 7.0.10, 7.0.11, 7.0.13, 7.1.0, 7.1.1, 7.1.2, 7.1.3, 7.1.4, 7.1.5, 7.1.6, 7.1.7, 7.1.8, 7.1.9, 7.1.10