Splunk Enterprise

Adding existing index to cluster master

Atchyuth_P
Path Finder

Hi team,

I have two indexers in a clustered environment and one of my colleague created a index in both the indexers (/opt/splunk/etc/apps/search/indexes.conf) not on the cluster master. This is very old index and have more than 50GB of data

If I add the same config in master (/opt/splunk/etc/master-apps/_cluster/local/indexes.conf) will it hamper anything. Would I lose any data.

 

Labels (1)
Tags (2)
0 Karma

gcusello
SplunkTrust
SplunkTrust

Hi @Atchyuth_P ,

at first you cannot replicate old data in a cluster.

so if for the clustered indexes you use the same names of the old not clustered indexes, you lose your old data,

so the best approach is to use different names and create in you searches two eventtypes that use both the indexes (clustered and not clustered), waiting for the natural end of the old indexes, that will not receive new data and will be empty for the exceeding of the retention time.

Otherwise, you could (but it's a very long job) export all your data from the old indexes (divided by sourcetype and host) and then import them in the new clustered indexes, but, as I said, it's a long job!

Ciao.

Giuseppe

0 Karma
Got questions? Get answers!

Join the Splunk Community Slack to learn, troubleshoot, and make connections with fellow Splunk practitioners in real time!

Meet up IRL or virtually!

Join Splunk User Groups to connect and learn in-person by region or remotely by topic or industry.

Get Updates on the Splunk Community!

Announcing Modern Navigation: A New Era of Splunk User Experience

We are excited to introduce the Modern Navigation feature in the Splunk Platform, available to both cloud and ...

Observability Simplified: Combining User Experience, Application Performance & ...

Tech Talk Observability Simplified: Combining User Experience, Application Performance & Network ...

Event Series May & June: From Network Visibility to Service Intelligence

Unifying the Network: Moving from Alert Noise to Service Intelligence with Splunk ITSI In today’s hybrid ...