<?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 How to filter OpenTelemetry array attributes in OpenPipeline Dynamic Routing? in DQL</title>
    <link>https://community.dynatrace.com/t5/DQL/How-to-filter-OpenTelemetry-array-attributes-in-OpenPipeline/m-p/304374#M3477</link>
    <description>&lt;P&gt;Hi everyone,&lt;BR /&gt;I'm looking for some guidance regarding OpenPipeline Dynamic Routing and filtering OpenTelemetry array attributes.&lt;BR /&gt;I receive log records containing an attribute that is stored as an array, for example:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;["1", "2"]&lt;/LI&gt;&lt;LI&gt;["1"]&lt;/LI&gt;&lt;LI&gt;["2"]&lt;/LI&gt;&lt;LI&gt;and potentially other values as well.&amp;nbsp; ( equal or not equal )&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;BR /&gt;My goal is to create routing rules based on the content of this array. However, I noticed that in the Dynamic Routing matcher, the array() function is not available and any expression using it returns the following error:&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Invalid matching condition. The function `array()` isn't enabled.&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;Because of this limitation, I haven't found a way to validate whether an array contains a specific value or to compare it against a list of expected values.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Has anyone successfully filtered OpenTelemetry array attributes in OpenPipeline Dynamic Routing?&lt;BR /&gt;For example:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;Route logs when the array contains "1"&lt;/LI&gt;&lt;LI&gt;Route logs when the array contains "2"&lt;/LI&gt;&lt;LI&gt;Route logs when the array contains either "1" and "2"&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;BR /&gt;Are there any supported functions, workarounds, transformations, or best practices to achieve this?&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Thanks in advance for any suggestions!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Mon, 14 Sep 2026 19:32:23 GMT</pubDate>
    <dc:creator>Carl_Me</dc:creator>
    <dc:date>2026-09-14T19:32:23Z</dc:date>
    <item>
      <title>How to filter OpenTelemetry array attributes in OpenPipeline Dynamic Routing?</title>
      <link>https://community.dynatrace.com/t5/DQL/How-to-filter-OpenTelemetry-array-attributes-in-OpenPipeline/m-p/304374#M3477</link>
      <description>&lt;P&gt;Hi everyone,&lt;BR /&gt;I'm looking for some guidance regarding OpenPipeline Dynamic Routing and filtering OpenTelemetry array attributes.&lt;BR /&gt;I receive log records containing an attribute that is stored as an array, for example:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;["1", "2"]&lt;/LI&gt;&lt;LI&gt;["1"]&lt;/LI&gt;&lt;LI&gt;["2"]&lt;/LI&gt;&lt;LI&gt;and potentially other values as well.&amp;nbsp; ( equal or not equal )&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;BR /&gt;My goal is to create routing rules based on the content of this array. However, I noticed that in the Dynamic Routing matcher, the array() function is not available and any expression using it returns the following error:&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Invalid matching condition. The function `array()` isn't enabled.&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;Because of this limitation, I haven't found a way to validate whether an array contains a specific value or to compare it against a list of expected values.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Has anyone successfully filtered OpenTelemetry array attributes in OpenPipeline Dynamic Routing?&lt;BR /&gt;For example:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;Route logs when the array contains "1"&lt;/LI&gt;&lt;LI&gt;Route logs when the array contains "2"&lt;/LI&gt;&lt;LI&gt;Route logs when the array contains either "1" and "2"&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;BR /&gt;Are there any supported functions, workarounds, transformations, or best practices to achieve this?&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Thanks in advance for any suggestions!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 14 Sep 2026 19:32:23 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/DQL/How-to-filter-OpenTelemetry-array-attributes-in-OpenPipeline/m-p/304374#M3477</guid>
      <dc:creator>Carl_Me</dc:creator>
      <dc:date>2026-09-14T19:32:23Z</dc:date>
    </item>
  </channel>
</rss>

