Deployment Architecture

How to create new indexes in Splunk

umsundar2015
Path Finder

Hi,

I need to create new indexes from the view in a data warehouse. I need to create that in Splunk using its GUI itself.
Can anyone help me to create that?

I am creating the index in Splunk for the first time.
So please help me with step by step process of creating the indexes using Splunk GUI.

Regards,
sundar

0 Karma

Eldenhanjoel
Explorer

open ssh session and go to
/opt/splunk/etc/deployment-apps/all_indexes/local/indexes.conf

edit indexes.conf

[index name]
homePath = $SPLUNK_DB/index name/db
thawedPath = $SPLUNK_DB/index name/thaweddb
coldPath = $SPLUNK_DB/index name/colddb

coldToFrozenDir = /app/archive/index name

maxDataSize = auto
maxHotBuckets =
maxWarmDBCount =
maxTotalDataSizeMB =
frozenTimePeriodInSecs =

0 Karma

martynoconnor
Communicator

In a standalone instance, you can do this via the GUI. In a clustered environment, you cannot. You should do this via a cluster bundle push from the cluster master, and within that bundle you'd edit indexes.conf within an app (I'd suggest org_all_indexes) to include the index definitions.

0 Karma

hallt3
Path Finder

Settings (navbar, top right(ish)) > Data > Indexes > new Index (green button top right)

alt text

0 Karma

evania
Splunk Employee
Splunk Employee

Hi @umsundar2015 ,

Did you have a chance to check out an answer? If it worked, please resolve this post by approving it! If your problem is still not solved, keep us updated so that someone else can help you.

Thanks for posting!

0 Karma

adayton20
Contributor

Hello Sundar,

There are detailed instructions for creating indexes via Splunk Web, under "Use Splunk Web", located here: https://docs.splunk.com/Documentation/Splunk/6.5.3/Indexer/Setupmultipleindexes

0 Karma

dineshraj9
Builder

Through GUI if you want to create - settings -> Indexes -> New Index (Fill details).
But this will create the index in the search head instance and not on indexers if you are logged onto to Search head GUI. You have to login to Indexer GUI and then follow the above steps.

Create index using REST endpoint using CURL - curl -k -u <USER>:<PASS> https://indexer:port/servicesNS/<user>/<app\_to\_save\_settings>/data/indexes -d name=<newindex>

Create index using REST endpoint in clustered environment - https://answers.splunk.com/answers/387133/how-to-create-index-using-rest-api-in-a-clustered.html

Get Updates on the Splunk Community!

Splunk Observability Cloud’s AI Assistant in Action Series: Analyzing and ...

This is the second post in our Splunk Observability Cloud’s AI Assistant in Action series, in which we look at ...

Elevate Your Organization with Splunk’s Next Platform Evolution

 Thursday, July 10, 2025  |  11AM PDT / 2PM EDT Whether you're managing complex deployments or looking to ...

Splunk Answers Content Calendar, June Edition

Get ready for this week’s post dedicated to Splunk Dashboards! We're celebrating the power of community by ...