<?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: unable to extract json from logs and parse it in DQL</title>
    <link>https://community.dynatrace.com/t5/DQL/unable-to-extract-json-from-logs-and-parse-it/m-p/281699#M2330</link>
    <description>&lt;P&gt;So it needs to be proper json in order to parse. You'll need to replace all the single quotes with double quotes. Your parse command was still missing the space. It will work with this after you change to proper json and double quotes:&amp;nbsp;&amp;nbsp;LD 'Merged_Entry' SPACE JSON:json&lt;/P&gt;</description>
    <pubDate>Wed, 16 Jul 2025 19:30:39 GMT</pubDate>
    <dc:creator>StrangerThing</dc:creator>
    <dc:date>2025-07-16T19:30:39Z</dc:date>
    <item>
      <title>unable to extract json from logs and parse it</title>
      <link>https://community.dynatrace.com/t5/DQL/unable-to-extract-json-from-logs-and-parse-it/m-p/281678#M2324</link>
      <description>&lt;P&gt;Below is my DQL query and how to extract json and parse the json? Earlier I was using DQL parse command not fetching all data.&lt;BR /&gt;&amp;nbsp;&lt;BR /&gt;data record(content="[INFO][EAP_WORKDAY][DYNATRACE] 2025-07-16 12:45:23.999 Merged_Response [{'Integration_Platform': 'DB_BATCH', 'Integration_Process': 'ATLAS_16076_9885bc5832094b06bfc2572009db68d9', 'Process_Type': None, 'Status': 'ERROR', 'Start_Date_and_Time': None, 'WorkdayID': None, 'End_Date_and_Time': '00:00:00', 'Acc_Center_Batch_ID': '16076'}, {'Integration_Platform': 'DB_BATCH', 'Integration_Process': 'ATLAS_16027_4c323fff6e354e76927f38dd8b9f97b9', 'Process_Type': 'DB', 'Status': 'COMPLETED', 'Start_Date_and_Time': '2025-07-16T07:18:14.937240Z', 'WorkdayID': None, 'End_Date_and_Time': '00:00:06', 'Acc_Center_Batch_ID': '16027'}, {'Integration_Platform': 'DB_NOTIFIER', 'Integration_Process': 'ATLAS_16027_4c323fff6e354e76927f38dd8b9f97b9', 'Process_Type': 'DB', 'Status': 'COMPLETED', 'Start_Date_and_Time': '2025-07-16T07:19:30.785763Z', 'WorkdayID': None, 'End_Date_and_Time': '00:00:06', 'Acc_Center_Batch_ID': '16027'}, {'Integration_Platform': 'DB_BATCH', 'Integration_Process': 'ATLAS_16101_7b97e61e32804f7f86c81cd926e7d989', 'Process_Type': 'DB', 'Status': 'COMPLETED', 'Start_Date_and_Time': '2025-07-16T07:20:28.723717Z', 'WorkdayID': None, 'End_Date_and_Time': '00:00:02', 'Acc_Center_Batch_ID': '16101'}, {'Integration_Platform': 'DB_NOTIFIER', 'Integration_Process': 'ATLAS_16101_7b97e61e32804f7f86c81cd926e7d989', 'Process_Type': 'DB', 'Status': 'COMPLETED', 'Start_Date_and_Time': '2025-07-16T07:21:03.272498Z', 'WorkdayID': None, 'End_Date_and_Time': '00:00:01', 'Acc_Center_Batch_ID': '16101'}, {'Integration_Platform': 'DB_BATCH', 'Integration_Process': 'ATLAS_15972_328a4276cca3494b9040054cac506b83', 'Process_Type': None, 'Status': 'COMPLETED', 'Start_Date_and_Time': None, 'WorkdayID': None, 'End_Date_and_Time': '00:00:00', 'Acc_Center_Batch_ID': '15972'}, {'Integration_Platform': 'DB_BATCH', 'Integration_Process': 'ATLAS_15981_d88dea264ae74fa6a4d0fb238d68d113', 'Process_Type': 'DB', 'Status': 'COMPLETED', 'Start_Date_and_Time': '2025-07-16T07:18:23.535363Z', 'WorkdayID': None, 'End_Date_and_Time': '00:00:03', 'Acc_Center_Batch_ID': '15981'}, {'Integration_Platform': 'DB_NOTIFIER', 'Integration_Process': 'ATLAS_15981_d88dea264ae74fa6a4d0fb238d68d113', 'Process_Type': 'DB', 'Status': 'COMPLETED', 'Start_Date_and_Time': '2025-07-16T07:19:33.355444Z', 'WorkdayID': None, 'End_Date_and_Time': '00:00:04', 'Acc_Center_Batch_ID': '15981'}]")&lt;BR /&gt;| filter contains(content, "Merged_Response")&lt;BR /&gt;| parse content, "LD 'Merged_Response'JSON:json"&lt;/P&gt;</description>
      <pubDate>Wed, 16 Jul 2025 15:45:18 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/DQL/unable-to-extract-json-from-logs-and-parse-it/m-p/281678#M2324</guid>
      <dc:creator>ramchandgadde</dc:creator>
      <dc:date>2025-07-16T15:45:18Z</dc:date>
    </item>
    <item>
      <title>Re: unable to extract json from logs and parse it</title>
      <link>https://community.dynatrace.com/t5/DQL/unable-to-extract-json-from-logs-and-parse-it/m-p/281682#M2325</link>
      <description>&lt;P&gt;So you actually need to use the JSON_ARRAY parser instead of JSON, but the real issue is with the values that are None. Those are not interpreted as strings and are therefore not valid json.&lt;/P&gt;</description>
      <pubDate>Wed, 16 Jul 2025 17:01:54 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/DQL/unable-to-extract-json-from-logs-and-parse-it/m-p/281682#M2325</guid>
      <dc:creator>StrangerThing</dc:creator>
      <dc:date>2025-07-16T17:01:54Z</dc:date>
    </item>
    <item>
      <title>Re: unable to extract json from logs and parse it</title>
      <link>https://community.dynatrace.com/t5/DQL/unable-to-extract-json-from-logs-and-parse-it/m-p/281685#M2326</link>
      <description>&lt;P&gt;I tried to replace None value with '' and updated query with Json Array. but no luck&lt;BR /&gt;&lt;BR /&gt;data record(content="[INFO][EAP_WORKDAY][DYNATRACE] 2025-07-16 12:45:23.999 Merged_Response [{'Integration_Platform': 'DB_BATCH', 'Integration_Process': 'ATLAS_16076_9885bc5832094b06bfc2572009db68d9', 'Process_Type': '', 'Status': 'ERROR', 'Start_Date_and_Time': '', 'WorkdayID': '', 'End_Date_and_Time': '00:00:00', 'Acc_Center_Batch_ID': '16076'}, {'Integration_Platform': 'DB_BATCH', 'Integration_Process': 'ATLAS_16027_4c323fff6e354e76927f38dd8b9f97b9', 'Process_Type': 'DB', 'Status': 'COMPLETED', 'Start_Date_and_Time': '2025-07-16T07:18:14.937240Z', 'WorkdayID': '', 'End_Date_and_Time': '00:00:06', 'Acc_Center_Batch_ID': '16027'}, {'Integration_Platform': 'DB_NOTIFIER', 'Integration_Process': 'ATLAS_16027_4c323fff6e354e76927f38dd8b9f97b9', 'Process_Type': 'DB', 'Status': 'COMPLETED', 'Start_Date_and_Time': '2025-07-16T07:19:30.785763Z', 'WorkdayID': '', 'End_Date_and_Time': '00:00:06', 'Acc_Center_Batch_ID': '16027'}, {'Integration_Platform': 'DB_BATCH', 'Integration_Process': 'ATLAS_16101_7b97e61e32804f7f86c81cd926e7d989', 'Process_Type': 'DB', 'Status': 'COMPLETED', 'Start_Date_and_Time': '2025-07-16T07:20:28.723717Z', 'WorkdayID': '', 'End_Date_and_Time': '00:00:02', 'Acc_Center_Batch_ID': '16101'}, {'Integration_Platform': 'DB_NOTIFIER', 'Integration_Process': 'ATLAS_16101_7b97e61e32804f7f86c81cd926e7d989', 'Process_Type': 'DB', 'Status': 'COMPLETED', 'Start_Date_and_Time': '2025-07-16T07:21:03.272498Z', 'WorkdayID': '', 'End_Date_and_Time': '00:00:01', 'Acc_Center_Batch_ID': '16101'}, {'Integration_Platform': 'DB_BATCH', 'Integration_Process': 'ATLAS_15972_328a4276cca3494b9040054cac506b83', 'Process_Type': '', 'Status': 'COMPLETED', 'Start_Date_and_Time': '', 'WorkdayID': '', 'End_Date_and_Time': '00:00:00', 'Acc_Center_Batch_ID': '15972'}, {'Integration_Platform': 'DB_BATCH', 'Integration_Process': 'ATLAS_15981_d88dea264ae74fa6a4d0fb238d68d113', 'Process_Type': 'DB', 'Status': 'COMPLETED', 'Start_Date_and_Time': '2025-07-16T07:18:23.535363Z', 'WorkdayID': '', 'End_Date_and_Time': '00:00:03', 'Acc_Center_Batch_ID': '15981'}, {'Integration_Platform': 'DB_NOTIFIER', 'Integration_Process': 'ATLAS_15981_d88dea264ae74fa6a4d0fb238d68d113', 'Process_Type': 'DB', 'Status': 'COMPLETED', 'Start_Date_and_Time': '2025-07-16T07:19:33.355444Z', 'WorkdayID': '', 'End_Date_and_Time': '00:00:04', 'Acc_Center_Batch_ID': '15981'}]")&lt;BR /&gt;| filter contains(content, "Merged_Response")&lt;BR /&gt;| parse content, "LD 'Merged_Response'JSON_ARRAY:json"&lt;BR /&gt;|fields json&lt;/P&gt;</description>
      <pubDate>Wed, 16 Jul 2025 17:15:08 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/DQL/unable-to-extract-json-from-logs-and-parse-it/m-p/281685#M2326</guid>
      <dc:creator>ramchandgadde</dc:creator>
      <dc:date>2025-07-16T17:15:08Z</dc:date>
    </item>
    <item>
      <title>Re: unable to extract json from logs and parse it</title>
      <link>https://community.dynatrace.com/t5/DQL/unable-to-extract-json-from-logs-and-parse-it/m-p/281686#M2327</link>
      <description>&lt;P&gt;Sorry forgot to mention there's a space after Merged_Response so your parsing string should look like this:&amp;nbsp; "LD '&lt;SPAN&gt;Merged_Response' SPACE JSON_ARRAY:json"&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 16 Jul 2025 17:21:46 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/DQL/unable-to-extract-json-from-logs-and-parse-it/m-p/281686#M2327</guid>
      <dc:creator>StrangerThing</dc:creator>
      <dc:date>2025-07-16T17:21:46Z</dc:date>
    </item>
    <item>
      <title>Re: unable to extract json from logs and parse it</title>
      <link>https://community.dynatrace.com/t5/DQL/unable-to-extract-json-from-logs-and-parse-it/m-p/281690#M2328</link>
      <description>&lt;P&gt;Hi, I tried with space - still facing same issue.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 16 Jul 2025 17:33:51 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/DQL/unable-to-extract-json-from-logs-and-parse-it/m-p/281690#M2328</guid>
      <dc:creator>ramchandgadde</dc:creator>
      <dc:date>2025-07-16T17:33:51Z</dc:date>
    </item>
    <item>
      <title>Re: unable to extract json from logs and parse it</title>
      <link>https://community.dynatrace.com/t5/DQL/unable-to-extract-json-from-logs-and-parse-it/m-p/281691#M2329</link>
      <description>&lt;P&gt;to simplify , I removed array and keeping content small. the problem unable extract json it is always coming null&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;data record(content="[INFO][EAP_WORKDAY][DYNATRACE] 2025-07-16 17:30:24.173 Merged_Entry {'Integration_Platform': 'DB_BATCH', 'Integration_Process': 'ATLAS_16076_9885bc5832094b06bfc2572009db68d9', 'Process_Type': '', 'Status': 'ERROR', 'Start_Date_and_Time': '', 'WorkdayID': '', 'End_Date_and_Time': '00:00:00', 'Acc_Center_Batch_ID': '16076'}")&lt;BR /&gt;| filter contains(content, "Merged_Entry")&lt;BR /&gt;| parse content, "LD 'Merged_Entry' Json:json"&lt;BR /&gt;|fields json&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 16 Jul 2025 17:50:52 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/DQL/unable-to-extract-json-from-logs-and-parse-it/m-p/281691#M2329</guid>
      <dc:creator>ramchandgadde</dc:creator>
      <dc:date>2025-07-16T17:50:52Z</dc:date>
    </item>
    <item>
      <title>Re: unable to extract json from logs and parse it</title>
      <link>https://community.dynatrace.com/t5/DQL/unable-to-extract-json-from-logs-and-parse-it/m-p/281699#M2330</link>
      <description>&lt;P&gt;So it needs to be proper json in order to parse. You'll need to replace all the single quotes with double quotes. Your parse command was still missing the space. It will work with this after you change to proper json and double quotes:&amp;nbsp;&amp;nbsp;LD 'Merged_Entry' SPACE JSON:json&lt;/P&gt;</description>
      <pubDate>Wed, 16 Jul 2025 19:30:39 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/DQL/unable-to-extract-json-from-logs-and-parse-it/m-p/281699#M2330</guid>
      <dc:creator>StrangerThing</dc:creator>
      <dc:date>2025-07-16T19:30:39Z</dc:date>
    </item>
    <item>
      <title>Re: unable to extract json from logs and parse it</title>
      <link>https://community.dynatrace.com/t5/DQL/unable-to-extract-json-from-logs-and-parse-it/m-p/281755#M2335</link>
      <description>&lt;P&gt;Hello&lt;BR /&gt;As said in this other &lt;A href="https://community.dynatrace.com/t5/DQL/DQL-parse-issue/m-p/281670#M2322" target="_self"&gt;post&lt;/A&gt; from&amp;nbsp;&lt;a href="https://community.dynatrace.com/t5/user/viewprofilepage/user-id/93291"&gt;@ramchandgadde&lt;/a&gt;&amp;nbsp;, you can use the JSON_ARRAY in non-strict mode to parse such&amp;nbsp;&lt;SPAN&gt;array not following JSON specification&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;| parse content, """LD "Merged_Response " JSON_ARRAY(strict=false):array"""&lt;/LI-CODE&gt;&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 17 Jul 2025 11:49:09 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/DQL/unable-to-extract-json-from-logs-and-parse-it/m-p/281755#M2335</guid>
      <dc:creator>GerardJ</dc:creator>
      <dc:date>2025-07-17T11:49:09Z</dc:date>
    </item>
  </channel>
</rss>

