<?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: Alert for Finding Systems that Stopped Reporting in Alerting</title>
    <link>https://community.splunk.com/t5/Alerting/Alert-for-Finding-Systems-that-Stopped-Reporting/m-p/542856#M10294</link>
    <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/232231"&gt;@uofrmike&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;using join with so many events (like _internal) will surely be a very slow search.&lt;/P&gt;&lt;P&gt;Please try a different approach:&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;index=_internal earliest=-3d@d latest=now
| eval day=if(now()-_time&amp;lt;86400,"Last day","Previous days")
| stata dc(day) AS dc_day values(day) AS day count BY host
| where dc_day=1 AND day="Previous days"&lt;/LI-CODE&gt;&lt;P&gt;Ciao.&lt;/P&gt;&lt;P&gt;Giuseppe&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Mon, 08 Mar 2021 15:58:51 GMT</pubDate>
    <dc:creator>gcusello</dc:creator>
    <dc:date>2021-03-08T15:58:51Z</dc:date>
    <item>
      <title>Alert for Finding Systems that Stopped Reporting</title>
      <link>https://community.splunk.com/t5/Alerting/Alert-for-Finding-Systems-that-Stopped-Reporting/m-p/542852#M10293</link>
      <description>&lt;P&gt;I created the following alert for finding systems that have recently stopped reporting.&amp;nbsp; I haven't seen a similar solution to this problem so I thought I would post it here in hopes that it might help others.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This alert will find hosts that haven't sent data within the last day, but have in the days previous.&amp;nbsp; It's set for the 3 days prior, but can be changed to a longer duration.&amp;nbsp; It will report each host for 3 days to allow time for the admins to take action to get the system online.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Suggest that the alert be set to run daily.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;index=_internal source=*license_usage.log type=Usage earliest=-5d@d latest=-2d@d&lt;BR /&gt;| eval HostSource=idx . " / " . h . " / " . st&lt;BR /&gt;| fields HostSource&lt;BR /&gt;| dedup HostSource&lt;BR /&gt;| eval PAST="YES"&lt;BR /&gt;| join type=outer HostSource [ search index=_internal source=*license_usage.log type=Usage earliest=-2d@d latest=-1d@d | eval HostSource=idx . " / " . h . " / " . st | fields HostSource | dedup HostSource | eval PRESENT="YES" ]&lt;BR /&gt;| where isnull(PRESENT)&lt;BR /&gt;| table HostSource&lt;BR /&gt;| sort by HostSource&lt;/P&gt;</description>
      <pubDate>Mon, 08 Mar 2021 15:32:47 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Alerting/Alert-for-Finding-Systems-that-Stopped-Reporting/m-p/542852#M10293</guid>
      <dc:creator>uofrmike</dc:creator>
      <dc:date>2021-03-08T15:32:47Z</dc:date>
    </item>
    <item>
      <title>Re: Alert for Finding Systems that Stopped Reporting</title>
      <link>https://community.splunk.com/t5/Alerting/Alert-for-Finding-Systems-that-Stopped-Reporting/m-p/542856#M10294</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/232231"&gt;@uofrmike&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;using join with so many events (like _internal) will surely be a very slow search.&lt;/P&gt;&lt;P&gt;Please try a different approach:&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;index=_internal earliest=-3d@d latest=now
| eval day=if(now()-_time&amp;lt;86400,"Last day","Previous days")
| stata dc(day) AS dc_day values(day) AS day count BY host
| where dc_day=1 AND day="Previous days"&lt;/LI-CODE&gt;&lt;P&gt;Ciao.&lt;/P&gt;&lt;P&gt;Giuseppe&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 08 Mar 2021 15:58:51 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Alerting/Alert-for-Finding-Systems-that-Stopped-Reporting/m-p/542856#M10294</guid>
      <dc:creator>gcusello</dc:creator>
      <dc:date>2021-03-08T15:58:51Z</dc:date>
    </item>
  </channel>
</rss>

