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

When specifying SPLUNK_TAIL_FILE is not reflected in the message at the end of entrypoint.sh

mhoogcarspel-splunk opened this issue · comments

Related to splunk/docker-splunk#163

echo Ansible playbook complete, will begin streaming var/log/splunk/splunkd_stderr.log
should probably be something like this to reflect that we're tailing a different file:

	if [ -z "$SPLUNK_TAIL_FILE" ]; then
		echo Ansible playbook complete, will begin streaming var/log/splunk/splunkd_stderr.log
	else
		echo Ansible playbook complete, will begin streaming ${SPLUNK_TAIL_FILE} 
	fi

(not tested, just freehand code)

Good call, I can certainly add that