<?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 Re: Filter Logs in Dynatrace Managed which comes from Open Telemetry in Dynatrace Managed Q&amp;A</title>
    <link>https://community.dynatrace.com/t5/Dynatrace-Managed-Q-A/Filter-Logs-in-Dynatrace-Managed-which-comes-from-OpenTelemetry/m-p/284958#M4375</link>
    <description>&lt;P&gt;Try with the&amp;nbsp;dt.auth.origin, which should be the Token id you have created for the OTEL integration... assuming the token is used only for OTEL ingestion.&lt;/P&gt;&lt;P&gt;if this still not works, try to add the field as custom attribute in the log settings.&amp;nbsp;&lt;A href="https://docs.dynatrace.com/managed/analyze-explore-automate/log-monitoring/analyze-log-data/log-custom-attributes" target="_blank" rel="noopener"&gt;https://docs.dynatrace.com/managed/analyze-explore-automate/log-monitoring/analyze-log-data/log-custom-attributes&lt;/A&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Thu, 28 Aug 2025 13:08:19 GMT</pubDate>
    <dc:creator>dannemca</dc:creator>
    <dc:date>2025-08-28T13:08:19Z</dc:date>
    <item>
      <title>Filter Logs in Dynatrace Managed which comes from OpenTelemetry</title>
      <link>https://community.dynatrace.com/t5/Dynatrace-Managed-Q-A/Filter-Logs-in-Dynatrace-Managed-which-comes-from-OpenTelemetry/m-p/284937#M4374</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;I need to filter logs in the &lt;STRONG&gt;Classic log viewer&lt;/STRONG&gt; in &lt;STRONG&gt;Dynatrace Managed&lt;/STRONG&gt; (so I don’t have DQL).&lt;BR /&gt;My goal is to see &lt;STRONG&gt;only the logs that come from OpenTelemetry&lt;/STRONG&gt;.&lt;/P&gt;
&lt;P&gt;I tried filtering like this:&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;&lt;EM&gt;&lt;SPAN class=""&gt;telemetry.sdk.name&lt;/SPAN&gt;=&lt;SPAN class=""&gt;"opentelemetry"&lt;/SPAN&gt;&lt;/EM&gt;&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;because I saw that this field exists in the metadata, but it returns empty results.&lt;/P&gt;
&lt;P&gt;I also tried with another field:&lt;/P&gt;
&lt;P&gt;&lt;EM&gt;&lt;STRONG&gt;&lt;SPAN class=""&gt;otel.scope.name&lt;/SPAN&gt; &lt;SPAN class=""&gt;!=&lt;/SPAN&gt; &lt;SPAN class=""&gt;null&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/EM&gt;&lt;/P&gt;
&lt;P&gt;but the result is the same — nothing.&lt;/P&gt;
&lt;P&gt;I saw these field on the left menu, others when I'm in advanced mode. When I'm on simple mode - they disappear.&lt;/P&gt;
&lt;P&gt;This is one of these messages:&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;{
  "event.type": "LOG",
  "content": "⚠️ A warning log from VB.NET via OpenTelemetry.",
  "status": "WARN",
  "timestamp": "1755598171325",
  "loglevel": "WARN",
  "service.name": "unknown_service:dotnet",
  "trace_id": "000000000000000091486389365d72b5",
  "span_id": "c2d90c8a4b402a94",
  "telemetry.sdk.language": "dotnet",
  "otel.scope.name": "SSB.Platform.Internal.Objects_Holder.MyService",
  "telemetry.sdk.version": "1.12.0",
  "dt.auth.origin": "dt0c01.34YVNTMSQYIHYZIXSPVJ2OVK",
  "telemetry.sdk.name": "opentelemetry"
}&lt;/LI-CODE&gt;
&lt;P&gt;Can you suggest how I can achieve this?&lt;/P&gt;
&lt;P&gt;Regards, Deni&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;DIV class=""&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 05 Jan 2026 12:43:39 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Dynatrace-Managed-Q-A/Filter-Logs-in-Dynatrace-Managed-which-comes-from-OpenTelemetry/m-p/284937#M4374</guid>
      <dc:creator>deni</dc:creator>
      <dc:date>2026-01-05T12:43:39Z</dc:date>
    </item>
    <item>
      <title>Re: Filter Logs in Dynatrace Managed which comes from Open Telemetry</title>
      <link>https://community.dynatrace.com/t5/Dynatrace-Managed-Q-A/Filter-Logs-in-Dynatrace-Managed-which-comes-from-OpenTelemetry/m-p/284958#M4375</link>
      <description>&lt;P&gt;Try with the&amp;nbsp;dt.auth.origin, which should be the Token id you have created for the OTEL integration... assuming the token is used only for OTEL ingestion.&lt;/P&gt;&lt;P&gt;if this still not works, try to add the field as custom attribute in the log settings.&amp;nbsp;&lt;A href="https://docs.dynatrace.com/managed/analyze-explore-automate/log-monitoring/analyze-log-data/log-custom-attributes" target="_blank" rel="noopener"&gt;https://docs.dynatrace.com/managed/analyze-explore-automate/log-monitoring/analyze-log-data/log-custom-attributes&lt;/A&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 28 Aug 2025 13:08:19 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Dynatrace-Managed-Q-A/Filter-Logs-in-Dynatrace-Managed-which-comes-from-OpenTelemetry/m-p/284958#M4375</guid>
      <dc:creator>dannemca</dc:creator>
      <dc:date>2025-08-28T13:08:19Z</dc:date>
    </item>
    <item>
      <title>Re: Filter Logs in Dynatrace Managed which comes from Open Telemetry</title>
      <link>https://community.dynatrace.com/t5/Dynatrace-Managed-Q-A/Filter-Logs-in-Dynatrace-Managed-which-comes-from-OpenTelemetry/m-p/284960#M4376</link>
      <description>&lt;P&gt;Thanks for the suggestion. Unfortunately in Dynatrace Managed "dt.auth.origin" is also part of metadata which can't be filtered (How I miss DQL&amp;nbsp; ...). I read the documentation:&amp;nbsp;&lt;A href="https://docs.dynatrace.com/docs/analyze-explore-automate/log-monitoring/analyze-log-data/log-custom-attributes?utm_source=chatgpt.com" target="_blank" rel="noopener"&gt;https://docs.dynatrace.com/docs/analyze-explore-automate/log-monitoring/analyze-log-data/log-custom-attributes?utm_source=chatgpt.com&lt;/A&gt;&lt;/P&gt;&lt;P&gt;"These custom attributes must match log attributes in ingested log data or they will be ignored."&lt;/P&gt;&lt;P&gt;So if I understand this correct these attributes, which I can use in filter are the same which are visible on the left menu "Available attributes" in the Logs screen, but only in Simple mode (in Advanced mode not filterable attributes are also shown). I looked at them one by one, but couldn't find anything useful.&lt;/P&gt;&lt;P&gt;May be my solution is only for future logs (can't filter current logs) - process rule to set log.source to opentelemetry or add in the collector additional attribute (log.source - I can't find something more meaningful in available attributes for my case).&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 28 Aug 2025 13:10:36 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Dynatrace-Managed-Q-A/Filter-Logs-in-Dynatrace-Managed-which-comes-from-OpenTelemetry/m-p/284960#M4376</guid>
      <dc:creator>deni</dc:creator>
      <dc:date>2025-08-28T13:10:36Z</dc:date>
    </item>
    <item>
      <title>Re: Filter Logs in Dynatrace Managed which comes from Open Telemetry</title>
      <link>https://community.dynatrace.com/t5/Dynatrace-Managed-Q-A/Filter-Logs-in-Dynatrace-Managed-which-comes-from-OpenTelemetry/m-p/284963#M4377</link>
      <description>&lt;P&gt;I would suggest you to set the field 'otel.scope.name' as custom arribute and give it a try.&lt;/P&gt;</description>
      <pubDate>Thu, 28 Aug 2025 13:31:44 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Dynatrace-Managed-Q-A/Filter-Logs-in-Dynatrace-Managed-which-comes-from-OpenTelemetry/m-p/284963#M4377</guid>
      <dc:creator>dannemca</dc:creator>
      <dc:date>2025-08-28T13:31:44Z</dc:date>
    </item>
    <item>
      <title>Re: Filter Logs in Dynatrace Managed which comes from Open Telemetry</title>
      <link>https://community.dynatrace.com/t5/Dynatrace-Managed-Q-A/Filter-Logs-in-Dynatrace-Managed-which-comes-from-OpenTelemetry/m-p/284965#M4378</link>
      <description>&lt;P&gt;Where to set it is there any other place? It is already inside the record together with telemetry.sdk.name, but if I try to filter the result is empty. The json I pasted is generated as follow: Open the record and press "Create process rule" - this json comes as a value in the field on the bottom of rule where I can test it.&lt;/P&gt;</description>
      <pubDate>Thu, 28 Aug 2025 13:40:42 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Dynatrace-Managed-Q-A/Filter-Logs-in-Dynatrace-Managed-which-comes-from-OpenTelemetry/m-p/284965#M4378</guid>
      <dc:creator>deni</dc:creator>
      <dc:date>2025-08-28T13:40:42Z</dc:date>
    </item>
    <item>
      <title>Re: Filter Logs in Dynatrace Managed which comes from Open Telemetry</title>
      <link>https://community.dynatrace.com/t5/Dynatrace-Managed-Q-A/Filter-Logs-in-Dynatrace-Managed-which-comes-from-OpenTelemetry/m-p/284966#M4379</link>
      <description>&lt;P&gt;Settings &amp;gt; Log Monitoring &amp;gt; Custom attributes&lt;/P&gt;&lt;P&gt;add the attribute there and check the Show values in side bar.&lt;/P&gt;</description>
      <pubDate>Thu, 28 Aug 2025 14:00:05 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Dynatrace-Managed-Q-A/Filter-Logs-in-Dynatrace-Managed-which-comes-from-OpenTelemetry/m-p/284966#M4379</guid>
      <dc:creator>dannemca</dc:creator>
      <dc:date>2025-08-28T14:00:05Z</dc:date>
    </item>
    <item>
      <title>Re: Filter Logs in Dynatrace Managed which comes from Open Telemetry</title>
      <link>https://community.dynatrace.com/t5/Dynatrace-Managed-Q-A/Filter-Logs-in-Dynatrace-Managed-which-comes-from-OpenTelemetry/m-p/284970#M4380</link>
      <description>&lt;P&gt;Thanks, this looks like the &lt;STRONG&gt;simplest solution and should work&lt;/STRONG&gt;. I’ll test it once we have new logs.&lt;/P&gt;&lt;P&gt;According to the description, it only applies to newly ingested logs:&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Log Monitoring Classic&lt;/STRONG&gt; → The change applies only to newly ingested log events. Existing events (before toggling the option) won’t be searchable.&lt;/P&gt;</description>
      <pubDate>Thu, 28 Aug 2025 15:08:44 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Dynatrace-Managed-Q-A/Filter-Logs-in-Dynatrace-Managed-which-comes-from-OpenTelemetry/m-p/284970#M4380</guid>
      <dc:creator>deni</dc:creator>
      <dc:date>2025-08-28T15:08:44Z</dc:date>
    </item>
  </channel>
</rss>

