Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions docs/advanced/default.yml.spec.md
Original file line number Diff line number Diff line change
Expand Up @@ -606,6 +606,9 @@ splunk:
access_key: <access_key>
secret_key: <secret_key>
endpoint: http://s3-us-west-1.amazonaws.com
azure:
endpoint: https://azure_blob_storage_endpoint
container_name: your_container_name
maxGlobalDataSizeMB: 500
maxGlobalRawDataSizeMB: 200
hotlist_recency_secs: 30
Expand Down
12 changes: 12 additions & 0 deletions roles/splunk_cluster_master/tasks/configure_indexes.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,18 @@
when: index.s3 is defined
no_log: true

- name: Write Azure properties for the remote specified
ini_file:
dest: "{{ splunk.home }}/etc/master-apps/_cluster/local/indexes.conf"
section: "volume:{{ index.remoteName }}"
option: "{{ item.key }}"
value: "{{ item.value }}"
with_items:
- { key: "remote.azure.endpoint", value: "{{ index.azure.endpoint }}" }
- { key: "remote.azure.container_name", value: "{{ index.azure.container_name }}" }
when: index.azure is defined
no_log: true

- name: Write paths for the index
ini_file:
dest: "{{ splunk.home }}/etc/master-apps/_cluster/local/indexes.conf"
Expand Down