<?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: Log processing parse in Log Analytics</title>
    <link>https://community.dynatrace.com/t5/Log-Analytics/Log-processing-parse/m-p/199114#M655</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;this rule should work for you&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;PARSE(content,"DATA 'processId: '
[a-z0-9-]*:obm.process.id
")&lt;/LI-CODE&gt;
&lt;P&gt;Best,&lt;/P&gt;
&lt;P&gt;Sini&lt;/P&gt;</description>
    <pubDate>Thu, 24 Nov 2022 12:21:00 GMT</pubDate>
    <dc:creator>sinisa_zubic</dc:creator>
    <dc:date>2022-11-24T12:21:00Z</dc:date>
    <item>
      <title>Log processing parse</title>
      <link>https://community.dynatrace.com/t5/Log-Analytics/Log-processing-parse/m-p/199099#M653</link>
      <description>&lt;P&gt;Hi Folks,&lt;/P&gt;
&lt;P&gt;Could you please help me?&lt;/P&gt;
&lt;P&gt;I have a simple log processing rule:&lt;/P&gt;
&lt;P&gt;PARSE(content,"DATA 'processId: '&lt;/P&gt;
&lt;P&gt;STRING:obm.process.id&lt;/P&gt;
&lt;P&gt;")&lt;/P&gt;
&lt;P&gt;This is a sample log record:&lt;/P&gt;
&lt;P&gt;"content": "2022-11-24 09:40:00.978 INFO [DefaultMessageListenerContainer-1] [dt.span_id=44674bb73d679f33, dt.trace_id=1cc4cc7291fd055e7b5972f075f436da, dt.trace_sampled=true] h.i.o.mq.service.JmsServiceImpl - Message has been received.\nType: PublishDeviceStatusChangeDg_v2, businessId: 72b08373-fecb-4295-94da-9c9a98418edc, processId: dc486074-7389-4320-be7d-666da9534021, source: EDMAMGMT, destination: null",&lt;/P&gt;
&lt;P&gt;This is the obm.process.id result:&lt;/P&gt;
&lt;P&gt;"obm.process.id": "dc486074-7389-4320-be7d-666da9534021&lt;STRONG&gt;,&lt;/STRONG&gt;"&lt;/P&gt;
&lt;P&gt;Is it possible somehow to eliminate the comma from the end of the result without to change the original log structure?&lt;/P&gt;
&lt;P&gt;Thanks in advance.&lt;/P&gt;
&lt;P&gt;Best regards,&lt;/P&gt;
&lt;P&gt;Mizső&lt;/P&gt;</description>
      <pubDate>Thu, 24 Nov 2022 10:05:59 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Log-Analytics/Log-processing-parse/m-p/199099#M653</guid>
      <dc:creator>Mizső</dc:creator>
      <dc:date>2022-11-24T10:05:59Z</dc:date>
    </item>
    <item>
      <title>Re: Log processing parse</title>
      <link>https://community.dynatrace.com/t5/Log-Analytics/Log-processing-parse/m-p/199102#M654</link>
      <description>&lt;P&gt;Haven't checked, but would it help to continue parsing? Like :&lt;/P&gt;
&lt;P&gt; &lt;/P&gt;
&lt;P&gt;PARSE(content,"DATA 'processId: '&lt;/P&gt;
&lt;P&gt;STRING:obm.process.id, '&lt;SPAN&gt;source: ' STRING:source.id, 'destination: 'STRING:destination&lt;/SPAN&gt;")&lt;/P&gt;
&lt;P&gt; &lt;/P&gt;
&lt;P&gt; &lt;/P&gt;</description>
      <pubDate>Thu, 24 Nov 2022 10:36:53 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Log-Analytics/Log-processing-parse/m-p/199102#M654</guid>
      <dc:creator>Radoslaw_Szulgo</dc:creator>
      <dc:date>2022-11-24T10:36:53Z</dc:date>
    </item>
    <item>
      <title>Re: Log processing parse</title>
      <link>https://community.dynatrace.com/t5/Log-Analytics/Log-processing-parse/m-p/199114#M655</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;this rule should work for you&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;PARSE(content,"DATA 'processId: '
[a-z0-9-]*:obm.process.id
")&lt;/LI-CODE&gt;
&lt;P&gt;Best,&lt;/P&gt;
&lt;P&gt;Sini&lt;/P&gt;</description>
      <pubDate>Thu, 24 Nov 2022 12:21:00 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Log-Analytics/Log-processing-parse/m-p/199114#M655</guid>
      <dc:creator>sinisa_zubic</dc:creator>
      <dc:date>2022-11-24T12:21:00Z</dc:date>
    </item>
    <item>
      <title>Re: Log processing parse</title>
      <link>https://community.dynatrace.com/t5/Log-Analytics/Log-processing-parse/m-p/199116#M656</link>
      <description>&lt;P&gt;Hi &lt;a href="https://community.dynatrace.com/t5/user/viewprofilepage/user-id/38283"&gt;@sinisa_zubic&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;Thanks for your replay and help.&lt;/P&gt;&lt;P&gt;The result does not meet the expectation.&lt;/P&gt;&lt;P&gt;Tested with it:&lt;/P&gt;&lt;P&gt;processId: 1C81A74E-0E7C-4B55-A4AC-5BB360FC94E0,&lt;/P&gt;&lt;P&gt;Result:&lt;/P&gt;&lt;P&gt;"obm.process.id": "1"&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;Mizső&lt;/P&gt;</description>
      <pubDate>Thu, 24 Nov 2022 12:34:56 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Log-Analytics/Log-processing-parse/m-p/199116#M656</guid>
      <dc:creator>Mizső</dc:creator>
      <dc:date>2022-11-24T12:34:56Z</dc:date>
    </item>
    <item>
      <title>Re: Log processing parse</title>
      <link>https://community.dynatrace.com/t5/Log-Analytics/Log-processing-parse/m-p/199117#M657</link>
      <description>&lt;P&gt;you need to adjust a bit the rule: &lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;PARSE(content,"DATA 'processId: '
[a-zA-Z0-9-]*:obm.process.id
")&lt;/LI-CODE&gt;
&lt;P&gt;In the initially provided example "process id" did not contain any upper case characters, so I added to the character group (&lt;FONT face="courier new,courier"&gt;[a-zA-Z0-9-]&lt;/FONT&gt;) also uppercase characters.&lt;/P&gt;
&lt;P&gt; &lt;/P&gt;
&lt;P&gt;Best,&lt;/P&gt;
&lt;P&gt;Sini&lt;/P&gt;</description>
      <pubDate>Thu, 24 Nov 2022 12:42:36 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Log-Analytics/Log-processing-parse/m-p/199117#M657</guid>
      <dc:creator>sinisa_zubic</dc:creator>
      <dc:date>2022-11-24T12:42:36Z</dc:date>
    </item>
    <item>
      <title>Re: Log processing parse</title>
      <link>https://community.dynatrace.com/t5/Log-Analytics/Log-processing-parse/m-p/199118#M658</link>
      <description>&lt;P&gt;Hi &lt;a href="https://community.dynatrace.com/t5/user/viewprofilepage/user-id/38283"&gt;@sinisa_zubic&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;Thanks for your help, with a minor chage it works. Becasue it case sensitive.&lt;/P&gt;&lt;P&gt;So this is the correct parse:&lt;/P&gt;&lt;P&gt;Parse(content, "DATA 'processId: '&lt;/P&gt;&lt;P&gt;[A-Z0-9-]*:obm.process.id&lt;/P&gt;&lt;P&gt;")&lt;/P&gt;&lt;P&gt;The source log is a ..... sometimes the id is uppercase sometimes lowercase. &lt;span class="lia-unicode-emoji" title=":disappointed_face:"&gt;😞&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;Mizső&lt;/P&gt;</description>
      <pubDate>Thu, 24 Nov 2022 12:46:01 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Log-Analytics/Log-processing-parse/m-p/199118#M658</guid>
      <dc:creator>Mizső</dc:creator>
      <dc:date>2022-11-24T12:46:01Z</dc:date>
    </item>
    <item>
      <title>Re: Log processing parse</title>
      <link>https://community.dynatrace.com/t5/Log-Analytics/Log-processing-parse/m-p/264866#M1125</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://community.dynatrace.com/t5/user/viewprofilepage/user-id/38283"&gt;@sinisa_zubic&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I require your help in interpreting an error code for parsing/presentation as a table field.&lt;/P&gt;&lt;P&gt;2024-12-10 09:44:45.255 &lt;STRONG&gt;ERROR&lt;/STRONG&gt; [users,CIBW,9f812ead596fb3f1fb1c3c10e0ffafb5,8a17037d4d18df4a,CIBW12100943945135fe9f48ab6b346d56b,http-nio-8080-exec-6] com.abcdefg.ib.commons.advice.ErrorAdvice.handleIntegrationException:92 | Boom! &lt;STRONG&gt;Code: E000000&lt;/STRONG&gt;, Message:&lt;STRONG&gt;E000000&lt;/STRONG&gt;,&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Babar&lt;/P&gt;</description>
      <pubDate>Tue, 10 Dec 2024 09:58:12 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Log-Analytics/Log-processing-parse/m-p/264866#M1125</guid>
      <dc:creator>Babar_Qayyum</dc:creator>
      <dc:date>2024-12-10T09:58:12Z</dc:date>
    </item>
  </channel>
</rss>

