Advanced configuration for Linux 🔗
The Collector comes with a default configuration, as explained in Collector for Linux default configuration. Read on to modify advanced settings.
Change the default configuration file 🔗
For extended configuration options, see full_config_linux.yaml . This configuration requires using OpenTelemetry Collector Contrib project or a similar distribution.
After you modify the configuration, restart the Collector service. For example:
sudo systemctl restart splunk-otel-collector
You can view the splunk-otel-collector
service logs and errors in the systemd journal using the following command:
sudo journalctl -u splunk-otel-collector
Note
See Tutorial: Configure the Splunk Distribution of OpenTelemetry Collector on a Linux host to learn how to configure the Collector.