I have 1 Master, 1 Search Head and 3 Index peers in my cluster.
What is the Correct process for creating new indexes?
I understand I can create the indexes.conf file on the master in master-apps/_cluster and push out using configuration bundle. This came back successful. But if I go to "Settings > Indexes" then I cannot see my new index that I specified in the indexes.conf file.
Have I missed something in the UI?
I cannot see the Db directory's that are created for the buckets which I specified in the indexes.conf file.
You have the right procedure for adding an index to your indexers. To make the index visible to your search head, you must also copy indexes.conf from the Master Node to the SH. Restart or refresh (https://yourhost:8000/en-US/debug/refresh) the SH to apply the change.
On which instance are you checking the settings? You should check on the peer and not the master.
You can also check the "index clusterting" page on the master if you enabled the replication for that index.
repFactor = auto
I'm facing the same issue, I have created new index under /opt/splunk/etc/master-apps/_cluster/local. on master node
Indexes.conf
[test]
disabled = false
repFactor = auto
homePath = $SPLUNK_DB/test/db
coldPath = $SPLUNK_DB/test/colddb
thawedPath = $SPLUNK_DB/test/thaweddb
tstatsHomePath = volume:_splunk_summaries/test/datamodel_summary
maxMemMB = 20
maxConcurrentOptimizes = 6
maxHotIdleSecs = 86400
maxHotBuckets = 10
maxDataSize = auto_high_volume
and I was able to see the index on all 3-peers from backend, but couldn't the index from any peer UI and also was unable to index any data to that index (test)
You have the right procedure for adding an index to your indexers. To make the index visible to your search head, you must also copy indexes.conf from the Master Node to the SH. Restart or refresh (https://yourhost:8000/en-US/debug/refresh) the SH to apply the change.
I downvoted this post because wrong!
Hi , i am also in the same situation , i create the indexes in master-apps and push it out successfully , my concern is we are using search head cluster with a search head deployer to push the apps , do i need to copy my indexes.conf to each of the search heads too if so only search head or in search head deployer too. in which location of search head i need to copy and paster the indexes.conf
No it is not required to push the indexes config to search heads
@Payne1882, keep in mind that you can see the indexes on the file systems of the indexers and via the UI of the indexers. And usually you don't need the indexes to be visible in the UI of the SHs, unless, for example, you upload data via the UI to a specific index...
Thank you for your help guys, this has cleared it up for me.