<?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 metric extraction not working in Dynatrace Managed Q&amp;A</title>
    <link>https://community.dynatrace.com/t5/Dynatrace-Managed-Q-A/Log-metric-extraction-not-working/m-p/259191#M3600</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I was not sure 100% but and I will remember it for sure!&amp;nbsp;&lt;span class="lia-unicode-emoji" title=":winking_face:"&gt;😉&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Best regards&lt;/P&gt;</description>
    <pubDate>Mon, 14 Oct 2024 17:17:45 GMT</pubDate>
    <dc:creator>AntonPineiro</dc:creator>
    <dc:date>2024-10-14T17:17:45Z</dc:date>
    <item>
      <title>Log metric extraction not working</title>
      <link>https://community.dynatrace.com/t5/Dynatrace-Managed-Q-A/Log-metric-extraction-not-working/m-p/258854#M3588</link>
      <description>&lt;P&gt;Hi all,&lt;/P&gt;
&lt;P&gt;I have the SQL Extension running on my environment, adding logs automatically. I would like to extract a value from the logs using log metrics, but it is not working.&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;Sample logs:&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="DamianG_0-1728579647374.png" style="width: 688px;"&gt;&lt;img src="https://community.dynatrace.com/t5/image/serverpage/image-id/23507i2C035E262022A124/image-dimensions/688x150?v=v2" width="688" height="150" role="button" title="DamianG_0-1728579647374.png" alt="DamianG_0-1728579647374.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;Log details: some entries contains details of the SQL "largest_files", as attributes (such as file_name, file_size):
&lt;DIV class=""&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="DamianG_2-1728579753974.png" style="width: 488px;"&gt;&lt;img src="https://community.dynatrace.com/t5/image/serverpage/image-id/23509iE403D9288CFEA391/image-dimensions/488x604?v=v2" width="488" height="604" role="button" title="DamianG_2-1728579753974.png" alt="DamianG_2-1728579753974.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;I created a processing rule but it is not working:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="DamianG_3-1728579819704.png" style="width: 400px;"&gt;&lt;img src="https://community.dynatrace.com/t5/image/serverpage/image-id/23510iC38245A734C9B715/image-size/medium?v=v2&amp;amp;px=400" role="button" title="DamianG_3-1728579819704.png" alt="DamianG_3-1728579819704.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;where I used &amp;lt;&amp;lt;content="\\MSSQL\\DATA\\"&amp;gt;&amp;gt; as filter for the log entries.&amp;nbsp;&lt;SPAN&gt;I'm using the attributes included in each log entry, but metric extraction rule is not working:&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="DamianG_4-1728579884452.png" style="width: 400px;"&gt;&lt;img src="https://community.dynatrace.com/t5/image/serverpage/image-id/23511i60C0EA47FFEE8003/image-size/medium?v=v2&amp;amp;px=400" role="button" title="DamianG_4-1728579884452.png" alt="DamianG_4-1728579884452.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;What I'm doing wrong?&lt;/P&gt;
&lt;P&gt;Thank you.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 16 Oct 2024 06:37:22 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Dynatrace-Managed-Q-A/Log-metric-extraction-not-working/m-p/258854#M3588</guid>
      <dc:creator>DamianG</dc:creator>
      <dc:date>2024-10-16T06:37:22Z</dc:date>
    </item>
    <item>
      <title>Re: Log metric extraction not working</title>
      <link>https://community.dynatrace.com/t5/Dynatrace-Managed-Q-A/Log-metric-extraction-not-working/m-p/258958#M3591</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Which value do you want to extract?&lt;/P&gt;&lt;P&gt;I would create processing rule from log viewer:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="AntonPineiro_0-1728658633116.png" style="width: 400px;"&gt;&lt;img src="https://community.dynatrace.com/t5/image/serverpage/image-id/23549i09F284C50FAB3456/image-size/medium?v=v2&amp;amp;px=400" role="button" title="AntonPineiro_0-1728658633116.png" alt="AntonPineiro_0-1728658633116.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Because it would add log content in rule for testing:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="AntonPineiro_1-1728658652489.png" style="width: 400px;"&gt;&lt;img src="https://community.dynatrace.com/t5/image/serverpage/image-id/23550i64D2730554A4F233/image-size/medium?v=v2&amp;amp;px=400" role="button" title="AntonPineiro_1-1728658652489.png" alt="AntonPineiro_1-1728658652489.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;And you can create processor definition and test rule, as preview. And you can save it when you see it is working as expected.&lt;/P&gt;&lt;P&gt;Best regards&lt;/P&gt;</description>
      <pubDate>Fri, 11 Oct 2024 15:00:29 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Dynatrace-Managed-Q-A/Log-metric-extraction-not-working/m-p/258958#M3591</guid>
      <dc:creator>AntonPineiro</dc:creator>
      <dc:date>2024-10-11T15:00:29Z</dc:date>
    </item>
    <item>
      <title>Re: Log metric extraction not working</title>
      <link>https://community.dynatrace.com/t5/Dynatrace-Managed-Q-A/Log-metric-extraction-not-working/m-p/259063#M3595</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I've created the processing rule using log viewer as you said. In addition, I've created a processor definition, based in the automatic log content in rule for testing:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="DamianG_2-1728887910423.png" style="width: 400px;"&gt;&lt;img src="https://community.dynatrace.com/t5/image/serverpage/image-id/23586iBFF0E4658C0F9305/image-size/medium?v=v2&amp;amp;px=400" role="button" title="DamianG_2-1728887910423.png" alt="DamianG_2-1728887910423.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="DamianG_0-1728887493310.png" style="width: 400px;"&gt;&lt;img src="https://community.dynatrace.com/t5/image/serverpage/image-id/23584i074A828A67F123D1/image-size/medium?v=v2&amp;amp;px=400" role="button" title="DamianG_0-1728887493310.png" alt="DamianG_0-1728887493310.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;I think this step should not be needed, as the log content is based in &lt;STRONG&gt;attributes&lt;/STRONG&gt; added automatically by the log monitoring:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="DamianG_1-1728887843896.png" style="width: 400px;"&gt;&lt;img src="https://community.dynatrace.com/t5/image/serverpage/image-id/23585i6EFC54C761386F30/image-size/medium?v=v2&amp;amp;px=400" role="button" title="DamianG_1-1728887843896.png" alt="DamianG_1-1728887843896.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Anyway, the processing rule is created and, after that, the "Metrics extraction" rule as follows:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="DamianG_3-1728887968239.png" style="width: 400px;"&gt;&lt;img src="https://community.dynatrace.com/t5/image/serverpage/image-id/23587iD5C03B1C383341B1/image-size/medium?v=v2&amp;amp;px=400" role="button" title="DamianG_3-1728887968239.png" alt="DamianG_3-1728887968239.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="DamianG_4-1728888016999.png" style="width: 400px;"&gt;&lt;img src="https://community.dynatrace.com/t5/image/serverpage/image-id/23588i721538B033CEAC5F/image-size/medium?v=v2&amp;amp;px=400" role="button" title="DamianG_4-1728888016999.png" alt="DamianG_4-1728888016999.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Attribute "file_name", "database", "file_size" and "server" are already visible automatically in the Log Viewer, as mentioned before, and also included in the log processing rule.&amp;nbsp; But the metric is not available yet.&lt;/P&gt;&lt;P&gt;Thank you.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 14 Oct 2024 06:43:18 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Dynatrace-Managed-Q-A/Log-metric-extraction-not-working/m-p/259063#M3595</guid>
      <dc:creator>DamianG</dc:creator>
      <dc:date>2024-10-14T06:43:18Z</dc:date>
    </item>
    <item>
      <title>Re: Log metric extraction not working</title>
      <link>https://community.dynatrace.com/t5/Dynatrace-Managed-Q-A/Log-metric-extraction-not-working/m-p/259097#M3598</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;As it is a metric, can you try to add file_size as attribute? It means, file_size as attribute, and file_name as dimension.&lt;/P&gt;&lt;P&gt;Just to try as file_size is INT value, maybe does not like to add STRING as metric.&lt;/P&gt;&lt;P&gt;Best regards&lt;/P&gt;</description>
      <pubDate>Mon, 14 Oct 2024 08:55:57 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Dynatrace-Managed-Q-A/Log-metric-extraction-not-working/m-p/259097#M3598</guid>
      <dc:creator>AntonPineiro</dc:creator>
      <dc:date>2024-10-14T08:55:57Z</dc:date>
    </item>
    <item>
      <title>Re: Log metric extraction not working</title>
      <link>https://community.dynatrace.com/t5/Dynatrace-Managed-Q-A/Log-metric-extraction-not-working/m-p/259127#M3599</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Good point! I've changed as suggested (&lt;STRONG&gt;file_size&lt;/STRONG&gt; as attribute) and now it is working:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="DamianG_0-1728908544926.png" style="width: 400px;"&gt;&lt;img src="https://community.dynatrace.com/t5/image/serverpage/image-id/23601i9B327C70FE8A4444/image-size/medium?v=v2&amp;amp;px=400" role="button" title="DamianG_0-1728908544926.png" alt="DamianG_0-1728908544926.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Thank you so much for your help!&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;</description>
      <pubDate>Mon, 14 Oct 2024 12:23:57 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Dynatrace-Managed-Q-A/Log-metric-extraction-not-working/m-p/259127#M3599</guid>
      <dc:creator>DamianG</dc:creator>
      <dc:date>2024-10-14T12:23:57Z</dc:date>
    </item>
    <item>
      <title>Re: Log metric extraction not working</title>
      <link>https://community.dynatrace.com/t5/Dynatrace-Managed-Q-A/Log-metric-extraction-not-working/m-p/259191#M3600</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I was not sure 100% but and I will remember it for sure!&amp;nbsp;&lt;span class="lia-unicode-emoji" title=":winking_face:"&gt;😉&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Best regards&lt;/P&gt;</description>
      <pubDate>Mon, 14 Oct 2024 17:17:45 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Dynatrace-Managed-Q-A/Log-metric-extraction-not-working/m-p/259191#M3600</guid>
      <dc:creator>AntonPineiro</dc:creator>
      <dc:date>2024-10-14T17:17:45Z</dc:date>
    </item>
  </channel>
</rss>

