<?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>article Dynatrace Log Monitoring – Metric Shows No Data in Troubleshooting</title>
    <link>https://community.dynatrace.com/t5/Troubleshooting/Dynatrace-Log-Monitoring-Metric-Shows-No-Data/ta-p/290822</link>
    <description>&lt;P&gt;Summary:&amp;nbsp;&lt;SPAN&gt;This article addresses issues in &lt;/SPAN&gt;&lt;STRONG style="font-family: inherit;"&gt;Dynatrace Log Monitoring&lt;/STRONG&gt;&lt;SPAN&gt; where &lt;/SPAN&gt;&lt;STRONG style="font-family: inherit;"&gt;log-based metrics don't show data in Data Explorer or fail to trigger alerts for log-based metric events&lt;/STRONG&gt;&lt;SPAN&gt;. It explains why this happens, how to identify the root cause, and steps to resolve it.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;LI-TOC indent="15" liststyle="disc" maxheadinglevel="2"&gt;&lt;/LI-TOC&gt;&lt;/P&gt;
&lt;DIV class="lia-message-template-content-zone"&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;H2&gt;Problem&lt;/H2&gt;
&lt;DIV&gt;
&lt;P&gt;When configuring &lt;STRONG&gt;log-based metric events&lt;/STRONG&gt; in Dynatrace, you may encounter the following:&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;The log metric and metric event are created successfully.&lt;/LI&gt;
&lt;LI&gt;No data points appear in &lt;STRONG&gt;Data Explorer&lt;/STRONG&gt; for the metric.&lt;/LI&gt;
&lt;LI&gt;Alerting does not trigger, and the alert preview shows no data.&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;This typically occurs due to incorrect timestamp handling or timezone mismatches in log entries.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;/DIV&gt;
&lt;H2&gt;Troubleshooting steps&lt;/H2&gt;
&lt;DIV&gt;
&lt;UL&gt;
&lt;LI&gt;
&lt;P&gt;&lt;STRONG&gt;Check if the log metric matcher has data in the Log Viewer&lt;/STRONG&gt;&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;If &lt;STRONG&gt;No&lt;/STRONG&gt;, wait for new data to ingest.&lt;/LI&gt;
&lt;LI&gt;If &lt;STRONG&gt;Yes&lt;/STRONG&gt;, move to step 2.&lt;/LI&gt;
&lt;/UL&gt;
&lt;/LI&gt;
&lt;LI&gt;
&lt;P&gt;&lt;STRONG&gt;Check the metric in Data Explorer&lt;/STRONG&gt;&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;If &lt;STRONG&gt;Yes&lt;/STRONG&gt;, escalate for metric event troubleshooting.&lt;/LI&gt;
&lt;LI&gt;If &lt;STRONG&gt;No&lt;/STRONG&gt;, proceed to step 3.&lt;/LI&gt;
&lt;/UL&gt;
&lt;/LI&gt;
&lt;LI&gt;
&lt;P&gt;&lt;STRONG&gt;Open the preset dashboard: “Metric &amp;amp; Dimension Usage + Rejections”&lt;/STRONG&gt;&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;Look for &lt;STRONG&gt;metric rejection reasons&lt;/STRONG&gt; such as:
&lt;PRE&gt;timestamp too old&lt;/PRE&gt;
&lt;/LI&gt;
&lt;/UL&gt;
&lt;/LI&gt;
&lt;/UL&gt;
&lt;/DIV&gt;
&lt;P&gt;3. If Log Metric shows &lt;STRONG&gt;timestamp-related rejections&lt;/STRONG&gt;.&lt;/P&gt;
&lt;DIV class=""&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="nikitachauhan_3-1764844303729.png" style="width: 872px;"&gt;&lt;img src="https://community.dynatrace.com/t5/image/serverpage/image-id/31102iB5571924D975A6AA/image-dimensions/872x70?v=v2" width="872" height="70" role="button" title="nikitachauhan_3-1764844303729.png" alt="nikitachauhan_3-1764844303729.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;The range of a timestamp for accepting data that is used in metric creation is between &lt;STRONG&gt;1 hour&lt;/STRONG&gt; in the past and &lt;STRONG&gt;10 minutes&lt;/STRONG&gt; in the future. If no timestamp is provided, the server's current timestamp is used.&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="nikitachauhan_4-1764844331942.png" style="width: 673px;"&gt;&lt;img src="https://community.dynatrace.com/t5/image/serverpage/image-id/31103iF883E810AB5C4F2E/image-dimensions/673x185?v=v2" width="673" height="185" role="button" title="nikitachauhan_4-1764844331942.png" alt="nikitachauhan_4-1764844331942.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;Verify the timestamp of the log source and proceed with the resolution.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;H2&gt;Resolution&lt;/H2&gt;
&lt;DIV&gt;Create a Timestamp Rule and correct the timezone detection of log.source,&lt;/DIV&gt;
&lt;DIV&gt;&lt;A href="https://docs.dynatrace.com/docs/shortlink/lma-timestamp-configuration#timestamp-rules" target="_blank" rel="noopener"&gt;https://docs.dynatrace.com/docs/shortlink/lma-timestamp-configuration#timestamp-rules&lt;/A&gt;&lt;/DIV&gt;
&lt;DIV&gt;Or if required, set the correct timezone for the host from "Advanced log settings"&lt;BR /&gt;&lt;A class="" title="Define a specific date format using timestamp rules that specify what should be considered a timestamp in a log record." href="https://docs.dynatrace.com/docs/analyze-explore-automate/logs/lma-log-ingestion/lma-log-ingestion-via-oa/lma-timestamp-configuration" target="_blank" rel="noopener"&gt;Timestamp configuration&lt;/A&gt;&lt;SPAN&gt;&amp;nbsp;allows you to switch to timestamp detection in log records. This is helpful if you can’t configure the log producer.&lt;/SPAN&gt;&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;
&lt;DIV&gt;&lt;STRONG&gt;Why this helps:&lt;/STRONG&gt;&lt;BR /&gt;Timestamp configuration ensures Dynatrace correctly interprets log timestamps and avoids metric rejection due to “timestamp too old.”&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;H2&gt;&amp;nbsp;&lt;/H2&gt;
&lt;H2&gt;What's next&lt;/H2&gt;
&lt;DIV&gt;
&lt;P&gt;&lt;STRONG&gt;Wait for Matching Logs&lt;/STRONG&gt;&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;Metric events only generate data points when new log entries match the configured pattern.&lt;/LI&gt;
&lt;LI&gt;For testing, use a generic matcher expected to appear frequently.&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;If this article did not help, please open a support ticket and include:&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;Screenshot of the &lt;STRONG&gt;Metric Rejection Dashboard&lt;/STRONG&gt; showing the rejection reason.&lt;/LI&gt;
&lt;LI&gt;Information about:
&lt;UL&gt;
&lt;LI&gt;Log source path.&lt;/LI&gt;
&lt;LI&gt;Timezone of log entries.&lt;/LI&gt;
&lt;LI&gt;Metric configuration details.&lt;/LI&gt;
&lt;/UL&gt;
&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;&lt;STRONG&gt;&lt;SPAN data-contrast="auto"&gt;&lt;BR /&gt;What to read next:&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;SPAN data-ccp-props="{&amp;quot;134233117&amp;quot;:false,&amp;quot;134233118&amp;quot;:false,&amp;quot;335559738&amp;quot;:299,&amp;quot;335559739&amp;quot;:299}"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;span class="lia-inline-image-display-wrapper lia-image-align-left" image-alt="HannahM_0-1765272331709.png" style="width: 24px;"&gt;&lt;img src="https://community.dynatrace.com/t5/image/serverpage/image-id/31155i9A9C075F029CEECC/image-dimensions/24x24?v=v2" width="24" height="24" role="button" title="HannahM_0-1765272331709.png" alt="HannahM_0-1765272331709.png" /&gt;&lt;/span&gt;
&lt;P&gt;&lt;A href="https://docs.dynatrace.com/docs/shortlink/lma-log-metrics" target="_blank" rel="noopener"&gt;https://docs.dynatrace.com/docs/shortlink/lma-log-metrics&lt;/A&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://docs.dynatrace.com/docs/shortlink/lma-timestamp-configuration" target="_blank" rel="noopener"&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-left" image-alt="HannahM_0-1765272331709.png" style="width: 24px;"&gt;&lt;img src="https://community.dynatrace.com/t5/image/serverpage/image-id/31155i9A9C075F029CEECC/image-dimensions/24x24?v=v2" width="24" height="24" role="button" title="HannahM_0-1765272331709.png" alt="HannahM_0-1765272331709.png" /&gt;&lt;/span&gt;https://docs.dynatrace.com/docs/shortlink/lma-timestamp-configuration&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://docs.dynatrace.com/docs/shortlink/log-monitoring-metric-events" target="_blank" rel="noopener"&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-left" image-alt="HannahM_0-1765272331709.png" style="width: 24px;"&gt;&lt;img src="https://community.dynatrace.com/t5/image/serverpage/image-id/31155i9A9C075F029CEECC/image-dimensions/24x24?v=v2" width="24" height="24" role="button" title="HannahM_0-1765272331709.png" alt="HannahM_0-1765272331709.png" /&gt;&lt;/span&gt;https://docs.dynatrace.com/docs/shortlink/log-monitoring-metric-events&lt;/A&gt;&lt;/P&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;</description>
    <pubDate>Fri, 02 Jan 2026 14:50:58 GMT</pubDate>
    <dc:creator>nikitachauhan</dc:creator>
    <dc:date>2026-01-02T14:50:58Z</dc:date>
    <item>
      <title>Dynatrace Log Monitoring – Metric Shows No Data</title>
      <link>https://community.dynatrace.com/t5/Troubleshooting/Dynatrace-Log-Monitoring-Metric-Shows-No-Data/ta-p/290822</link>
      <description>&lt;P&gt;Summary:&amp;nbsp;&lt;SPAN&gt;This article addresses issues in &lt;/SPAN&gt;&lt;STRONG style="font-family: inherit;"&gt;Dynatrace Log Monitoring&lt;/STRONG&gt;&lt;SPAN&gt; where &lt;/SPAN&gt;&lt;STRONG style="font-family: inherit;"&gt;log-based metrics don't show data in Data Explorer or fail to trigger alerts for log-based metric events&lt;/STRONG&gt;&lt;SPAN&gt;. It explains why this happens, how to identify the root cause, and steps to resolve it.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;LI-TOC indent="15" liststyle="disc" maxheadinglevel="2"&gt;&lt;/LI-TOC&gt;&lt;/P&gt;
&lt;DIV class="lia-message-template-content-zone"&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;H2&gt;Problem&lt;/H2&gt;
&lt;DIV&gt;
&lt;P&gt;When configuring &lt;STRONG&gt;log-based metric events&lt;/STRONG&gt; in Dynatrace, you may encounter the following:&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;The log metric and metric event are created successfully.&lt;/LI&gt;
&lt;LI&gt;No data points appear in &lt;STRONG&gt;Data Explorer&lt;/STRONG&gt; for the metric.&lt;/LI&gt;
&lt;LI&gt;Alerting does not trigger, and the alert preview shows no data.&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;This typically occurs due to incorrect timestamp handling or timezone mismatches in log entries.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;/DIV&gt;
&lt;H2&gt;Troubleshooting steps&lt;/H2&gt;
&lt;DIV&gt;
&lt;UL&gt;
&lt;LI&gt;
&lt;P&gt;&lt;STRONG&gt;Check if the log metric matcher has data in the Log Viewer&lt;/STRONG&gt;&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;If &lt;STRONG&gt;No&lt;/STRONG&gt;, wait for new data to ingest.&lt;/LI&gt;
&lt;LI&gt;If &lt;STRONG&gt;Yes&lt;/STRONG&gt;, move to step 2.&lt;/LI&gt;
&lt;/UL&gt;
&lt;/LI&gt;
&lt;LI&gt;
&lt;P&gt;&lt;STRONG&gt;Check the metric in Data Explorer&lt;/STRONG&gt;&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;If &lt;STRONG&gt;Yes&lt;/STRONG&gt;, escalate for metric event troubleshooting.&lt;/LI&gt;
&lt;LI&gt;If &lt;STRONG&gt;No&lt;/STRONG&gt;, proceed to step 3.&lt;/LI&gt;
&lt;/UL&gt;
&lt;/LI&gt;
&lt;LI&gt;
&lt;P&gt;&lt;STRONG&gt;Open the preset dashboard: “Metric &amp;amp; Dimension Usage + Rejections”&lt;/STRONG&gt;&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;Look for &lt;STRONG&gt;metric rejection reasons&lt;/STRONG&gt; such as:
&lt;PRE&gt;timestamp too old&lt;/PRE&gt;
&lt;/LI&gt;
&lt;/UL&gt;
&lt;/LI&gt;
&lt;/UL&gt;
&lt;/DIV&gt;
&lt;P&gt;3. If Log Metric shows &lt;STRONG&gt;timestamp-related rejections&lt;/STRONG&gt;.&lt;/P&gt;
&lt;DIV class=""&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="nikitachauhan_3-1764844303729.png" style="width: 872px;"&gt;&lt;img src="https://community.dynatrace.com/t5/image/serverpage/image-id/31102iB5571924D975A6AA/image-dimensions/872x70?v=v2" width="872" height="70" role="button" title="nikitachauhan_3-1764844303729.png" alt="nikitachauhan_3-1764844303729.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;The range of a timestamp for accepting data that is used in metric creation is between &lt;STRONG&gt;1 hour&lt;/STRONG&gt; in the past and &lt;STRONG&gt;10 minutes&lt;/STRONG&gt; in the future. If no timestamp is provided, the server's current timestamp is used.&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="nikitachauhan_4-1764844331942.png" style="width: 673px;"&gt;&lt;img src="https://community.dynatrace.com/t5/image/serverpage/image-id/31103iF883E810AB5C4F2E/image-dimensions/673x185?v=v2" width="673" height="185" role="button" title="nikitachauhan_4-1764844331942.png" alt="nikitachauhan_4-1764844331942.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;Verify the timestamp of the log source and proceed with the resolution.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;H2&gt;Resolution&lt;/H2&gt;
&lt;DIV&gt;Create a Timestamp Rule and correct the timezone detection of log.source,&lt;/DIV&gt;
&lt;DIV&gt;&lt;A href="https://docs.dynatrace.com/docs/shortlink/lma-timestamp-configuration#timestamp-rules" target="_blank" rel="noopener"&gt;https://docs.dynatrace.com/docs/shortlink/lma-timestamp-configuration#timestamp-rules&lt;/A&gt;&lt;/DIV&gt;
&lt;DIV&gt;Or if required, set the correct timezone for the host from "Advanced log settings"&lt;BR /&gt;&lt;A class="" title="Define a specific date format using timestamp rules that specify what should be considered a timestamp in a log record." href="https://docs.dynatrace.com/docs/analyze-explore-automate/logs/lma-log-ingestion/lma-log-ingestion-via-oa/lma-timestamp-configuration" target="_blank" rel="noopener"&gt;Timestamp configuration&lt;/A&gt;&lt;SPAN&gt;&amp;nbsp;allows you to switch to timestamp detection in log records. This is helpful if you can’t configure the log producer.&lt;/SPAN&gt;&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;
&lt;DIV&gt;&lt;STRONG&gt;Why this helps:&lt;/STRONG&gt;&lt;BR /&gt;Timestamp configuration ensures Dynatrace correctly interprets log timestamps and avoids metric rejection due to “timestamp too old.”&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;H2&gt;&amp;nbsp;&lt;/H2&gt;
&lt;H2&gt;What's next&lt;/H2&gt;
&lt;DIV&gt;
&lt;P&gt;&lt;STRONG&gt;Wait for Matching Logs&lt;/STRONG&gt;&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;Metric events only generate data points when new log entries match the configured pattern.&lt;/LI&gt;
&lt;LI&gt;For testing, use a generic matcher expected to appear frequently.&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;If this article did not help, please open a support ticket and include:&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;Screenshot of the &lt;STRONG&gt;Metric Rejection Dashboard&lt;/STRONG&gt; showing the rejection reason.&lt;/LI&gt;
&lt;LI&gt;Information about:
&lt;UL&gt;
&lt;LI&gt;Log source path.&lt;/LI&gt;
&lt;LI&gt;Timezone of log entries.&lt;/LI&gt;
&lt;LI&gt;Metric configuration details.&lt;/LI&gt;
&lt;/UL&gt;
&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;&lt;STRONG&gt;&lt;SPAN data-contrast="auto"&gt;&lt;BR /&gt;What to read next:&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;SPAN data-ccp-props="{&amp;quot;134233117&amp;quot;:false,&amp;quot;134233118&amp;quot;:false,&amp;quot;335559738&amp;quot;:299,&amp;quot;335559739&amp;quot;:299}"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;span class="lia-inline-image-display-wrapper lia-image-align-left" image-alt="HannahM_0-1765272331709.png" style="width: 24px;"&gt;&lt;img src="https://community.dynatrace.com/t5/image/serverpage/image-id/31155i9A9C075F029CEECC/image-dimensions/24x24?v=v2" width="24" height="24" role="button" title="HannahM_0-1765272331709.png" alt="HannahM_0-1765272331709.png" /&gt;&lt;/span&gt;
&lt;P&gt;&lt;A href="https://docs.dynatrace.com/docs/shortlink/lma-log-metrics" target="_blank" rel="noopener"&gt;https://docs.dynatrace.com/docs/shortlink/lma-log-metrics&lt;/A&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://docs.dynatrace.com/docs/shortlink/lma-timestamp-configuration" target="_blank" rel="noopener"&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-left" image-alt="HannahM_0-1765272331709.png" style="width: 24px;"&gt;&lt;img src="https://community.dynatrace.com/t5/image/serverpage/image-id/31155i9A9C075F029CEECC/image-dimensions/24x24?v=v2" width="24" height="24" role="button" title="HannahM_0-1765272331709.png" alt="HannahM_0-1765272331709.png" /&gt;&lt;/span&gt;https://docs.dynatrace.com/docs/shortlink/lma-timestamp-configuration&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://docs.dynatrace.com/docs/shortlink/log-monitoring-metric-events" target="_blank" rel="noopener"&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-left" image-alt="HannahM_0-1765272331709.png" style="width: 24px;"&gt;&lt;img src="https://community.dynatrace.com/t5/image/serverpage/image-id/31155i9A9C075F029CEECC/image-dimensions/24x24?v=v2" width="24" height="24" role="button" title="HannahM_0-1765272331709.png" alt="HannahM_0-1765272331709.png" /&gt;&lt;/span&gt;https://docs.dynatrace.com/docs/shortlink/log-monitoring-metric-events&lt;/A&gt;&lt;/P&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;</description>
      <pubDate>Fri, 02 Jan 2026 14:50:58 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Troubleshooting/Dynatrace-Log-Monitoring-Metric-Shows-No-Data/ta-p/290822</guid>
      <dc:creator>nikitachauhan</dc:creator>
      <dc:date>2026-01-02T14:50:58Z</dc:date>
    </item>
    <item>
      <title>Re: Dynatrace Log Monitoring – Metric Shows No Data</title>
      <link>https://community.dynatrace.com/t5/Troubleshooting/Dynatrace-Log-Monitoring-Metric-Shows-No-Data/tac-p/291110#M1030</link>
      <description>&lt;P&gt;helpful , thank you&lt;/P&gt;</description>
      <pubDate>Tue, 09 Dec 2025 11:30:13 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Troubleshooting/Dynatrace-Log-Monitoring-Metric-Shows-No-Data/tac-p/291110#M1030</guid>
      <dc:creator>khaled_beshir</dc:creator>
      <dc:date>2025-12-09T11:30:13Z</dc:date>
    </item>
  </channel>
</rss>

