<?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: DPL rule: how to convert JSON object to type DOUBLE or IPADDR in DQL</title>
    <link>https://community.dynatrace.com/t5/DQL/Convert-JSON-Objects-to-DOUBLE-or-IPADDR-Types-Using-DPL-Rules/m-p/291690#M2905</link>
    <description>&lt;P&gt;Hey&amp;nbsp;&lt;a href="https://community.dynatrace.com/t5/user/viewprofilepage/user-id/65319"&gt;@mosharref_hossn&lt;/a&gt;&amp;nbsp;,&lt;BR /&gt;&lt;SPAN&gt;I just wanted to check in and see if you still need help with this. If so, I’d be happy to look into it for you!&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN class="lia-unicode-emoji" title=":smiling_face_with_smiling_eyes:"&gt;&lt;span class="lia-unicode-emoji" title=":smiling_face_with_smiling_eyes:"&gt;😊&lt;/span&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Please let me know what works best for you.&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Wed, 17 Dec 2025 12:10:29 GMT</pubDate>
    <dc:creator>IzabelaRokita</dc:creator>
    <dc:date>2025-12-17T12:10:29Z</dc:date>
    <item>
      <title>Convert JSON Objects to DOUBLE or IPADDR Types Using DPL Rules</title>
      <link>https://community.dynatrace.com/t5/DQL/Convert-JSON-Objects-to-DOUBLE-or-IPADDR-Types-Using-DPL-Rules/m-p/261983#M1413</link>
      <description>&lt;P&gt;I have a log processing rule to capture the HTTP request header data.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I want the data type to be DOUBLE for request size values and IPADDR for IPs.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;However, the data always gets parsed as STRING data type.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Any options to fix this issue for log ingest rules?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="python"&gt;PARSE(content, "JSON:jsoncontent")
| FIELDS_ADD(http.request.size:DOUBLE(jsoncontent[http_info][request_headers][request_size]))
| FIELDS_ADD(http.client_ip:IPADDR(jsoncontent[http_info][request_headers][X-Ruxit-Forwarded-For]))&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 17 Dec 2025 12:10:55 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/DQL/Convert-JSON-Objects-to-DOUBLE-or-IPADDR-Types-Using-DPL-Rules/m-p/261983#M1413</guid>
      <dc:creator>mosharref_hossn</dc:creator>
      <dc:date>2025-12-17T12:10:55Z</dc:date>
    </item>
    <item>
      <title>Re: DPL rule: how to convert JSON object to type DOUBLE or IPADDR</title>
      <link>https://community.dynatrace.com/t5/DQL/Convert-JSON-Objects-to-DOUBLE-or-IPADDR-Types-Using-DPL-Rules/m-p/291690#M2905</link>
      <description>&lt;P&gt;Hey&amp;nbsp;&lt;a href="https://community.dynatrace.com/t5/user/viewprofilepage/user-id/65319"&gt;@mosharref_hossn&lt;/a&gt;&amp;nbsp;,&lt;BR /&gt;&lt;SPAN&gt;I just wanted to check in and see if you still need help with this. If so, I’d be happy to look into it for you!&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN class="lia-unicode-emoji" title=":smiling_face_with_smiling_eyes:"&gt;&lt;span class="lia-unicode-emoji" title=":smiling_face_with_smiling_eyes:"&gt;😊&lt;/span&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Please let me know what works best for you.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 17 Dec 2025 12:10:29 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/DQL/Convert-JSON-Objects-to-DOUBLE-or-IPADDR-Types-Using-DPL-Rules/m-p/291690#M2905</guid>
      <dc:creator>IzabelaRokita</dc:creator>
      <dc:date>2025-12-17T12:10:29Z</dc:date>
    </item>
  </channel>
</rss>

