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
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
maxDataSize = auto
maxHotBuckets =
maxWarmDBCount =
maxTotalDataSizeMB =
frozenTimePeriodInSecs =
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.
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!
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
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