You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Sep 2, 2025. It is now read-only.
The following APM span tags are required to enable Related Content:
127
+
To enable Related Content for APM use one of these span tags:
128
128
129
129
- ``service.name``
130
-
- ``deployment.environment``
130
+
- ``trace_id``
131
+
132
+
Optionally, you can also use ``deployment.environment`` with ``service.name``.
131
133
132
134
The default configuration of the Splunk Distribution of the OpenTelemetry Collector already provides these span tags. To ensure full functionality of Related Content, do not change any of the metadata key names or span tags provided by the Splunk OTel Collector.
133
135
@@ -154,39 +156,56 @@ For example, consider a scenario in which Related Content needs to return data f
If you're using the default configuration of the Splunk Distribution of the OpenTelemetry Collector for Kubernetes, the required Infrastructure Monitoring metadata is provided. See more at :ref:`otel-install-k8s`.
168
170
169
171
If you're using other distributions of the OpenTelemetry Collector or non-default configurations of the Splunk Distribution to collect infrastructure data, Related Content won't work out of the box.
To enable Related Content for logs use one of these span tags:
177
179
178
-
The following key names are required to enable Related Content for Log Observer:
179
-
180
-
- ``service.name``
181
-
- ``deployment.environment``
182
180
- ``host.name``
183
-
- ``trace_id``
181
+
- ``service.name``
184
182
- ``span_id``
183
+
- ``trace_id``
185
184
186
185
To ensure full functionality of both Log Observer and Related Content, verify that your log events fields are correctly mapped. Correct log field mappings enable built-in log filtering, embed logs in APM and Infrastructure Monitoring functionality, and enable fast searches as well as the Related Content bar.
187
186
188
187
If the key names in the preceding list use different names in your log fields, remap them to the key names listed here. For example, if you don't see values for :strong:`host.name` in the Log Observer UI, check to see whether your logs use a different field name, such as :strong:`host_name`. If your logs do not contain the default field names exactly as they appear in the preceding list, remap your logs using one of the methods in the following section.
The Splunk Distribution of the OpenTelemetry Collector injects the following fields into your Kubernetes logs. Do not modify them if you want to use Related Content.
193
+
194
+
- ``k8s.cluster.name``
195
+
- ``k8s.node.name``
196
+
- ``k8s.pod.name``
197
+
- ``container.id``
198
+
- ``k8s.namespace.name``
199
+
- ``kubernetes.workload.name``
200
+
201
+
Use one of these tag combinations to enable Related Content:
The Splunk Distribution of the OpenTelemetry Collector injects the following fields into your Kubernetes logs. Do not modify them if you want to use Related Content.
225
-
226
-
- ``k8s.cluster.name``
227
-
- ``k8s.node.name``
228
-
- ``k8s.pod.name``
229
-
- ``container.id``
230
-
- ``k8s.namespace.name``
231
-
- ``kubernetes.workload.name``
232
-
233
-
Learn more about the Collector for Kubernetes at :ref:`collector-kubernetes-intro`.
0 commit comments