Splunk Search

SPLUNK BOOT

dani9
Explorer

The value of env var SPLUNK_OS_USER, "splunk", does not match any user on this system;
Error: Success

This command can only be run by bootstart user.

WHAT I NEED TO RESOLVE IT?

Tags (1)
0 Karma

ivanreis
Builder

When splunk is installed, a user should be created to run splunkd service. By default installation the user is "splunk", so in order to fix the issue, please create a user "splunk" in your environment.
On linux run:
useradd splunk
groupadd splunk

chown -R splunk:splunk $SPLUNK_HOME

Check this document for further information -> https://docs.splunk.com/Documentation/Splunk/8.0.0/Installation/RunSplunkasadifferentornon-rootuser

0 Karma
Get Updates on the Splunk Community!

Extending Observability Content to Splunk Cloud

Watch Now!   In this Extending Observability Content to Splunk Cloud Tech Talk, you'll see how to leverage ...

More Control Over Your Monitoring Costs with Archived Metrics!

What if there was a way you could keep all the metrics data you need while saving on storage costs?This is now ...

New in Observability Cloud - Explicit Bucket Histograms

Splunk introduces native support for histograms as a metric data type within Observability Cloud with Explicit ...