splunk / splunk/docker-splunk

9.2.1/9.1.4 hec token not created when providing env var SPLUNK_HEC_TOKEN

Open
#668 2 comments 1 reaction 1 assignee View on GitHub

@jmeixensperger is already working on this.

Since May 7, 2024.

Dominant language
Python
Stars
549
Forks
277
Avg merge
3d 9h
Merged PRs (30d)
2

Description

Running:
docker run -it -e SPLUNK_START_ARGS=--accept-license -e SPLUNK_PASSWORD=**** -e SPLUNK_HEC_TOKEN="testtoken" -p 8100:8000 -p 8188:8088 -p 8189:8089 --platform=linux/amd64 splunk/splunk:9.2.1 start
Results in spinning up Splunk container, but HEC token is not created
image
Issue confirmed on Splunk 9.1.4 as well.

On previous releases of Splunk HEC token is created properly, i.e. on Splunk 9.1.3:
docker run -it -e SPLUNK_START_ARGS=--accept-license -e SPLUNK_PASSWORD=**** -e SPLUNK_HEC_TOKEN="testtoken" -p 8000:8000 -p 8088:8088 -p 8089:8089 --platform=linux/amd64 splunk/splunk:9.1.3 start
Results in:
image

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.