splunk / splunk/docker-splunk

Failed to install the app 'Splunk add on for linux'

Open
#635 0 comments 0 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

i was trying to install the official app 'Splunk add on for linux' on a recent docker image and noticed that the app is unusable,
it fails with the "hostname" command from the script $SPLUNK_HOME/etc/apps/Splunk_TA_nix/cpu_metric.sh.

It seems that the "hostname" command is outdated on the image release.

Any ideas how to fix?

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

Start by reproducing installation of the official Splunk add on for linux on the recent Docker image, then inspect $SPLUNK_HOME/etc/apps/Splunk_TA_nix/cpu_metric.sh and its hostname invocation. Done means the app installs and the script runs successfully on the affected image without the reported command failure.

Written by the indexing model from the issue text.

Assessment

Tech stack
docker, linux, shell
Domain
devops, infrastructure
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.