Security

changing the size of an index

a212830
Champion

Hi,

I need to change the size of an index, as it's eating up to much space. Is it as simple as changing it's max size in the gui? Other than losing data, are there any other repurcussions? Do I need to reboot splunk?

Tags (1)
0 Karma

highsplunker
Contributor

hi,

i think i can give an answer for one indexer, i.e. non-clustered (as i don't see the answer here).

a. for TCP inputs: just resize (up\down) the max volume (and you will not lose date and the size will be changed)

b. for dbinputs:

* resize up = just change max size to lager value

* resize down = CAUTION (since you can lose all data in case you do it the wrong way)

step 1:  stop dbinput

step 2:  change max index size to a lesser value

step 3:  refresh the indexer via UI (.../debug/refresh)

step 4 (optional): check that you didn't lose your data

step 5: enable back you dbinput, and check your data again

0 Karma

sbrant_splunk
Splunk Employee
Splunk Employee

Be careful of changing the settings via the GUI if you are utilizing deployment server in your environment.

DaveSavage
Builder

Others have asked this question before. See Splunkbase: http://splunk-base.splunk.com/answers/10135/reduce-an-index-size

0 Karma
Get Updates on the Splunk Community!

Index This | Why did the turkey cross the road?

November 2025 Edition  Hayyy Splunk Education Enthusiasts and the Eternally Curious!   We’re back with this ...

Enter the Agentic Era with Splunk AI Assistant for SPL 1.4

  🚀 Your data just got a serious AI upgrade — are you ready? Say hello to the Agentic Era with the ...

Feel the Splunk Love: Real Stories from Real Customers

Hello Splunk Community,    What’s the best part of hearing how our customers use Splunk? Easy: the positive ...