<?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 transformation API in Dynatrace API</title>
    <link>https://community.dynatrace.com/t5/Dynatrace-API/Filter-transformation-API/m-p/122999#M1651</link>
    <description>&lt;P&gt;Your request is GET, so the only way you can pass arguments is query parameters or path parameters:&lt;/P&gt;&lt;P&gt;&lt;A rel="noopener noreferrer" href="https://www.dynatrace.com/support/help/extend-dynatrace/dynatrace-api/environment-api/metric/get-data-points/" target="_blank"&gt;https://www.dynatrace.com/support/help/extend-dynatrace/dynatrace-api/environment-api/metric/get-data-points/&lt;/A&gt;&lt;/P&gt;&lt;P&gt;/api/v1/timeseries/com.dynatrace.builtin%3Aservicemethod.responsetime:filter(prefix(&amp;lt;dimension&amp;gt;,&amp;lt;expected prefix&amp;gt;))?includeData=true&amp;amp;aggregationType=MEDIAN&amp;amp;relativeTime=day&lt;/P&gt;&lt;P&gt;Dimension should be name of dimension, I suppose request (I'm not sure right now), prefix is request name/id. I've didn't test it but this is how I understand it. &lt;/P&gt;&lt;P&gt;Sebastian &lt;/P&gt;&lt;BR /&gt;</description>
    <pubDate>Tue, 10 Sep 2019 07:48:26 GMT</pubDate>
    <dc:creator>skrystosik</dc:creator>
    <dc:date>2019-09-10T07:48:26Z</dc:date>
    <item>
      <title>Filter transformation API</title>
      <link>https://community.dynatrace.com/t5/Dynatrace-API/Filter-transformation-API/m-p/122998#M1650</link>
      <description>&lt;P&gt;Hello everyone.&lt;/P&gt;
&lt;P&gt;I am trying to capture through API the response time value of a key request.&lt;/P&gt;
&lt;P&gt;With this URL request I see that I have all my KR´s&lt;/P&gt;
&lt;P&gt;/api/v1/timeseries/com.dynatrace.builtin%3Aservicemethod.responsetime?includeData=true&amp;amp;aggregationType=MEDIAN&amp;amp;relativeTime=day&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;but I want to get only the values of this:&lt;/P&gt;
&lt;P&gt;,"SERVICE_METHOD-6BE714AA7879EBD0":"/empresas/ordem/movimentos/mainResult.jsp"&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I have invested the filtering, but I don't understand how I should do it&lt;/P&gt;
&lt;P&gt;&lt;A href="https://www.dynatrace.com/support/help/shortlink/api-metrics-v2-selector#filter-transformation" target="_blank"&gt;https://www.dynatrace.com/support/help/shortlink/api-metrics-v2-selector#filter-transformation&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Can someone help me with an example? How do I build the request URL with the filter?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thank you&lt;/P&gt;
&lt;P&gt;Jose A&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 15 Dec 2021 13:43:35 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Dynatrace-API/Filter-transformation-API/m-p/122998#M1650</guid>
      <dc:creator>jose-antonio_ra</dc:creator>
      <dc:date>2021-12-15T13:43:35Z</dc:date>
    </item>
    <item>
      <title>Re: Filter transformation API</title>
      <link>https://community.dynatrace.com/t5/Dynatrace-API/Filter-transformation-API/m-p/122999#M1651</link>
      <description>&lt;P&gt;Your request is GET, so the only way you can pass arguments is query parameters or path parameters:&lt;/P&gt;&lt;P&gt;&lt;A rel="noopener noreferrer" href="https://www.dynatrace.com/support/help/extend-dynatrace/dynatrace-api/environment-api/metric/get-data-points/" target="_blank"&gt;https://www.dynatrace.com/support/help/extend-dynatrace/dynatrace-api/environment-api/metric/get-data-points/&lt;/A&gt;&lt;/P&gt;&lt;P&gt;/api/v1/timeseries/com.dynatrace.builtin%3Aservicemethod.responsetime:filter(prefix(&amp;lt;dimension&amp;gt;,&amp;lt;expected prefix&amp;gt;))?includeData=true&amp;amp;aggregationType=MEDIAN&amp;amp;relativeTime=day&lt;/P&gt;&lt;P&gt;Dimension should be name of dimension, I suppose request (I'm not sure right now), prefix is request name/id. I've didn't test it but this is how I understand it. &lt;/P&gt;&lt;P&gt;Sebastian &lt;/P&gt;&lt;BR /&gt;</description>
      <pubDate>Tue, 10 Sep 2019 07:48:26 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Dynatrace-API/Filter-transformation-API/m-p/122999#M1651</guid>
      <dc:creator>skrystosik</dc:creator>
      <dc:date>2019-09-10T07:48:26Z</dc:date>
    </item>
    <item>
      <title>Re: Filter transformation API</title>
      <link>https://community.dynatrace.com/t5/Dynatrace-API/Filter-transformation-API/m-p/123000#M1652</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;I'm trying to get data point of a service request, using a custom Request Attribute, the LTN value of the X-Dynatrace-Test header of the request.&lt;/P&gt;&lt;P&gt;&lt;IMG src="https://community.dynatrace.com/legacyfs/online/25867-1596069012248.png" /&gt;&lt;/P&gt;&lt;P&gt;At this time, I'm already able to get data points of a specific service (entity), in a specific timeframe (startTimeStamp and endTimestamp), but I want to filter those data point by adding a Request Attribute filter.&lt;/P&gt;&lt;P&gt;My attempts about filter look like filter(prefix( and filter(eq(:&lt;/P&gt;&lt;PRE&gt;curl .../api/v1/timeseries/com.dynatrace.builtin:service.responsetime?filter(prefix(RequestAttribute,load-test-name))&amp;amp;includeData=true&amp;amp;aggregationType=AVG&amp;amp;startTimestamp=1596064919408&amp;amp;endTimestamp=1596065615408&amp;amp;queryMode=SERIES&amp;amp;entity=SERVICE-ID"&lt;/PRE&gt;&lt;PRE&gt;curl .../api/v1/timeseries/com.dynatrace.builtin:service.responsetime?filter(eq(RequestAttribute,load-test-name))&amp;amp;includeData=true&amp;amp;aggregationType=AVG&amp;amp;startTimestamp=1596064919408&amp;amp;endTimestamp=1596065615408&amp;amp;queryMode=SERIES&amp;amp;entity=SERVICE-ID"&lt;/PRE&gt;&lt;P&gt;I'm using "RequestAttribute" as a dimension because I'm able to use it into the UI in order to create a Multidimensional Analysis:&lt;/P&gt;&lt;P&gt;&lt;IMG src="https://community.dynatrace.com/legacyfs/online/25887-1596068298180.png" /&gt;&lt;/P&gt;&lt;P&gt;There are no curl request examples in the &lt;A rel="noopener noreferrer" href="https://www.dynatrace.com/support/help/dynatrace-api/environment-api/metric-v2/selector-transformations/#anchor_dimension" target="_blank"&gt;documentation&lt;/A&gt; to get some guidance about how to implement filters correctly, or they are so basic.&lt;/P&gt;&lt;P&gt;¿Can anyone share some examples or documentation/blogs/support pages/etc to achieve my goal?&lt;/P&gt;&lt;P&gt;Thanks in advance.&lt;/P&gt;</description>
      <pubDate>Thu, 30 Jul 2020 00:34:28 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Dynatrace-API/Filter-transformation-API/m-p/123000#M1652</guid>
      <dc:creator>augustoalonso_d</dc:creator>
      <dc:date>2020-07-30T00:34:28Z</dc:date>
    </item>
  </channel>
</rss>

