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!

Introducing the Splunk Community Dashboard Challenge!

Welcome to Splunk Community Dashboard Challenge! This is your chance to showcase your skills in creating ...

Get the T-shirt to Prove You Survived Splunk University Bootcamp

As if Splunk University, in Las Vegas, in-person, with three days of bootcamps and labs weren’t enough, now ...

Wondering How to Build Resiliency in the Cloud?

IT leaders are choosing Splunk Cloud as an ideal cloud transformation platform to drive business resilience,  ...