<?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 Data Explorer :: Filtering Metrics By Partial Service Name and Partial Request Name in Dashboarding</title>
    <link>https://community.dynatrace.com/t5/Dashboarding/Data-Explorer-Filtering-Metrics-By-Partial-Service-Name-and/m-p/251529#M4114</link>
    <description>&lt;P&gt;Hello!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm working with Dynatrace's Data Explorer in Advanced Mode and am trying to filter a specific metric, specifically `builtin:service.requestCount.total`, based on partial matches for both service name and request name. I'm looking for a way to achieve this using either glob patterns, regex, or any other method that allows for partial matching.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Could anyone provide guidance or examples on how to construct such a query?&lt;/P&gt;&lt;P&gt;Any help or pointers towards relevant documentation would be greatly appreciated!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Something like this:&lt;/P&gt;&lt;LI-CODE lang="java"&gt;builtin:service.requestCount.total
  :filter(
    and(
      in("dt.entity.service",entitySelector("type("SERVICE_METHOD"),entityName.in(~"/url1~",~"/url2")"))
    ))&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you!&lt;/P&gt;</description>
    <pubDate>Wed, 24 Jul 2024 16:42:48 GMT</pubDate>
    <dc:creator>rmozone</dc:creator>
    <dc:date>2024-07-24T16:42:48Z</dc:date>
    <item>
      <title>Data Explorer :: Filtering Metrics By Partial Service Name and Partial Request Name</title>
      <link>https://community.dynatrace.com/t5/Dashboarding/Data-Explorer-Filtering-Metrics-By-Partial-Service-Name-and/m-p/251529#M4114</link>
      <description>&lt;P&gt;Hello!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm working with Dynatrace's Data Explorer in Advanced Mode and am trying to filter a specific metric, specifically `builtin:service.requestCount.total`, based on partial matches for both service name and request name. I'm looking for a way to achieve this using either glob patterns, regex, or any other method that allows for partial matching.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Could anyone provide guidance or examples on how to construct such a query?&lt;/P&gt;&lt;P&gt;Any help or pointers towards relevant documentation would be greatly appreciated!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Something like this:&lt;/P&gt;&lt;LI-CODE lang="java"&gt;builtin:service.requestCount.total
  :filter(
    and(
      in("dt.entity.service",entitySelector("type("SERVICE_METHOD"),entityName.in(~"/url1~",~"/url2")"))
    ))&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you!&lt;/P&gt;</description>
      <pubDate>Wed, 24 Jul 2024 16:42:48 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Dashboarding/Data-Explorer-Filtering-Metrics-By-Partial-Service-Name-and/m-p/251529#M4114</guid>
      <dc:creator>rmozone</dc:creator>
      <dc:date>2024-07-24T16:42:48Z</dc:date>
    </item>
    <item>
      <title>Re: Data Explorer :: Filtering Metrics By Partial Service Name and Partial Request Name</title>
      <link>https://community.dynatrace.com/t5/Dashboarding/Data-Explorer-Filtering-Metrics-By-Partial-Service-Name-and/m-p/251566#M4115</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;You can use &lt;EM&gt;contains&lt;/EM&gt;:&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;builtin:service.requestCount.total
:filter(and(or(in("dt.entity.service",entitySelector("type(service),entityName.contains(~"XXXXX~")")),in("dt.entity.service",entitySelector("type(service),entityName.contains(~"YYYYY~")")))))
:splitBy("dt.entity.service")
:sort(value(auto,descending))&lt;/LI-CODE&gt;&lt;P&gt;Best regards&lt;/P&gt;</description>
      <pubDate>Thu, 25 Jul 2024 06:55:00 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Dashboarding/Data-Explorer-Filtering-Metrics-By-Partial-Service-Name-and/m-p/251566#M4115</guid>
      <dc:creator>AntonPineiro</dc:creator>
      <dc:date>2024-07-25T06:55:00Z</dc:date>
    </item>
  </channel>
</rss>

