<?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 Add a threshold for a timestamp field in Dashboarding</title>
    <link>https://community.dynatrace.com/t5/Dashboarding/Add-a-threshold-for-a-timestamp-field/m-p/268616#M4749</link>
    <description>&lt;P&gt;I have a requirement to create a dashboard panel to show the newest date for a particular log entry and highlight it, if it's older than today's date.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I've created a panel that pulls this information via the following DQL into a single value panel -&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;fetch logs
| filter //some filter criteria
| summarize max_timestamp = max(timestamp)&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;This shows up as the following panel in the dashboard.&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="newest_log_entry.png" style="width: 348px;"&gt;&lt;img src="https://community.dynatrace.com/t5/image/serverpage/image-id/26033i42B0F3735299D457/image-size/medium?v=v2&amp;amp;px=400" role="button" title="newest_log_entry.png" alt="newest_log_entry.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Now, in order to highlight the text in red if the date is less than today's date, I went to the thresholds but could not find a way to select the variable to set this.&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="threshold_option_not_available.png" style="width: 373px;"&gt;&lt;img src="https://community.dynatrace.com/t5/image/serverpage/image-id/26035i3C9FEA4EC08271DE/image-size/medium?v=v2&amp;amp;px=400" role="button" title="threshold_option_not_available.png" alt="threshold_option_not_available.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;How can I set a threshold for the timestamp value to show up in red color if it's older than today's date?&lt;/P&gt;
&lt;P&gt;Thank you!&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Fri, 05 Dec 2025 11:11:44 GMT</pubDate>
    <dc:creator>aganpathi</dc:creator>
    <dc:date>2025-12-05T11:11:44Z</dc:date>
    <item>
      <title>Add a threshold for a timestamp field</title>
      <link>https://community.dynatrace.com/t5/Dashboarding/Add-a-threshold-for-a-timestamp-field/m-p/268616#M4749</link>
      <description>&lt;P&gt;I have a requirement to create a dashboard panel to show the newest date for a particular log entry and highlight it, if it's older than today's date.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I've created a panel that pulls this information via the following DQL into a single value panel -&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;fetch logs
| filter //some filter criteria
| summarize max_timestamp = max(timestamp)&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;This shows up as the following panel in the dashboard.&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="newest_log_entry.png" style="width: 348px;"&gt;&lt;img src="https://community.dynatrace.com/t5/image/serverpage/image-id/26033i42B0F3735299D457/image-size/medium?v=v2&amp;amp;px=400" role="button" title="newest_log_entry.png" alt="newest_log_entry.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Now, in order to highlight the text in red if the date is less than today's date, I went to the thresholds but could not find a way to select the variable to set this.&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="threshold_option_not_available.png" style="width: 373px;"&gt;&lt;img src="https://community.dynatrace.com/t5/image/serverpage/image-id/26035i3C9FEA4EC08271DE/image-size/medium?v=v2&amp;amp;px=400" role="button" title="threshold_option_not_available.png" alt="threshold_option_not_available.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;How can I set a threshold for the timestamp value to show up in red color if it's older than today's date?&lt;/P&gt;
&lt;P&gt;Thank you!&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 05 Dec 2025 11:11:44 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Dashboarding/Add-a-threshold-for-a-timestamp-field/m-p/268616#M4749</guid>
      <dc:creator>aganpathi</dc:creator>
      <dc:date>2025-12-05T11:11:44Z</dc:date>
    </item>
    <item>
      <title>Re: How do I add a threshold for a timestamp field</title>
      <link>https://community.dynatrace.com/t5/Dashboarding/Add-a-threshold-for-a-timestamp-field/m-p/268631#M4751</link>
      <description>&lt;P&gt;Unfortunately it doesn't look like this is possible at the moment. It would be great to see that so it would be a good suggestion for the ideas section of the forum. In the meantime you could evaluate the log in the query like I have done below and then show a string true/false (or any string). And then you can set thresholds on strings.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Fin_Ubels_0-1738102125603.png" style="width: 400px;"&gt;&lt;img src="https://community.dynatrace.com/t5/image/serverpage/image-id/26038i3F185DDD762552C1/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Fin_Ubels_0-1738102125603.png" alt="Fin_Ubels_0-1738102125603.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Couldn't find a way to include the timestamp in a single value along with the true/false since it is a single value. You could also play around with using a table but it wont be as aesthetic.&lt;/P&gt;</description>
      <pubDate>Tue, 28 Jan 2025 22:12:12 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Dashboarding/Add-a-threshold-for-a-timestamp-field/m-p/268631#M4751</guid>
      <dc:creator>Fin_Ubels</dc:creator>
      <dc:date>2025-01-28T22:12:12Z</dc:date>
    </item>
  </channel>
</rss>

