<?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 by trace request attributes in Log Analytics</title>
    <link>https://community.dynatrace.com/t5/Log-Analytics/Filter-logs-by-request-attributes/m-p/217688#M279</link>
    <description>&lt;P&gt;I see the option to do a join using &lt;A href="https://www.dynatrace.com/support/help/platform/grail/dynatrace-query-language/commands#lookup" target="_self"&gt;lookup&lt;/A&gt;. What all data objects are available to use with the &lt;A href="https://www.dynatrace.com/support/help/platform/grail/dynatrace-query-language/commands#fetch" target="_self"&gt;fetch&lt;/A&gt; command? Can we fetch distributed traces such that I can do a join between logs and traces?&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Wed, 12 Jul 2023 09:44:47 GMT</pubDate>
    <dc:creator>amithgeorge</dc:creator>
    <dc:date>2023-07-12T09:44:47Z</dc:date>
    <item>
      <title>Filter logs by request attributes</title>
      <link>https://community.dynatrace.com/t5/Log-Analytics/Filter-logs-by-request-attributes/m-p/217678#M275</link>
      <description>&lt;P&gt;We are on SaaS Dynatrace using Logs v2. We add request attributes to our distributed traces.&lt;/P&gt;
&lt;P&gt;In Logs Viewer, is there a way to search/filter logs by request attributes? I am aware we can add MDC context to the log lines, however we are trying to avoid that. Considering every log line has a trace_id and the trace has a request attributes, can we use this to filter logs by request attributes?&lt;/P&gt;</description>
      <pubDate>Wed, 17 Dec 2025 13:30:21 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Log-Analytics/Filter-logs-by-request-attributes/m-p/217678#M275</guid>
      <dc:creator>amithgeorge</dc:creator>
      <dc:date>2025-12-17T13:30:21Z</dc:date>
    </item>
    <item>
      <title>Re: Filter logs by trace request attributes</title>
      <link>https://community.dynatrace.com/t5/Log-Analytics/Filter-logs-by-request-attributes/m-p/217684#M276</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Directly filtering by RA is probably not possible. The best solution would be to switch to Grail.&lt;BR /&gt;You will then gain full analytical capabilities.&lt;/P&gt;&lt;P&gt;&lt;A href="https://www.dynatrace.com/support/help/platform/grail" target="_blank"&gt;https://www.dynatrace.com/support/help/platform/grail&lt;/A&gt;&lt;BR /&gt;&lt;A href="https://www.dynatrace.com/support/help/observe-and-explore/logs/log-management-and-analytics" target="_blank"&gt;https://www.dynatrace.com/support/help/observe-and-explore/logs/log-management-and-analytics&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Radek&lt;/P&gt;</description>
      <pubDate>Wed, 12 Jul 2023 09:29:20 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Log-Analytics/Filter-logs-by-request-attributes/m-p/217684#M276</guid>
      <dc:creator>radek_jasinski</dc:creator>
      <dc:date>2023-07-12T09:29:20Z</dc:date>
    </item>
    <item>
      <title>Re: Filter logs by trace request attributes</title>
      <link>https://community.dynatrace.com/t5/Log-Analytics/Filter-logs-by-request-attributes/m-p/217685#M277</link>
      <description>&lt;P&gt;I had read the docs for Grail earlier, however I didn't find anything that suggests I can filter logs using request attributes. Is there something specific you can point me to?&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 12 Jul 2023 09:38:43 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Log-Analytics/Filter-logs-by-request-attributes/m-p/217685#M277</guid>
      <dc:creator>amithgeorge</dc:creator>
      <dc:date>2023-07-12T09:38:43Z</dc:date>
    </item>
    <item>
      <title>Re: Filter logs by trace request attributes</title>
      <link>https://community.dynatrace.com/t5/Log-Analytics/Filter-logs-by-request-attributes/m-p/217686#M278</link>
      <description>&lt;P&gt;You can't filter logs by request attributes - at least I haven't encountered such an option.&lt;/P&gt;</description>
      <pubDate>Wed, 12 Jul 2023 09:40:18 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Log-Analytics/Filter-logs-by-request-attributes/m-p/217686#M278</guid>
      <dc:creator>radek_jasinski</dc:creator>
      <dc:date>2023-07-12T09:40:18Z</dc:date>
    </item>
    <item>
      <title>Re: Filter logs by trace request attributes</title>
      <link>https://community.dynatrace.com/t5/Log-Analytics/Filter-logs-by-request-attributes/m-p/217688#M279</link>
      <description>&lt;P&gt;I see the option to do a join using &lt;A href="https://www.dynatrace.com/support/help/platform/grail/dynatrace-query-language/commands#lookup" target="_self"&gt;lookup&lt;/A&gt;. What all data objects are available to use with the &lt;A href="https://www.dynatrace.com/support/help/platform/grail/dynatrace-query-language/commands#fetch" target="_self"&gt;fetch&lt;/A&gt; command? Can we fetch distributed traces such that I can do a join between logs and traces?&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 12 Jul 2023 09:44:47 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Log-Analytics/Filter-logs-by-request-attributes/m-p/217688#M279</guid>
      <dc:creator>amithgeorge</dc:creator>
      <dc:date>2023-07-12T09:44:47Z</dc:date>
    </item>
    <item>
      <title>Re: Filter logs by trace request attributes</title>
      <link>https://community.dynatrace.com/t5/Log-Analytics/Filter-logs-by-request-attributes/m-p/291127#M1503</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://community.dynatrace.com/t5/user/viewprofilepage/user-id/61826"&gt;@amithgeorge&lt;/a&gt;,&lt;BR /&gt;&lt;BR /&gt;I just wanted to update this thread with the newest answer. Here is a documentation article:&lt;/P&gt;
&lt;P&gt;&lt;A href="https://docs.dynatrace.com/docs/shortlink/lma-log-enrichment" target="_self"&gt;Connect log data to traces&lt;/A&gt;&amp;nbsp;&lt;BR /&gt;About how users can enrich log data in the newest Dynatrace, and add following&amp;nbsp;information to each detected log record:&lt;/P&gt;
&lt;DIV class="sc-791148fe-0 eXgYXM"&gt;
&lt;UL class="_rup8ap0-1-9-1 _16276mt0-1-9-1 list"&gt;
&lt;LI class="_16276mt1-1-9-1"&gt;&lt;CODE class="_1v51izp0-1-9-1"&gt;dt.trace_id&lt;/CODE&gt;&lt;/LI&gt;
&lt;LI class="_16276mt1-1-9-1"&gt;&lt;CODE class="_1v51izp0-1-9-1"&gt;dt.span_id&lt;/CODE&gt;&lt;/LI&gt;
&lt;LI class="_16276mt1-1-9-1"&gt;&lt;CODE class="_1v51izp0-1-9-1"&gt;dt.entity.process_group_instance&lt;/CODE&gt;&lt;/LI&gt;
&lt;/UL&gt;
&lt;/DIV&gt;</description>
      <pubDate>Tue, 09 Dec 2025 12:32:41 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Log-Analytics/Filter-logs-by-request-attributes/m-p/291127#M1503</guid>
      <dc:creator>MaciejNeumann</dc:creator>
      <dc:date>2025-12-09T12:32:41Z</dc:date>
    </item>
  </channel>
</rss>

