<?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 Capture Response Body as Request Attribute (NGINX) in Open Q&amp;A</title>
    <link>https://community.dynatrace.com/t5/Open-Q-A/Capture-Response-Body-as-Request-Attribute-NGINX/m-p/204807#M24652</link>
    <description>&lt;P&gt;We have request on Nginx that always reply response 200 but need to look into response body to capture status of 'fail' or 'success'.&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;&amp;nbsp; },&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;&amp;nbsp; "&lt;FONT color="#FF0000"&gt;response&lt;/FONT&gt;": {&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; "&lt;/SPAN&gt;&lt;SPAN&gt;statusCode&lt;/SPAN&gt;&lt;SPAN&gt;": 200,&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; "&lt;FONT color="#FF0000"&gt;body&lt;/FONT&gt;": "{\"message\":null,\"&lt;/SPAN&gt;&lt;SPAN&gt;responseData&lt;/SPAN&gt;&lt;SPAN&gt;\":{\"&lt;/SPAN&gt;&lt;SPAN&gt;accountList&lt;/SPAN&gt;&lt;SPAN&gt;\":[{\"&lt;/SPAN&gt;&lt;SPAN&gt;accountNo&lt;/SPAN&gt;&lt;SPAN&gt;\":\"2491011751\",\"&lt;/SPAN&gt;&lt;SPAN&gt;canAddNewLine&lt;/SPAN&gt;&lt;SPAN&gt;\":true,\"&lt;/SPAN&gt;&lt;SPAN&gt;msisdnList&lt;/SPAN&gt;&lt;SPAN&gt;\":[]}],\"&lt;/SPAN&gt;&lt;SPAN&gt;deviceAdvancePaymentWaive&lt;/SPAN&gt;&lt;SPAN&gt;\":\"N\",\"&lt;/SPAN&gt;&lt;SPAN&gt;ratePlanAdvancePaymentWaive&lt;/SPAN&gt;&lt;SPAN&gt;\":\"Y\",\"&lt;/SPAN&gt;&lt;SPAN&gt;lineDepositWaive&lt;/SPAN&gt;&lt;SPAN&gt;\":\"Y\",\"&lt;/SPAN&gt;&lt;SPAN&gt;newProductOfferId&lt;/SPAN&gt;&lt;SPAN&gt;\":\"4062147\",\"&lt;/SPAN&gt;&lt;SPAN&gt;deviceDAPAmount&lt;/SPAN&gt;&lt;SPAN&gt;\":\"540\",\"&lt;/SPAN&gt;&lt;SPAN&gt;orderAck&lt;/SPAN&gt;&lt;SPAN&gt;\":\"Y\"},&lt;FONT color="#FF0000"&gt;\"&lt;/FONT&gt;&lt;/SPAN&gt;&lt;FONT color="#FF0000"&gt;&lt;SPAN&gt;status\":\"fail&lt;/SPAN&gt;&lt;/FONT&gt;&lt;SPAN&gt;&lt;FONT color="#FF0000"&gt;\"&lt;/FONT&gt;,\"&lt;/SPAN&gt;&lt;SPAN&gt;timeStamp&lt;/SPAN&gt;&lt;SPAN&gt;\":\"2023-02-14 01:37:05\",\"violations\":null}"&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;&amp;nbsp; }&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;}&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;However, looking at &lt;A href="https://www.dynatrace.com/support/help/how-to-use-dynatrace/transactions-and-services/request-attributes/?_ga=2.8993333.1213700583.1676349096-1383387063.1673310017" target="_self"&gt;request attributes&lt;/A&gt; documentation does not really mention on this. Is there a way to capture this as an attribute?&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Gary&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Mon, 14 Aug 2023 09:17:04 GMT</pubDate>
    <dc:creator>gary1024</dc:creator>
    <dc:date>2023-08-14T09:17:04Z</dc:date>
    <item>
      <title>Capture Response Body as Request Attribute (NGINX)</title>
      <link>https://community.dynatrace.com/t5/Open-Q-A/Capture-Response-Body-as-Request-Attribute-NGINX/m-p/204807#M24652</link>
      <description>&lt;P&gt;We have request on Nginx that always reply response 200 but need to look into response body to capture status of 'fail' or 'success'.&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;&amp;nbsp; },&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;&amp;nbsp; "&lt;FONT color="#FF0000"&gt;response&lt;/FONT&gt;": {&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; "&lt;/SPAN&gt;&lt;SPAN&gt;statusCode&lt;/SPAN&gt;&lt;SPAN&gt;": 200,&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; "&lt;FONT color="#FF0000"&gt;body&lt;/FONT&gt;": "{\"message\":null,\"&lt;/SPAN&gt;&lt;SPAN&gt;responseData&lt;/SPAN&gt;&lt;SPAN&gt;\":{\"&lt;/SPAN&gt;&lt;SPAN&gt;accountList&lt;/SPAN&gt;&lt;SPAN&gt;\":[{\"&lt;/SPAN&gt;&lt;SPAN&gt;accountNo&lt;/SPAN&gt;&lt;SPAN&gt;\":\"2491011751\",\"&lt;/SPAN&gt;&lt;SPAN&gt;canAddNewLine&lt;/SPAN&gt;&lt;SPAN&gt;\":true,\"&lt;/SPAN&gt;&lt;SPAN&gt;msisdnList&lt;/SPAN&gt;&lt;SPAN&gt;\":[]}],\"&lt;/SPAN&gt;&lt;SPAN&gt;deviceAdvancePaymentWaive&lt;/SPAN&gt;&lt;SPAN&gt;\":\"N\",\"&lt;/SPAN&gt;&lt;SPAN&gt;ratePlanAdvancePaymentWaive&lt;/SPAN&gt;&lt;SPAN&gt;\":\"Y\",\"&lt;/SPAN&gt;&lt;SPAN&gt;lineDepositWaive&lt;/SPAN&gt;&lt;SPAN&gt;\":\"Y\",\"&lt;/SPAN&gt;&lt;SPAN&gt;newProductOfferId&lt;/SPAN&gt;&lt;SPAN&gt;\":\"4062147\",\"&lt;/SPAN&gt;&lt;SPAN&gt;deviceDAPAmount&lt;/SPAN&gt;&lt;SPAN&gt;\":\"540\",\"&lt;/SPAN&gt;&lt;SPAN&gt;orderAck&lt;/SPAN&gt;&lt;SPAN&gt;\":\"Y\"},&lt;FONT color="#FF0000"&gt;\"&lt;/FONT&gt;&lt;/SPAN&gt;&lt;FONT color="#FF0000"&gt;&lt;SPAN&gt;status\":\"fail&lt;/SPAN&gt;&lt;/FONT&gt;&lt;SPAN&gt;&lt;FONT color="#FF0000"&gt;\"&lt;/FONT&gt;,\"&lt;/SPAN&gt;&lt;SPAN&gt;timeStamp&lt;/SPAN&gt;&lt;SPAN&gt;\":\"2023-02-14 01:37:05\",\"violations\":null}"&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;&amp;nbsp; }&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;}&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;However, looking at &lt;A href="https://www.dynatrace.com/support/help/how-to-use-dynatrace/transactions-and-services/request-attributes/?_ga=2.8993333.1213700583.1676349096-1383387063.1673310017" target="_self"&gt;request attributes&lt;/A&gt; documentation does not really mention on this. Is there a way to capture this as an attribute?&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Gary&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 14 Aug 2023 09:17:04 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Open-Q-A/Capture-Response-Body-as-Request-Attribute-NGINX/m-p/204807#M24652</guid>
      <dc:creator>gary1024</dc:creator>
      <dc:date>2023-08-14T09:17:04Z</dc:date>
    </item>
    <item>
      <title>Re: Capture Response Body as Request Attribute (NGINX)</title>
      <link>https://community.dynatrace.com/t5/Open-Q-A/Capture-Response-Body-as-Request-Attribute-NGINX/m-p/204810#M24653</link>
      <description>&lt;P&gt;Hello Gary.&lt;/P&gt;&lt;P&gt;We often set a request attribute for capturing arguments\return value from classes and methods which work with body \ make body response on App server level (on a Java backend for example) In this situation.&lt;/P&gt;&lt;P&gt;With custom error rules you can set to mark requests which have 200 response code and request attribute - error: value as failed.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Nginx in our situation is only balancer or web server to serve static files.&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Romanenkov Alex&lt;/P&gt;</description>
      <pubDate>Wed, 15 Feb 2023 06:53:03 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Open-Q-A/Capture-Response-Body-as-Request-Attribute-NGINX/m-p/204810#M24653</guid>
      <dc:creator>Romanenkov_Al3x</dc:creator>
      <dc:date>2023-02-15T06:53:03Z</dc:date>
    </item>
    <item>
      <title>Re: Capture Response Body as Request Attribute (NGINX)</title>
      <link>https://community.dynatrace.com/t5/Open-Q-A/Capture-Response-Body-as-Request-Attribute-NGINX/m-p/229701#M29740</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;This sounds like a solution to the problems that we have now. Can you elaborate a bit more on the configuration through step by step? I looked at the custom error rules but would like to see a proper values to be input to harvest them as request attribute values.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 22 Nov 2023 18:05:30 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Open-Q-A/Capture-Response-Body-as-Request-Attribute-NGINX/m-p/229701#M29740</guid>
      <dc:creator>frank_hahn</dc:creator>
      <dc:date>2023-11-22T18:05:30Z</dc:date>
    </item>
    <item>
      <title>Re: Capture Response Body as Request Attribute (NGINX)</title>
      <link>https://community.dynatrace.com/t5/Open-Q-A/Capture-Response-Body-as-Request-Attribute-NGINX/m-p/229711#M29742</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://community.dynatrace.com/t5/user/viewprofilepage/user-id/13094"&gt;@gary1024&lt;/a&gt;&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;Maybe you could try to use bizEvents with Grail on the Dynatrace Platform.&lt;BR /&gt;Capture the full body of nginx is possible and then you can use Dynatrace Query Language with Notebooks or Dashboards to make it graphically.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="cesarsaravia_0-1700686175856.png" style="width: 592px;"&gt;&lt;img src="https://community.dynatrace.com/t5/image/serverpage/image-id/15795iAB538543AC1E9ACA/image-dimensions/592x131?v=v2" width="592" height="131" role="button" title="cesarsaravia_0-1700686175856.png" alt="cesarsaravia_0-1700686175856.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://docs.dynatrace.com/docs/shortlink/ba-business-events-capturing" target="_self"&gt;Business Events&lt;/A&gt;&lt;BR /&gt;&lt;A href="https://docs.dynatrace.com/docs/platform/grail" target="_self"&gt;Dynatrace Grail&lt;/A&gt;&lt;BR /&gt;&lt;A href="https://docs.dynatrace.com/docs/shortlink/dql-dynatrace-query-language-hub" target="_self"&gt;Dynatrace Query Language&lt;/A&gt;&lt;/P&gt;&lt;P&gt;BR,&lt;/P&gt;</description>
      <pubDate>Wed, 22 Nov 2023 20:53:13 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Open-Q-A/Capture-Response-Body-as-Request-Attribute-NGINX/m-p/229711#M29742</guid>
      <dc:creator>cesarsaravia</dc:creator>
      <dc:date>2023-11-22T20:53:13Z</dc:date>
    </item>
  </channel>
</rss>

