<?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: Ingest only JSON portion of this log entry in Log Analytics</title>
    <link>https://community.dynatrace.com/t5/Log-Analytics/Ingest-only-JSON-portion-of-this-log-entry/m-p/274699#M1264</link>
    <description>&lt;P&gt;Hi!&lt;/P&gt;
&lt;P&gt;You need a simple processing rule.&lt;/P&gt;
&lt;P&gt;Set up a new pipeline in OpenPipeline, add a processor (type DQL) and add a following processor:&lt;/P&gt;
&lt;PRE&gt;parse content, "DATA JSON:json"&lt;BR /&gt;| fieldsRemove content&lt;BR /&gt;| fieldsRename content = json&lt;/PRE&gt;
&lt;P&gt;The result will have content field with only JSON part. Then make sure to route correct data to that pipeline in the Dynamic routing section.&lt;/P&gt;
&lt;P&gt;You may find more helpful resources &lt;A href="https://docs.dynatrace.com/docs/shortlink/openpipeline-processing-examples#parse-a-field-containing-json-as-a-raw-string" target="_self"&gt;here&lt;/A&gt;&lt;/P&gt;</description>
    <pubDate>Tue, 08 Apr 2025 17:51:02 GMT</pubDate>
    <dc:creator>HansLougas</dc:creator>
    <dc:date>2025-04-08T17:51:02Z</dc:date>
    <item>
      <title>Ingest only JSON portion of this log entry</title>
      <link>https://community.dynatrace.com/t5/Log-Analytics/Ingest-only-JSON-portion-of-this-log-entry/m-p/274698#M1263</link>
      <description>&lt;P&gt;I have a use case where we are ingesting an entry from the Windows Application Log using the following ingestion rule&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="chrmckenna_0-1744133869521.png" style="width: 400px;"&gt;&lt;img src="https://community.dynatrace.com/t5/image/serverpage/image-id/27475i7F4B84741B14E956/image-size/medium?v=v2&amp;amp;px=400" role="button" title="chrmckenna_0-1744133869521.png" alt="chrmckenna_0-1744133869521.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;The log event ingests fine and looks like this.&amp;nbsp; You can see embedded JSON within the text.&amp;nbsp; We're struggling with a processing rule that would throw out everything except the JSON portion, as we don't want to save any of that text.&lt;/P&gt;
&lt;P&gt;"The description for this event cannot be found.\nAdditional info: \nTIDALSaMaster: {\"Date\": \"20250408\", \"Time\": \"102536\", \"JobName\": \"06 xxxxxxxxx - Consumption to S3\", \"JobStatus\": \"Completed Abnormally\"}\n"&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;We want to get rid of all of this part and only save the JSON&lt;/P&gt;
&lt;P&gt;The description for this event cannot be found.\nAdditional info: \nTIDALSaMaster:&lt;/P&gt;
&lt;P&gt;Can anyone help with the proper rule&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 12 May 2025 06:16:21 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Log-Analytics/Ingest-only-JSON-portion-of-this-log-entry/m-p/274698#M1263</guid>
      <dc:creator>chrmckenna</dc:creator>
      <dc:date>2025-05-12T06:16:21Z</dc:date>
    </item>
    <item>
      <title>Re: Ingest only JSON portion of this log entry</title>
      <link>https://community.dynatrace.com/t5/Log-Analytics/Ingest-only-JSON-portion-of-this-log-entry/m-p/274699#M1264</link>
      <description>&lt;P&gt;Hi!&lt;/P&gt;
&lt;P&gt;You need a simple processing rule.&lt;/P&gt;
&lt;P&gt;Set up a new pipeline in OpenPipeline, add a processor (type DQL) and add a following processor:&lt;/P&gt;
&lt;PRE&gt;parse content, "DATA JSON:json"&lt;BR /&gt;| fieldsRemove content&lt;BR /&gt;| fieldsRename content = json&lt;/PRE&gt;
&lt;P&gt;The result will have content field with only JSON part. Then make sure to route correct data to that pipeline in the Dynamic routing section.&lt;/P&gt;
&lt;P&gt;You may find more helpful resources &lt;A href="https://docs.dynatrace.com/docs/shortlink/openpipeline-processing-examples#parse-a-field-containing-json-as-a-raw-string" target="_self"&gt;here&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 08 Apr 2025 17:51:02 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Log-Analytics/Ingest-only-JSON-portion-of-this-log-entry/m-p/274699#M1264</guid>
      <dc:creator>HansLougas</dc:creator>
      <dc:date>2025-04-08T17:51:02Z</dc:date>
    </item>
    <item>
      <title>Re: Ingest only JSON portion of this log entry</title>
      <link>https://community.dynatrace.com/t5/Log-Analytics/Ingest-only-JSON-portion-of-this-log-entry/m-p/274701#M1265</link>
      <description>&lt;P&gt;Thanks !!&lt;/P&gt;&lt;P&gt;I have not used the pipeline stuff yet so let me give this a shot.&lt;/P&gt;</description>
      <pubDate>Tue, 08 Apr 2025 17:56:34 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Log-Analytics/Ingest-only-JSON-portion-of-this-log-entry/m-p/274701#M1265</guid>
      <dc:creator>chrmckenna</dc:creator>
      <dc:date>2025-04-08T17:56:34Z</dc:date>
    </item>
  </channel>
</rss>

