Splunk Enterprise

How to execute otelcol as regular user?

sccheah82
Explorer

How can we execute opentelemetry command as a regular user, please?

 

The given command requires root access.

 

https://opentelemetry.io/docs/collector/getting-started/

 

sudo yum updatesudo yum -y install wget systemctlwget https://github.com/open-telemetry/opentelemetry-collector-releases/releases/download/v0.75.0/otelcol_0.75.0_linux_amd64.rpmsudo rpm -ivh otelcol_0.75.0_linux_amd64.rpm
sudo systemctl start otelcol
Labels (1)
0 Karma

PickleRick
SplunkTrust
SplunkTrust

Please don't just copy-paste things without trying to understand what the howtos tell you to do.

And while you probably could unpack the package (not install!) and maybe run a limited subset of functionality without root privileges, you won't be able to do that without understanding why you need root for package install.

Get Updates on the Splunk Community!

[Puzzles] Solve, Learn, Repeat: Dynamic formatting from XML events

This challenge was first posted on Slack #puzzles channelFor a previous puzzle, I needed a set of fixed-length ...

Enter the Agentic Era with Splunk AI Assistant for SPL 1.4

  🚀 Your data just got a serious AI upgrade — are you ready? Say hello to the Agentic Era with the ...

Stronger Security with Federated Search for S3, GCP SQL & Australian Threat ...

Splunk Lantern is a Splunk customer success center that provides advice from Splunk experts on valuable data ...