<?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: How do I make an alert for hosts that haven't sent their logs in? in Alerting</title>
    <link>https://community.splunk.com/t5/Alerting/How-do-I-make-an-alert-for-hosts-that-haven-t-sent-their-logs-in/m-p/466855#M12631</link>
    <description>&lt;P&gt;using this lookup table would it just have one column that being my hosts and the servers underneath it with no other columns?&lt;/P&gt;</description>
    <pubDate>Fri, 29 May 2020 21:11:32 GMT</pubDate>
    <dc:creator>splunktrainingu</dc:creator>
    <dc:date>2020-05-29T21:11:32Z</dc:date>
    <item>
      <title>How do I make an alert for hosts that haven't sent their logs in?</title>
      <link>https://community.splunk.com/t5/Alerting/How-do-I-make-an-alert-for-hosts-that-haven-t-sent-their-logs-in/m-p/466852#M12628</link>
      <description>&lt;P&gt;I am only curious for a certain index&lt;/P&gt;

&lt;BLOCKQUOTE&gt;
&lt;P&gt;&lt;CODE&gt;index=abc&lt;BR /&gt;
 | stats count by host&lt;BR /&gt;
 | stats sum(count) AS Total BY host&lt;BR /&gt;
 | where Total&amp;gt;0&lt;/CODE&gt;&lt;/P&gt;
&lt;/BLOCKQUOTE&gt;

&lt;P&gt;This search is good to see how many logs are coming in for my hosts in that index but the problem is when a host stops sending I have no alert for it. I tried changing the "|where Total&amp;gt;=0"  but it took off the host from my table when it hit zero. How can I adjust or change my query to make it so I can alert when a host hits 0 logs. &lt;/P&gt;</description>
      <pubDate>Thu, 28 May 2020 23:31:31 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Alerting/How-do-I-make-an-alert-for-hosts-that-haven-t-sent-their-logs-in/m-p/466852#M12628</guid>
      <dc:creator>splunktrainingu</dc:creator>
      <dc:date>2020-05-28T23:31:31Z</dc:date>
    </item>
    <item>
      <title>Re: How do I make an alert for hosts that haven't sent their logs in?</title>
      <link>https://community.splunk.com/t5/Alerting/How-do-I-make-an-alert-for-hosts-that-haven-t-sent-their-logs-in/m-p/466853#M12629</link>
      <description>&lt;PRE&gt;&lt;CODE&gt;index=abc 
| stats count by host 
| append [| makeresults
| eval host=split("hostA,hostB,hostC ... ",",")
| mvexpand host
| fields host
| table host]
| stats sum(count) AS Total BY host | where Total&amp;gt;0
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;instead of &lt;CODE&gt;append [....]&lt;/CODE&gt; , you can create &lt;EM&gt;host.csv&lt;/EM&gt; and use &lt;CODE&gt;| inputlookup append=t host.csv&lt;/CODE&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 29 May 2020 04:02:57 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Alerting/How-do-I-make-an-alert-for-hosts-that-haven-t-sent-their-logs-in/m-p/466853#M12629</guid>
      <dc:creator>to4kawa</dc:creator>
      <dc:date>2020-05-29T04:02:57Z</dc:date>
    </item>
    <item>
      <title>Re: How do I make an alert for hosts that haven't sent their logs in?</title>
      <link>https://community.splunk.com/t5/Alerting/How-do-I-make-an-alert-for-hosts-that-haven-t-sent-their-logs-in/m-p/466854#M12630</link>
      <description>&lt;P&gt;If you instead are looking for a more global solution consider:&lt;BR /&gt;
&lt;A href="https://splunkbase.splunk.com/app/4621/"&gt;TrackMe&lt;/A&gt;&lt;BR /&gt;
Or &lt;A href="https://splunkbase.splunk.com/app/2949/"&gt;Meta Woot!&lt;/A&gt;&lt;BR /&gt;
Or &lt;A href="https://splunkbase.splunk.com/app/3247/"&gt;Broken hosts&lt;/A&gt;&lt;/P&gt;

&lt;P&gt;I use TrackMe at the moment &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 29 May 2020 10:04:02 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Alerting/How-do-I-make-an-alert-for-hosts-that-haven-t-sent-their-logs-in/m-p/466854#M12630</guid>
      <dc:creator>gjanders</dc:creator>
      <dc:date>2020-05-29T10:04:02Z</dc:date>
    </item>
    <item>
      <title>Re: How do I make an alert for hosts that haven't sent their logs in?</title>
      <link>https://community.splunk.com/t5/Alerting/How-do-I-make-an-alert-for-hosts-that-haven-t-sent-their-logs-in/m-p/466855#M12631</link>
      <description>&lt;P&gt;using this lookup table would it just have one column that being my hosts and the servers underneath it with no other columns?&lt;/P&gt;</description>
      <pubDate>Fri, 29 May 2020 21:11:32 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Alerting/How-do-I-make-an-alert-for-hosts-that-haven-t-sent-their-logs-in/m-p/466855#M12631</guid>
      <dc:creator>splunktrainingu</dc:creator>
      <dc:date>2020-05-29T21:11:32Z</dc:date>
    </item>
    <item>
      <title>Re: How do I make an alert for hosts that haven't sent their logs in?</title>
      <link>https://community.splunk.com/t5/Alerting/How-do-I-make-an-alert-for-hosts-that-haven-t-sent-their-logs-in/m-p/466856#M12632</link>
      <description>&lt;P&gt;Thank you, my concern is does this app need to go on my forwarders or the is the app downloaded to app folder on my splunk indexer?&lt;/P&gt;</description>
      <pubDate>Fri, 29 May 2020 22:18:57 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Alerting/How-do-I-make-an-alert-for-hosts-that-haven-t-sent-their-logs-in/m-p/466856#M12632</guid>
      <dc:creator>splunktrainingu</dc:creator>
      <dc:date>2020-05-29T22:18:57Z</dc:date>
    </item>
    <item>
      <title>Re: How do I make an alert for hosts that haven't sent their logs in?</title>
      <link>https://community.splunk.com/t5/Alerting/How-do-I-make-an-alert-for-hosts-that-haven-t-sent-their-logs-in/m-p/466857#M12633</link>
      <description>&lt;P&gt;host.csv&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;host
hostA
hostB
hostC
...
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;yes, it needs  just one column &lt;CODE&gt;host&lt;/CODE&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 29 May 2020 23:02:47 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Alerting/How-do-I-make-an-alert-for-hosts-that-haven-t-sent-their-logs-in/m-p/466857#M12633</guid>
      <dc:creator>to4kawa</dc:creator>
      <dc:date>2020-05-29T23:02:47Z</dc:date>
    </item>
    <item>
      <title>Re: How do I make an alert for hosts that haven't sent their logs in?</title>
      <link>https://community.splunk.com/t5/Alerting/How-do-I-make-an-alert-for-hosts-that-haven-t-sent-their-logs-in/m-p/466858#M12634</link>
      <description>&lt;P&gt;I am going to make this lookup table then figure out how to change my query.&lt;/P&gt;</description>
      <pubDate>Fri, 29 May 2020 23:05:54 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Alerting/How-do-I-make-an-alert-for-hosts-that-haven-t-sent-their-logs-in/m-p/466858#M12634</guid>
      <dc:creator>splunktrainingu</dc:creator>
      <dc:date>2020-05-29T23:05:54Z</dc:date>
    </item>
    <item>
      <title>Re: How do I make an alert for hosts that haven't sent their logs in?</title>
      <link>https://community.splunk.com/t5/Alerting/How-do-I-make-an-alert-for-hosts-that-haven-t-sent-their-logs-in/m-p/466859#M12635</link>
      <description>&lt;P&gt;also where you stated &lt;/P&gt;

&lt;BLOCKQUOTE&gt;
&lt;P&gt;("hostA,hostB,hostC ... ",",")&lt;/P&gt;
&lt;/BLOCKQUOTE&gt;

&lt;P&gt;do I place my hosts in there?&lt;/P&gt;</description>
      <pubDate>Fri, 29 May 2020 23:11:48 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Alerting/How-do-I-make-an-alert-for-hosts-that-haven-t-sent-their-logs-in/m-p/466859#M12635</guid>
      <dc:creator>splunktrainingu</dc:creator>
      <dc:date>2020-05-29T23:11:48Z</dc:date>
    </item>
    <item>
      <title>Re: How do I make an alert for hosts that haven't sent their logs in?</title>
      <link>https://community.splunk.com/t5/Alerting/How-do-I-make-an-alert-for-hosts-that-haven-t-sent-their-logs-in/m-p/466860#M12636</link>
      <description>&lt;PRE&gt;&lt;CODE&gt; | tstats count where index=abc by host
 | inputlookup append=t host.csv
 | stats sum(count) AS Total BY host | where Total&amp;gt;0
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Fri, 29 May 2020 23:18:52 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Alerting/How-do-I-make-an-alert-for-hosts-that-haven-t-sent-their-logs-in/m-p/466860#M12636</guid>
      <dc:creator>to4kawa</dc:creator>
      <dc:date>2020-05-29T23:18:52Z</dc:date>
    </item>
    <item>
      <title>Re: How do I make an alert for hosts that haven't sent their logs in?</title>
      <link>https://community.splunk.com/t5/Alerting/How-do-I-make-an-alert-for-hosts-that-haven-t-sent-their-logs-in/m-p/466861#M12637</link>
      <description>&lt;P&gt;Are the hosts in the csv case sensitive?&lt;/P&gt;</description>
      <pubDate>Fri, 29 May 2020 23:59:52 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Alerting/How-do-I-make-an-alert-for-hosts-that-haven-t-sent-their-logs-in/m-p/466861#M12637</guid>
      <dc:creator>splunktrainingu</dc:creator>
      <dc:date>2020-05-29T23:59:52Z</dc:date>
    </item>
    <item>
      <title>Re: How do I make an alert for hosts that haven't sent their logs in?</title>
      <link>https://community.splunk.com/t5/Alerting/How-do-I-make-an-alert-for-hosts-that-haven-t-sent-their-logs-in/m-p/466862#M12638</link>
      <description>&lt;P&gt;yes, &lt;EM&gt;case sensitive&lt;/EM&gt;&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;| tstats count where index=_internal sourcetype="splunkd" by sourcetype 
| append [|makeresults
| eval sourcetype="SplunkD"]
| stats max(count) by sourcetype
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Sat, 30 May 2020 00:06:53 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Alerting/How-do-I-make-an-alert-for-hosts-that-haven-t-sent-their-logs-in/m-p/466862#M12638</guid>
      <dc:creator>to4kawa</dc:creator>
      <dc:date>2020-05-30T00:06:53Z</dc:date>
    </item>
    <item>
      <title>Re: How do I make an alert for hosts that haven't sent their logs in?</title>
      <link>https://community.splunk.com/t5/Alerting/How-do-I-make-an-alert-for-hosts-that-haven-t-sent-their-logs-in/m-p/466863#M12639</link>
      <description>&lt;P&gt;I am confused now, I don't need to eval the sourcetype  I only care about my 3 hosts in my CSV that should be sending data and need it to alert when it doesn't.&lt;/P&gt;</description>
      <pubDate>Sat, 30 May 2020 00:20:08 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Alerting/How-do-I-make-an-alert-for-hosts-that-haven-t-sent-their-logs-in/m-p/466863#M12639</guid>
      <dc:creator>splunktrainingu</dc:creator>
      <dc:date>2020-05-30T00:20:08Z</dc:date>
    </item>
    <item>
      <title>Re: How do I make an alert for hosts that haven't sent their logs in?</title>
      <link>https://community.splunk.com/t5/Alerting/How-do-I-make-an-alert-for-hosts-that-haven-t-sent-their-logs-in/m-p/466864#M12640</link>
      <description>&lt;P&gt;also I have more than 3 hosts for example I will have another csv file for my linux hosts and windows hosts and then for my high value hosts.&lt;/P&gt;</description>
      <pubDate>Sat, 30 May 2020 00:29:27 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Alerting/How-do-I-make-an-alert-for-hosts-that-haven-t-sent-their-logs-in/m-p/466864#M12640</guid>
      <dc:creator>splunktrainingu</dc:creator>
      <dc:date>2020-05-30T00:29:27Z</dc:date>
    </item>
    <item>
      <title>Re: How do I make an alert for hosts that haven't sent their logs in?</title>
      <link>https://community.splunk.com/t5/Alerting/How-do-I-make-an-alert-for-hosts-that-haven-t-sent-their-logs-in/m-p/466865#M12641</link>
      <description>&lt;P&gt;my query on last comment is &lt;EM&gt;sample&lt;/EM&gt; of case sensitive.&lt;BR /&gt;
You should make the query yourself.&lt;/P&gt;

&lt;P&gt;I won't make the query on your behalf.&lt;/P&gt;</description>
      <pubDate>Sat, 30 May 2020 00:39:20 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Alerting/How-do-I-make-an-alert-for-hosts-that-haven-t-sent-their-logs-in/m-p/466865#M12641</guid>
      <dc:creator>to4kawa</dc:creator>
      <dc:date>2020-05-30T00:39:20Z</dc:date>
    </item>
  </channel>
</rss>

