<?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 to display a message when a specific host is not ingesting? in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/How-to-display-a-message-when-a-specific-host-is-not-ingesting/m-p/586539#M204304</link>
    <description>&lt;P&gt;Hi Sanjay and&amp;nbsp;&lt;SPAN&gt;Giuseppe,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;I really appreciate your help and have set up a loookup.csv with the host values I'm concerned about, however, I still can not get it to work . Below are my results, looking for =0 and &amp;gt;0.&amp;nbsp;&lt;BR /&gt;I'm running over a set 3 minute period so that I can capture a count=0.&lt;/P&gt;&lt;P&gt;------NonStop_JumpHosts.csv&lt;/P&gt;&lt;P&gt;hosts&lt;BR /&gt;vpw00002015&lt;BR /&gt;vpw00002016&lt;BR /&gt;vpw00002017&lt;BR /&gt;vpw00002018&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;-----------------Test run #1, where &amp;gt; 0.&lt;/P&gt;&lt;P&gt;index=prod_s3 sourcetype=WinEventLog:Security (host=vpw00002016) OR (host=vpw00002018) OR (host=vpw00002015) OR (host=vpw00002017)&lt;BR /&gt;| eval host=lower(host)&lt;BR /&gt;| stats count by host&lt;BR /&gt;| append [ | inputlookup NonStop_JumpHosts.csv | eval host=lower(host), count=0 | fields host count ]&lt;BR /&gt;| stats sum(count) AS total BY host&lt;BR /&gt;| where total&amp;gt;0&lt;/P&gt;&lt;DIV class=""&gt;&lt;SPAN&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN class=""&gt;25&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;events (24/02/2022 13:57:00.000 to 24/02/2022 14:00:00.000)&lt;/SPAN&gt;&lt;/DIV&gt;&lt;P&gt;host,total&lt;BR /&gt;vpw00002015,24&lt;BR /&gt;vpw00002016,1&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;-----------------Test run #2, where = 0.&lt;/P&gt;&lt;P&gt;index=prod_s3 sourcetype=WinEventLog:Security (host=vpw00002016) OR (host=vpw00002018) OR (host=vpw00002015) OR (host=vpw00002017)&lt;BR /&gt;| eval host=lower(host)&lt;BR /&gt;| stats count by host&lt;BR /&gt;| append [ | inputlookup NonStop_JumpHosts.csv | eval host=lower(host), count=0 | fields host count ]&lt;BR /&gt;| stats sum(count) AS total BY host&lt;BR /&gt;| where total=0&lt;/P&gt;&lt;DIV class=""&gt;&lt;SPAN&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN class=""&gt;25&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;events (24/02/2022 13:57:00.000 to 24/02/2022 14:00:00.000)&lt;/SPAN&gt;&lt;/DIV&gt;&lt;P&gt;&lt;SPAN&gt;No results found.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;-----------------Test run #3, where &amp;gt; 0, over a 15 minute period to show all hosts in lookup.&lt;/P&gt;&lt;P&gt;index=prod_s3 sourcetype=WinEventLog:Security (host=vpw00002016) OR (host=vpw00002018) OR (host=vpw00002015) OR (host=vpw00002017)&lt;BR /&gt;| eval host=lower(host)&lt;BR /&gt;| stats count by host&lt;BR /&gt;| append [ | inputlookup NonStop_JumpHosts.csv | eval host=lower(host), count=0 | fields host count ]&lt;BR /&gt;| stats sum(count) AS total BY host&lt;BR /&gt;| where total&amp;gt;0&lt;/P&gt;&lt;DIV class=""&gt;&lt;SPAN&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN class=""&gt;37&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;events (24/02/2022 13:45:00.000 to 24/02/2022 14:00:00.000)&lt;/SPAN&gt;&lt;/DIV&gt;&lt;P&gt;host,total&lt;BR /&gt;vpw00002015,24&lt;BR /&gt;vpw00002016,2&lt;BR /&gt;vpw00002017,4&lt;BR /&gt;vpw00002018,7&lt;/P&gt;&lt;P&gt;---------------------------------------------------------------------&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Fri, 25 Feb 2022 06:35:48 GMT</pubDate>
    <dc:creator>auzark</dc:creator>
    <dc:date>2022-02-25T06:35:48Z</dc:date>
    <item>
      <title>How to display a message when a specific host is not ingesting?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-display-a-message-when-a-specific-host-is-not-ingesting/m-p/586130#M204174</link>
      <description>&lt;P&gt;My dilemma.&lt;/P&gt;
&lt;P&gt;index=prod_s3&amp;nbsp; sourcetype=My_Sourcetype earliest=-30m&lt;BR /&gt;(host=2016) OR (host=2018) OR&lt;BR /&gt;(host=2015) OR (host=2017)&lt;BR /&gt;|stats count as value by host&lt;/P&gt;
&lt;P&gt;The above query will return a count for each host that is ingesting, however If one of the above hosts is not ingesting, I wish to alert on that host, displaying the host name as output with a message.&lt;/P&gt;
&lt;P&gt;Any help is appreciate.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 23 Feb 2022 04:04:05 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-display-a-message-when-a-specific-host-is-not-ingesting/m-p/586130#M204174</guid>
      <dc:creator>auzark</dc:creator>
      <dc:date>2022-02-23T04:04:05Z</dc:date>
    </item>
    <item>
      <title>Re: How to display a message when a specific host is not ingesting?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-display-a-message-when-a-specific-host-is-not-ingesting/m-p/586135#M204177</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/228782"&gt;@auzark&lt;/a&gt;&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;There are couple ways you can acheive it&amp;nbsp;&lt;/P&gt;&lt;P&gt;you can use lookup way as suggested by &lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/161352"&gt;@gcusello&lt;/a&gt;&amp;nbsp; and &lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/190478"&gt;@adonio&lt;/a&gt;&amp;nbsp;in another post , you can refer to following&amp;nbsp; link&amp;nbsp;&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;&lt;A href="https://community.splunk.com/t5/Getting-Data-In/How-to-create-an-alert-for-the-host-not-sending-data-for-an-hour/m-p/407769" target="_blank"&gt;https://community.splunk.com/t5/Getting-Data-In/How-to-create-an-alert-for-the-host-not-sending-data-for-an-hour/m-p/407769&lt;/A&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 23 Feb 2022 04:59:06 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-display-a-message-when-a-specific-host-is-not-ingesting/m-p/586135#M204177</guid>
      <dc:creator>SanjayReddy</dc:creator>
      <dc:date>2022-02-23T04:59:06Z</dc:date>
    </item>
    <item>
      <title>Re: How to display a message when a specific host is not ingesting?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-display-a-message-when-a-specific-host-is-not-ingesting/m-p/586148#M204179</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/228782"&gt;@auzark&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;there are many answers in Community aboput this problem.&lt;/P&gt;&lt;P&gt;In few words, the best approach is to create a lookup (called e.g. perimeter.csv with one column called host) containing all the servers to check, and run a search like this:&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;index=prod_s3  sourcetype=My_Sourcetype earliest=-30m
| eval host=lower(host)
| stats count by host
| append [ | inputlookup perimeter.csv | eval host=lower(host), count=0 | fields host count ]
| stats sum(count) AS total BY host
| where total=0&lt;/LI-CODE&gt;&lt;P&gt;If you have only few hosts you could also run something like this:&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;index=prod_s3  sourcetype=My_Sourcetype earliest=-30m
| eval host=lower(host)
| stats count by host
| append [ | makeresults | eval host=2015, count=0 | fields host count ]
| append [ | makeresults | eval host=2016, count=0 | fields host count ]
| append [ | makeresults | eval host=2017, count=0 | fields host count ]
| append [ | makeresults | eval host=2018, count=0 | fields host count ]
| stats sum(count) AS total BY host
| where total=0&lt;/LI-CODE&gt;&lt;P&gt;but I hint to use the first soilution because it's more flexible.&lt;/P&gt;&lt;P&gt;Ciao.&lt;/P&gt;&lt;P&gt;Giuseppe&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 23 Feb 2022 07:20:50 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-display-a-message-when-a-specific-host-is-not-ingesting/m-p/586148#M204179</guid>
      <dc:creator>gcusello</dc:creator>
      <dc:date>2022-02-23T07:20:50Z</dc:date>
    </item>
    <item>
      <title>Re: How to display a message when a specific host is not ingesting?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-display-a-message-when-a-specific-host-is-not-ingesting/m-p/586156#M204186</link>
      <description>&lt;P&gt;Thanks guys, I'll try tomorrow.&lt;/P&gt;&lt;P&gt;Can the .csv be named something other than perimeter? and can I name my column in the lookup something other than host?&lt;/P&gt;</description>
      <pubDate>Wed, 23 Feb 2022 08:01:06 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-display-a-message-when-a-specific-host-is-not-ingesting/m-p/586156#M204186</guid>
      <dc:creator>auzark</dc:creator>
      <dc:date>2022-02-23T08:01:06Z</dc:date>
    </item>
    <item>
      <title>Re: How to display a message when a specific host is not ingesting?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-display-a-message-when-a-specific-host-is-not-ingesting/m-p/586158#M204187</link>
      <description>&lt;P&gt;hi&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/228782"&gt;@auzark&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;you can use the name you like both for the lookupname and the lookup column.&lt;/P&gt;&lt;P&gt;The only attention, if you use a name different than "host", is that you have to modify a little the search:&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;index=prod_s3  sourcetype=My_Sourcetype earliest=-30m
| eval host=lower(host)
| stats count by host
| append [ | inputlookup your_lookup.csv  | eval host=lower(your_column_name), count=0 | fields host count ]
| stats sum(count) AS total BY host
| where total=0&lt;/LI-CODE&gt;&lt;P&gt;Ciao.&lt;/P&gt;&lt;P&gt;Giuseppe&lt;/P&gt;</description>
      <pubDate>Wed, 23 Feb 2022 08:06:04 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-display-a-message-when-a-specific-host-is-not-ingesting/m-p/586158#M204187</guid>
      <dc:creator>gcusello</dc:creator>
      <dc:date>2022-02-23T08:06:04Z</dc:date>
    </item>
    <item>
      <title>Re: How to display a message when a specific host is not ingesting?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-display-a-message-when-a-specific-host-is-not-ingesting/m-p/586161#M204188</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/228782"&gt;@auzark&lt;/a&gt;&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;1.Yes, you can use any custom name that you can refer it , you need to use same in lookup&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;2.cloumn name in lookup can be anyname but you need to rename them in qurey , name need to march with host name in index&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;| inputlookup &lt;STRONG&gt;&amp;lt;lookupname&amp;gt;&lt;/STRONG&gt;.csv | rename &lt;STRONG&gt;&amp;lt;colnameinlookup&amp;gt;&lt;/STRONG&gt; as host | eval host=lower(host)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 23 Feb 2022 08:09:13 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-display-a-message-when-a-specific-host-is-not-ingesting/m-p/586161#M204188</guid>
      <dc:creator>SanjayReddy</dc:creator>
      <dc:date>2022-02-23T08:09:13Z</dc:date>
    </item>
    <item>
      <title>Re: How to display a message when a specific host is not ingesting?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-display-a-message-when-a-specific-host-is-not-ingesting/m-p/586539#M204304</link>
      <description>&lt;P&gt;Hi Sanjay and&amp;nbsp;&lt;SPAN&gt;Giuseppe,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;I really appreciate your help and have set up a loookup.csv with the host values I'm concerned about, however, I still can not get it to work . Below are my results, looking for =0 and &amp;gt;0.&amp;nbsp;&lt;BR /&gt;I'm running over a set 3 minute period so that I can capture a count=0.&lt;/P&gt;&lt;P&gt;------NonStop_JumpHosts.csv&lt;/P&gt;&lt;P&gt;hosts&lt;BR /&gt;vpw00002015&lt;BR /&gt;vpw00002016&lt;BR /&gt;vpw00002017&lt;BR /&gt;vpw00002018&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;-----------------Test run #1, where &amp;gt; 0.&lt;/P&gt;&lt;P&gt;index=prod_s3 sourcetype=WinEventLog:Security (host=vpw00002016) OR (host=vpw00002018) OR (host=vpw00002015) OR (host=vpw00002017)&lt;BR /&gt;| eval host=lower(host)&lt;BR /&gt;| stats count by host&lt;BR /&gt;| append [ | inputlookup NonStop_JumpHosts.csv | eval host=lower(host), count=0 | fields host count ]&lt;BR /&gt;| stats sum(count) AS total BY host&lt;BR /&gt;| where total&amp;gt;0&lt;/P&gt;&lt;DIV class=""&gt;&lt;SPAN&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN class=""&gt;25&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;events (24/02/2022 13:57:00.000 to 24/02/2022 14:00:00.000)&lt;/SPAN&gt;&lt;/DIV&gt;&lt;P&gt;host,total&lt;BR /&gt;vpw00002015,24&lt;BR /&gt;vpw00002016,1&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;-----------------Test run #2, where = 0.&lt;/P&gt;&lt;P&gt;index=prod_s3 sourcetype=WinEventLog:Security (host=vpw00002016) OR (host=vpw00002018) OR (host=vpw00002015) OR (host=vpw00002017)&lt;BR /&gt;| eval host=lower(host)&lt;BR /&gt;| stats count by host&lt;BR /&gt;| append [ | inputlookup NonStop_JumpHosts.csv | eval host=lower(host), count=0 | fields host count ]&lt;BR /&gt;| stats sum(count) AS total BY host&lt;BR /&gt;| where total=0&lt;/P&gt;&lt;DIV class=""&gt;&lt;SPAN&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN class=""&gt;25&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;events (24/02/2022 13:57:00.000 to 24/02/2022 14:00:00.000)&lt;/SPAN&gt;&lt;/DIV&gt;&lt;P&gt;&lt;SPAN&gt;No results found.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;-----------------Test run #3, where &amp;gt; 0, over a 15 minute period to show all hosts in lookup.&lt;/P&gt;&lt;P&gt;index=prod_s3 sourcetype=WinEventLog:Security (host=vpw00002016) OR (host=vpw00002018) OR (host=vpw00002015) OR (host=vpw00002017)&lt;BR /&gt;| eval host=lower(host)&lt;BR /&gt;| stats count by host&lt;BR /&gt;| append [ | inputlookup NonStop_JumpHosts.csv | eval host=lower(host), count=0 | fields host count ]&lt;BR /&gt;| stats sum(count) AS total BY host&lt;BR /&gt;| where total&amp;gt;0&lt;/P&gt;&lt;DIV class=""&gt;&lt;SPAN&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN class=""&gt;37&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;events (24/02/2022 13:45:00.000 to 24/02/2022 14:00:00.000)&lt;/SPAN&gt;&lt;/DIV&gt;&lt;P&gt;host,total&lt;BR /&gt;vpw00002015,24&lt;BR /&gt;vpw00002016,2&lt;BR /&gt;vpw00002017,4&lt;BR /&gt;vpw00002018,7&lt;/P&gt;&lt;P&gt;---------------------------------------------------------------------&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 25 Feb 2022 06:35:48 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-display-a-message-when-a-specific-host-is-not-ingesting/m-p/586539#M204304</guid>
      <dc:creator>auzark</dc:creator>
      <dc:date>2022-02-25T06:35:48Z</dc:date>
    </item>
    <item>
      <title>Re: How to display a message when a specific host is not ingesting?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-display-a-message-when-a-specific-host-is-not-ingesting/m-p/586541#M204306</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/228782"&gt;@auzark&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;when you created the&amp;nbsp;&lt;SPAN&gt;NonStop_JumpHosts.csv lookup, did you remembered to create also lookup definition?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Anyway, I think that the problem is in the host column of your lookup: in the lookup the field is called "hosts", instead in your search is called "host", so you don't find anything!&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;So, you have two choices:&lt;/P&gt;&lt;P&gt;change the column name of the lookup or modfy the search in this way:&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;index=prod_s3 sourcetype=WinEventLog:Security (host=vpw00002016) OR (host=vpw00002018) OR (host=vpw00002015) OR (host=vpw00002017)
| eval host=lower(host)
| stats count by host
| append [ | inputlookup NonStop_JumpHosts.csv | eval host=lower(hosts), count=0 | fields host count ]
| stats sum(count) AS total BY host
| where total=0&lt;/LI-CODE&gt;&lt;P&gt;&lt;SPAN&gt;To better see results, you could also run the search without the last row, so in one search you have both the situations (presence and absense).&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Ciao.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Giuseppe&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 25 Feb 2022 06:49:47 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-display-a-message-when-a-specific-host-is-not-ingesting/m-p/586541#M204306</guid>
      <dc:creator>gcusello</dc:creator>
      <dc:date>2022-02-25T06:49:47Z</dc:date>
    </item>
    <item>
      <title>Re: How to display a message when a specific host is not ingesting?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-display-a-message-when-a-specific-host-is-not-ingesting/m-p/586542#M204307</link>
      <description>&lt;P&gt;Thanks,&amp;nbsp; &amp;nbsp;I'll give that a try.&lt;/P&gt;</description>
      <pubDate>Fri, 25 Feb 2022 07:04:06 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-display-a-message-when-a-specific-host-is-not-ingesting/m-p/586542#M204307</guid>
      <dc:creator>auzark</dc:creator>
      <dc:date>2022-02-25T07:04:06Z</dc:date>
    </item>
    <item>
      <title>Re: How to display a message when a specific host is not ingesting?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-display-a-message-when-a-specific-host-is-not-ingesting/m-p/586547#M204310</link>
      <description>&lt;P&gt;&lt;SPAN&gt;Hi&amp;nbsp;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;Giuseppe and Sanjay,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Thanks for your help....&amp;nbsp; that works.....&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Doh!!!&amp;nbsp; hosts vs host.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;-------------------------------------------------------------------------&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;I was also trying to use a join, unsuccessfully.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;inputlookup NonStop_JumpHosts.csv&lt;BR /&gt;| table host&lt;/P&gt;&lt;P&gt;| join type=inner host&lt;BR /&gt;[ | search index=prod_s3 sourcetype=WinEventLog:Security (host=vpw00002016) OR (host=vpw00002018) OR (host=vpw00002015) OR (host=vpw00002017)&lt;BR /&gt;| stats count as NumberOfEvents by host ]&lt;BR /&gt;| where ISNOTNULL(NumberOfEvents)&lt;BR /&gt;| eval Title=host." No data received for the last 30 min."&lt;BR /&gt;| eval Description=Title." Splunk has found no events occurring for the ".host." server for the last 30 min."&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;I was wondering could I have done this with a join command as another methodology?&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 25 Feb 2022 07:30:00 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-display-a-message-when-a-specific-host-is-not-ingesting/m-p/586547#M204310</guid>
      <dc:creator>auzark</dc:creator>
      <dc:date>2022-02-25T07:30:00Z</dc:date>
    </item>
    <item>
      <title>Re: How to display a message when a specific host is not ingesting?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-display-a-message-when-a-specific-host-is-not-ingesting/m-p/586549#M204311</link>
      <description>&lt;P&gt;Hi &lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/228782"&gt;@auzark&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;I don't like the join solution: I use join only if haven't any other solution and if I have few events, otherwise the search will be very slow!&lt;/P&gt;&lt;P&gt;Anyway, your solution has another problem: it isn't a good approach to use the search in a subsearch because there's the limit of 50,000 results in the subsearch, so you could have a incomplete results from it.&lt;/P&gt;&lt;P&gt;Ciao and happy splunking.&lt;/P&gt;&lt;P&gt;Giuseppe&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 25 Feb 2022 07:47:50 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-display-a-message-when-a-specific-host-is-not-ingesting/m-p/586549#M204311</guid>
      <dc:creator>gcusello</dc:creator>
      <dc:date>2022-02-25T07:47:50Z</dc:date>
    </item>
    <item>
      <title>Re: How to display a message when a specific host is not ingesting?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-display-a-message-when-a-specific-host-is-not-ingesting/m-p/587119#M204476</link>
      <description>&lt;P&gt;Hi gcusello,&lt;/P&gt;&lt;P&gt;Another question, if you do not mind.&lt;/P&gt;&lt;P&gt;I have added the below 2 lines to the query you helped me with.&amp;nbsp; I have been trying to get a field&amp;nbsp; other than the "host" field from my lookup table to output as part of the Title or Description?&lt;/P&gt;&lt;P&gt;| eval Title=host." No data received for the last xx min."&lt;BR /&gt;| eval Description=Title." Splunk has found no events occurring for the ".host." server for the last xx min."&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Also can you describe what&amp;nbsp;host=lower(host) is doing?&lt;/P&gt;&lt;P&gt;Thanks..&lt;/P&gt;</description>
      <pubDate>Wed, 02 Mar 2022 05:59:16 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-display-a-message-when-a-specific-host-is-not-ingesting/m-p/587119#M204476</guid>
      <dc:creator>auzark</dc:creator>
      <dc:date>2022-03-02T05:59:16Z</dc:date>
    </item>
    <item>
      <title>Re: How to display a message when a specific host is not ingesting?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-display-a-message-when-a-specific-host-is-not-ingesting/m-p/587134#M204485</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/228782"&gt;@auzark&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;host=lower(host) transforms all the hostnames in lowercase to avoid duplicates related to the upper o lower case.&lt;/P&gt;&lt;P&gt;Obviously you can add all the information you like to the search, e.g. you could also add more fields (e.g. IP or Department) to the lookup and display them in the final stats command, in this way:&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;index=prod_s3 sourcetype=WinEventLog:Security (host=vpw00002016) OR (host=vpw00002018) OR (host=vpw00002015) OR (host=vpw00002017)
| eval host=lower(host)
| stats count by host
| append [ | inputlookup NonStop_JumpHosts.csv | eval host=lower(hosts), count=0 | fields host count IP Department]
| stats values(IP) AS IP values(Department) AS Department sum(count) AS total BY host
| where total=0&lt;/LI-CODE&gt;&lt;P&gt;Ciao.&lt;/P&gt;&lt;P&gt;Giuseppe&lt;/P&gt;</description>
      <pubDate>Wed, 02 Mar 2022 08:12:23 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-display-a-message-when-a-specific-host-is-not-ingesting/m-p/587134#M204485</guid>
      <dc:creator>gcusello</dc:creator>
      <dc:date>2022-03-02T08:12:23Z</dc:date>
    </item>
  </channel>
</rss>

