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!

What’s New in Splunk App for PCI Compliance 5.3.1?

The Splunk App for PCI Compliance allows customers to extend the power of their existing Splunk solution with ...

Extending Observability Content to Splunk Cloud

Register to join us !   In this Extending Observability Content to Splunk Cloud Tech Talk, you'll see how to ...

What's new in Splunk Cloud Platform 9.1.2312?

Hi Splunky people! We are excited to share the newest updates in Splunk Cloud Platform 9.1.2312! Analysts can ...