<?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: Change All Key Names in Data Sets Using DQL or DPL Queries in DQL</title>
    <link>https://community.dynatrace.com/t5/DQL/Change-All-Key-Names-in-Data-Sets-Using-DQL-or-DPL-Queries/m-p/291682#M2897</link>
    <description>&lt;P&gt;&lt;a href="https://community.dynatrace.com/t5/user/viewprofilepage/user-id/41155"&gt;@36Krazyfists&lt;/a&gt;,&amp;nbsp;that's not possible using just DQL/DPL, as DQL/DPL does not have an option to do replacements with a placeholder. You can replace only a string with another string or use matchers, but without placeholders.&lt;/P&gt;</description>
    <pubDate>Wed, 17 Dec 2025 11:16:50 GMT</pubDate>
    <dc:creator>Julius_Loman</dc:creator>
    <dc:date>2025-12-17T11:16:50Z</dc:date>
    <item>
      <title>Change All Key Names in Data Sets Using DQL or DPL Queries</title>
      <link>https://community.dynatrace.com/t5/DQL/Change-All-Key-Names-in-Data-Sets-Using-DQL-or-DPL-Queries/m-p/286933#M2626</link>
      <description>&lt;P&gt;I've already got a K/V DPL that is extracting some data from a field into a JSON object where I will then dynamically parse the data into their own separate fields.&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;However, before I parse them into their own fields, I'd like to convert the Key names to all lowercase to keep our column naming schema inline with the Dynatrace standard of all lowercase field names.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If I always knew what the key names would be, that would be easy, but I don't.&amp;nbsp; The key names could be anything.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Here's an example JSON object I've created with my parsing rule:&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;{
    "action": "UpdateItem",
    "EP": "1",
    "ID": "-46",
    "AC": "1",
    "ClientId": "SomeIDValue",
    "ClientRequestId": "SomeRequestIdValue",
    "ActID": "SomeActIdValue",
    "CorrelationID": "SomeCorrelationIdValue",
    "RoutingDataMiss": "SomeRoutingDataValue@somewhere.com"
}&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;So, in that above example, I'd want the key names (&lt;STRONG&gt;action&lt;/STRONG&gt;, &lt;STRONG&gt;EP&lt;/STRONG&gt;, &lt;STRONG&gt;ID&lt;/STRONG&gt;, &lt;STRONG&gt;AC&lt;/STRONG&gt;, &lt;STRONG&gt;ClientId&lt;/STRONG&gt;, &lt;STRONG&gt;ClientRequestId&lt;/STRONG&gt;, &lt;STRONG&gt;ActID&lt;/STRONG&gt;, &lt;STRONG&gt;CorrelationID&lt;/STRONG&gt;, and &lt;STRONG&gt;RoutingDataMiss&lt;/STRONG&gt;) to all be converted to lowercase.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If DPL had a conversion feature in it (&lt;EM&gt;which, man, would that be cool!&amp;nbsp; If we could just define an option to our extract names that could convert the value to all lower/upper case, that would be so great!&lt;/EM&gt;), I could have converted them as I extracted them using my dynamic DPL JSON parser.&amp;nbsp; But, it doesn't...&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I was thinking some dynamic parser that temporarily converted each k/v pair into an array where I could then pass that to a DQL query that only executed the lower( ) function on every other element of the array, starting with the first, but my brain broke when trying to come up with it.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;EM&gt;Is there a better way to do this or, is there somebody so good at writing DQL/DPL that something like this would be so easy to them that they'd be willing to help me out with at least an idea of how to go about this?&lt;/EM&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks so much for any ideas!&lt;/P&gt;</description>
      <pubDate>Wed, 17 Dec 2025 10:12:06 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/DQL/Change-All-Key-Names-in-Data-Sets-Using-DQL-or-DPL-Queries/m-p/286933#M2626</guid>
      <dc:creator>36Krazyfists</dc:creator>
      <dc:date>2025-12-17T10:12:06Z</dc:date>
    </item>
    <item>
      <title>Re: Anybody got a DQL/DPL query that can change all key names in a JSON object to lowercase, dynamically</title>
      <link>https://community.dynatrace.com/t5/DQL/Change-All-Key-Names-in-Data-Sets-Using-DQL-or-DPL-Queries/m-p/291662#M2888</link>
      <description>&lt;P&gt;Hey&amp;nbsp;&lt;a href="https://community.dynatrace.com/t5/user/viewprofilepage/user-id/41155"&gt;@36Krazyfists&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 10:11:22 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/DQL/Change-All-Key-Names-in-Data-Sets-Using-DQL-or-DPL-Queries/m-p/291662#M2888</guid>
      <dc:creator>IzabelaRokita</dc:creator>
      <dc:date>2025-12-17T10:11:22Z</dc:date>
    </item>
    <item>
      <title>Re: Change All Key Names in Data Sets Using DQL or DPL Queries</title>
      <link>https://community.dynatrace.com/t5/DQL/Change-All-Key-Names-in-Data-Sets-Using-DQL-or-DPL-Queries/m-p/291682#M2897</link>
      <description>&lt;P&gt;&lt;a href="https://community.dynatrace.com/t5/user/viewprofilepage/user-id/41155"&gt;@36Krazyfists&lt;/a&gt;,&amp;nbsp;that's not possible using just DQL/DPL, as DQL/DPL does not have an option to do replacements with a placeholder. You can replace only a string with another string or use matchers, but without placeholders.&lt;/P&gt;</description>
      <pubDate>Wed, 17 Dec 2025 11:16:50 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/DQL/Change-All-Key-Names-in-Data-Sets-Using-DQL-or-DPL-Queries/m-p/291682#M2897</guid>
      <dc:creator>Julius_Loman</dc:creator>
      <dc:date>2025-12-17T11:16:50Z</dc:date>
    </item>
  </channel>
</rss>

