<?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 With DQL, Chart / alert on if a host or log source has not recieved any logs over a period of time. in DQL</title>
    <link>https://community.dynatrace.com/t5/DQL/With-DQL-Chart-alert-on-if-a-host-or-log-source-has-not-recieved/m-p/248060#M976</link>
    <description>&lt;P&gt;Hello all,&lt;/P&gt;&lt;P&gt;I'm looking for a way to chart if a log source has not received any logs in over two hours, and possibly alert on it using DQL.&amp;nbsp;&lt;/P&gt;&lt;P&gt;I would also like to do that from the host level, basically doing the same thing of showing how many logs a host has ingested in the last hour / if it's 0.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;</description>
    <pubDate>Tue, 11 Jun 2024 22:28:41 GMT</pubDate>
    <dc:creator>DanielDubs</dc:creator>
    <dc:date>2024-06-11T22:28:41Z</dc:date>
    <item>
      <title>With DQL, Chart / alert on if a host or log source has not recieved any logs over a period of time.</title>
      <link>https://community.dynatrace.com/t5/DQL/With-DQL-Chart-alert-on-if-a-host-or-log-source-has-not-recieved/m-p/248060#M976</link>
      <description>&lt;P&gt;Hello all,&lt;/P&gt;&lt;P&gt;I'm looking for a way to chart if a log source has not received any logs in over two hours, and possibly alert on it using DQL.&amp;nbsp;&lt;/P&gt;&lt;P&gt;I would also like to do that from the host level, basically doing the same thing of showing how many logs a host has ingested in the last hour / if it's 0.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;</description>
      <pubDate>Tue, 11 Jun 2024 22:28:41 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/DQL/With-DQL-Chart-alert-on-if-a-host-or-log-source-has-not-recieved/m-p/248060#M976</guid>
      <dc:creator>DanielDubs</dc:creator>
      <dc:date>2024-06-11T22:28:41Z</dc:date>
    </item>
    <item>
      <title>Re: With DQL, Chart / alert on if a host or log source has not recieved any logs over a period of time.</title>
      <link>https://community.dynatrace.com/t5/DQL/With-DQL-Chart-alert-on-if-a-host-or-log-source-has-not-recieved/m-p/248337#M983</link>
      <description>&lt;P&gt;Sounds like you want to count the log line ocurrences for specific log files, you can do that with a log metric, and base a metric event on it.&amp;nbsp;&lt;A href="https://docs.dynatrace.com/docs/shortlink/lma-log-metrics" target="_blank"&gt;https://docs.dynatrace.com/docs/shortlink/lma-log-metrics&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Here an example:&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;fetch logs, scanLimitGBytes: 2
| makeTimeseries count = count(), by:{log.source}, time:{timestamp}
| limit 10&lt;/LI-CODE&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="mark_bley_0-1718371359822.png" style="width: 400px;"&gt;&lt;img src="https://community.dynatrace.com/t5/image/serverpage/image-id/20547i1EEACDBBAD9738AE/image-size/medium?v=v2&amp;amp;px=400" role="button" title="mark_bley_0-1718371359822.png" alt="mark_bley_0-1718371359822.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 14 Jun 2024 13:23:10 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/DQL/With-DQL-Chart-alert-on-if-a-host-or-log-source-has-not-recieved/m-p/248337#M983</guid>
      <dc:creator>mark_bley</dc:creator>
      <dc:date>2024-06-14T13:23:10Z</dc:date>
    </item>
    <item>
      <title>Re: With DQL, Chart / alert on if a host or log source has not recieved any logs over a period of time.</title>
      <link>https://community.dynatrace.com/t5/DQL/With-DQL-Chart-alert-on-if-a-host-or-log-source-has-not-recieved/m-p/248371#M987</link>
      <description>&lt;P&gt;Exactly like&amp;nbsp;&lt;a href="https://community.dynatrace.com/t5/user/viewprofilepage/user-id/13072"&gt;@mark_bley&lt;/a&gt;&amp;nbsp;stated. The vast majority of the time, if you can build it in DQL/Data Explorer, you can alert on it via custom metric or even make a metric event.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 14 Jun 2024 19:21:35 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/DQL/With-DQL-Chart-alert-on-if-a-host-or-log-source-has-not-recieved/m-p/248371#M987</guid>
      <dc:creator>ChadTurner</dc:creator>
      <dc:date>2024-06-14T19:21:35Z</dc:date>
    </item>
  </channel>
</rss>

