Getting Data In

Urgent: indexes.conf

ponto
New Member

Could someone tell me where can I find indexes.conf ?
Thanks in advance.

Tags (1)
0 Karma

DUThibault
Contributor

The shell command line find /opt/splunk -name indexes.conf will find all instances of indexes.conf in the Splunk directory tree.

0 Karma

kamlesh_vaghela
SplunkTrust
SplunkTrust

hi @ponto,

Can you please check below link?

https://answers.splunk.com/answers/50881/indexes-conf-location.html

ponto
New Member

I already read that answer but I can't understand where should I put the command ''enableDataIntegrityControl''. Do you know how can I do ?

0 Karma

kamlesh_vaghela
SplunkTrust
SplunkTrust

well, If your index is app specific or app level then store this configuration on app level means create indexes.conf in $SPLUNK_HOME/etc/apps/XXX/local OR if it is generic then create indexes.conf $SPLUNK_HOME/etc/system/local.

enableDataIntegrityControl option may be set under an [] entry.

enableDataIntegrityControl = true|false
* If set to true, hashes are computed on the rawdata slices and stored for
  future data integrity checks
* If set to false, no hashes are computed on the rawdata slices
* It has a global default value of false

eg. indexes.conf

[my_index]
enableDataIntegrityControl = true|false

Please check below link for more detail.

https://docs.splunk.com/Documentation/Splunk/7.0.2/Admin/Indexesconf

Thanks

0 Karma
Career Survey
First 500 qualified respondents will receive a $20 gift card! Tell us about your professional Splunk journey.

Can’t make it to .conf25? Join us online!

Get Updates on the Splunk Community!

Splunkbase Unveils New App Listing Management Public Preview

Splunkbase Unveils New App Listing Management Public PreviewWe're thrilled to announce the public preview of ...

Leveraging Automated Threat Analysis Across the Splunk Ecosystem

Are you leveraging automation to its fullest potential in your threat detection strategy?Our upcoming Security ...

Can’t Make It to Boston? Stream .conf25 and Learn with Haya Husain

Boston may be buzzing this September with Splunk University and .conf25, but you don’t have to pack a bag to ...