splunk / splunk-ansible

Ansible playbooks for configuring and managing Splunk Enterprise and Universal Forwarder deployments

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

[Splunk DS] Add custom Splunk deployment server svc port

siddharth-khatsuriya opened this issue · comments

We are deploying are splunk cluster that uses DS, there is a scenario where the Splunk service is running on 9089 while DS is running on 8089. When we try to configure the SPLUNK_DEPLOYMENT_SERVER in Splunk manifest ( k8s ) it expects the DS to be working at 9089 because SPLUNK_SVC_PORT is set to 9089. The command responsible for this seems to be
command: "{{splunk.exec}} set deploy-poll {{ splunk.deployment_server }}:{{ splunk.svc_port }} -auth admin:{{ splunk.password }}"
Is there a way it could be changed to this
command: "{{splunk.exec}} set deploy-poll {{ splunk.deployment_server }}:{{ splunk.deployment_server_svc_port }} -auth admin:{{ splunk.password }}"
or is there an alternate way to achieve the same?