splunk / splunk/docker-splunk

Index creation using default.yml is no longer working in splunk images > 9.0.7.

Open
#647 0 comments 2 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

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

Description

Index creation using default.yml is no longer working in splunk images > 9.0.7.

I'm running Splunk in Docker Desktop 4.27.2 on Windows 11.

The attached docker-compose and default files work perfectly in splunk 9.0.7

docker-compose.txt
default.txt

as can be seen from this log file:
splunkd.9.0.7.log

In 9.0.8 onwards the files in the various monitored folders are no longer picked up, i.e. they paths are listed in Settings -> Data Inputs -> Files & Directories, but the Number of Files is blank and the indices are not created at all.

Attached is a log from starting up the latest tag:
splunkd.latest.log

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.

Research direction

Compare the attached docker-compose.txt and default.txt with splunkd.9.0.7.log and splunkd.latest.log, then reproduce the behavior in Splunk 9.0.7 and a later image. Trace why monitored paths show no files and indices are not created; done means index creation works again with the supplied configuration on affected images.

Written by the indexing model from the issue text.

Assessment

Tech stack
docker, docker-compose
Domain
devops, infrastructure
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.