Install the Splunk Add-on for OpenTelemetry Collector to a universal forwarder instance
- Download and unzip the tgz file to the machine running universal forwarder.
- In your unzipped folder, locate and unzip the .tar file to SPLUNK_HOME > etc > apps. Create a new "local" folder in Splunk_TA_otel/.
- In Splunk_TA_otel/, open the configuration folder and copy the access_tokens file into your new local folder, for example, "Splunk_TA_otel/local".
- In the default folder find the inputs.conf file you can inspect the defaults for the settings and update the values if necessary. Note that the values in inputs.conf and Splunk Web must be the same, so if you change a value in inputs.conf, you must also make the same update in Splunk Web.
- splunk_config = the default value is $SPLUNK_OTEL_TA_HOME/configs/ta-agent-config.yaml.
- disabled = the default value is false
- start_by_shell = the default value is false
- Access_token_secret_name = the default value is access_token
- splunk_realm = default value is us0. A realm is a self-contained deployment that hosts organizations. You can find your realm name on your profile page in the user interface.
- splunk_trace_ingest_url = the default value is https://ingest.us0.signalfx.com/v2/trace.
- In Splunk Observability Cloud, retrieve your access token value. If you do not have a token, contact your Splunk Observability Cloud admin to create a token. See Create and manage authentication tokens using Splunk Observability Cloud for more about tokens.
- In Splunk_TA_otel/local, create or open the access_token file, and replace the existing content of this file with the token value you copied from Splunk Observability Cloud. Save the updated file.
- In Splunk Observability Cloud, select your name, then select the Organization tab to verify that the realm value in the realm and sapm-endpoint files in your local folder reflect the value shown in Splunk Observability Cloud. Save any changes you make in the local files.
- Click Save.
- Restart Splunkd
- Your add-on solution is now deployed. See Quick start tutorial for Splunk Infrastructure Monitoring for more information.
- In Splunk Infrastructure Monitoring, navigate to the host where you deployed the Splunk Add-on for OpenTelemetry Collector and select it to explore its metrics and status. For more information, see Use navigators in Splunk Infrastructure Monitoring.
This documentation applies to the following versions of Splunk® Add-on for OpenTelemetry Collector: 1.0, 1.0.1, 1.1.0, 1.2.0, 1.2.2, 1.3.0, 1.3.1, 1.3.2
Feedback submitted, thanks!