<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Kubernets app only pod logs delivered via ingest API - association with Dynatrace entities in Log Analytics</title>
    <link>https://community.dynatrace.com/t5/Log-Analytics/Kubernets-app-only-pod-logs-delivered-via-ingest-API-association/m-p/270089#M1212</link>
    <description>&lt;P&gt;Hello&lt;/P&gt;
&lt;P&gt;Our client has a Dynatrace managed. We monitor production OpenShift in CloudNative Fullstack. But for the dev OpenShift cluster, we use App Only mode. To get container output logs to Dynatrace, it is suggested to use, for example, fluentbit. If I understand it correctly, with the recommended default Fluentbit config, logs delivered via the log ingest api should be associated with the monitored entities in Dynatrace. However, our client uses Vector. We're able to get the container output logs to Dynatrace using Vector's HTTP output sink, but the logs are not associated with the cluster/namespace/pod.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Vector is sending some of the Kubernetes metadata with the logs. Currently we have:&lt;/P&gt;
&lt;P&gt;k8s.container.name&lt;BR /&gt;k8s.namespace.name&lt;BR /&gt;k8s.container.image.name&lt;BR /&gt;k8s.container.id&lt;BR /&gt;k8s.pod.name&lt;/P&gt;
&lt;P&gt;k8s.node.name&lt;/P&gt;
&lt;P&gt;k8s.cluster.name&lt;/P&gt;
&lt;P&gt;dt.kubernetes.cluster.name&lt;BR /&gt;host.name&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;
&lt;P&gt;But in the Fluentbit example value.yaml config mentioned in the&amp;nbsp;&lt;A title="fluentbit guide" href="https://docs.dynatrace.com/docs/shortlink/lma-fluent-bit-logs-k8s#customize-fluent-bit-configuration" target="_blank" rel="noopener"&gt;Guide&lt;/A&gt;,&amp;nbsp; there are some more fields:&lt;BR /&gt;k8s.pod.uid&lt;BR /&gt;k8s.cluster.uid&lt;/P&gt;
&lt;P&gt;dt.kubernetes.cluster.id&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Does anyone know which information/metadata Dynatrace is exactly using to correlate API ingested logs with monitored entities? If Vector starts sending k8s.pod.uid, k8s.cluster.uid, dt. Kubernetes.cluster.id, will Dynatrace be able to assign the logs to entities, or is any other information needed? For example, does Vector also need to send some pod annotations/labels that the Dynatrace operator adds to Kubernetes objects?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thank you and best regards&lt;/P&gt;
&lt;P&gt;Petr&lt;/P&gt;</description>
    <pubDate>Fri, 23 May 2025 13:47:13 GMT</pubDate>
    <dc:creator>PetrVlacil</dc:creator>
    <dc:date>2025-05-23T13:47:13Z</dc:date>
    <item>
      <title>Kubernets app only pod logs delivered via ingest API - association with Dynatrace entities</title>
      <link>https://community.dynatrace.com/t5/Log-Analytics/Kubernets-app-only-pod-logs-delivered-via-ingest-API-association/m-p/270089#M1212</link>
      <description>&lt;P&gt;Hello&lt;/P&gt;
&lt;P&gt;Our client has a Dynatrace managed. We monitor production OpenShift in CloudNative Fullstack. But for the dev OpenShift cluster, we use App Only mode. To get container output logs to Dynatrace, it is suggested to use, for example, fluentbit. If I understand it correctly, with the recommended default Fluentbit config, logs delivered via the log ingest api should be associated with the monitored entities in Dynatrace. However, our client uses Vector. We're able to get the container output logs to Dynatrace using Vector's HTTP output sink, but the logs are not associated with the cluster/namespace/pod.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Vector is sending some of the Kubernetes metadata with the logs. Currently we have:&lt;/P&gt;
&lt;P&gt;k8s.container.name&lt;BR /&gt;k8s.namespace.name&lt;BR /&gt;k8s.container.image.name&lt;BR /&gt;k8s.container.id&lt;BR /&gt;k8s.pod.name&lt;/P&gt;
&lt;P&gt;k8s.node.name&lt;/P&gt;
&lt;P&gt;k8s.cluster.name&lt;/P&gt;
&lt;P&gt;dt.kubernetes.cluster.name&lt;BR /&gt;host.name&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;
&lt;P&gt;But in the Fluentbit example value.yaml config mentioned in the&amp;nbsp;&lt;A title="fluentbit guide" href="https://docs.dynatrace.com/docs/shortlink/lma-fluent-bit-logs-k8s#customize-fluent-bit-configuration" target="_blank" rel="noopener"&gt;Guide&lt;/A&gt;,&amp;nbsp; there are some more fields:&lt;BR /&gt;k8s.pod.uid&lt;BR /&gt;k8s.cluster.uid&lt;/P&gt;
&lt;P&gt;dt.kubernetes.cluster.id&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Does anyone know which information/metadata Dynatrace is exactly using to correlate API ingested logs with monitored entities? If Vector starts sending k8s.pod.uid, k8s.cluster.uid, dt. Kubernetes.cluster.id, will Dynatrace be able to assign the logs to entities, or is any other information needed? For example, does Vector also need to send some pod annotations/labels that the Dynatrace operator adds to Kubernetes objects?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thank you and best regards&lt;/P&gt;
&lt;P&gt;Petr&lt;/P&gt;</description>
      <pubDate>Fri, 23 May 2025 13:47:13 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Log-Analytics/Kubernets-app-only-pod-logs-delivered-via-ingest-API-association/m-p/270089#M1212</guid>
      <dc:creator>PetrVlacil</dc:creator>
      <dc:date>2025-05-23T13:47:13Z</dc:date>
    </item>
  </channel>
</rss>

