splunk / splunk-ansible

Ansible playbooks for configuring and managing Splunk Enterprise and Universal Forwarder deployments
355 stars 186 forks source link

Migrate to WiredTiger #679

Closed jynolen closed 2 months ago

jynolen commented 2 years ago

Related to splunk/docker-splunk#540

It might be necessary to add a new task to be able to configure the storageEngine entry in [kvstore] section of server.conf

jenipherc commented 2 years ago

There is the "conf:" key in default.yml that you can utilize in the mean time. https://splunk.github.io/splunk-ansible/advanced/default.yml.spec.html#spec See "Configuration files" section.

An example of configuring what you were asking would look like this.

splunk:
   conf:
      - key: server
        value:
            directory: /opt/splunk/etc/system/local
            content:
                 kvstore:
                     storageEngine: wiredTiger

This format is applicable for recent version of "splunk-ansible" per document mentioned above.