<?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: Computer Stopped sending logs in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/How-to-find-computers-which-stopped-sending-logs/m-p/694576#M236238</link>
    <description>Hi&lt;BR /&gt;this is answer from Community Slack&lt;BR /&gt;&lt;BR /&gt;Slackbot&lt;BR /&gt;17:08&lt;BR /&gt;There are a lot of options for finding hosts or sources that stop submitting events:&lt;BR /&gt;Meta Woot! &lt;A href="https://splunkbase.splunk.com/app/2949/" target="_blank"&gt;https://splunkbase.splunk.com/app/2949/&lt;/A&gt;&lt;BR /&gt;TrackMe &lt;A href="https://splunkbase.splunk.com/app/4621/" target="_blank"&gt;https://splunkbase.splunk.com/app/4621/&lt;/A&gt;&lt;BR /&gt;Broken Hosts App for Splunk &lt;A href="https://splunkbase.splunk.com/app/3247/" target="_blank"&gt;https://splunkbase.splunk.com/app/3247/&lt;/A&gt;&lt;BR /&gt;Alerts for Splunk Admins ("ForwarderLevel" alerts) &lt;A href="https://splunkbase.splunk.com/app/3796/" target="_blank"&gt;https://splunkbase.splunk.com/app/3796/&lt;/A&gt;&lt;BR /&gt;Monitoring Console &lt;A href="https://docs.splunk.com/Documentation/Splunk/latest/DMC/Configureforwardermonitoring" target="_blank"&gt;https://docs.splunk.com/Documentation/Splunk/latest/DMC/Configureforwardermonitoring&lt;/A&gt;&lt;BR /&gt;Deployment Server &lt;A href="https://docs.splunk.com/Documentation/DepMon/latest/DeployDepMon/Troubleshootyourdeployment#Forwarder_warnings" target="_blank"&gt;https://docs.splunk.com/Documentation/DepMon/latest/DeployDepMon/Troubleshootyourdeployment#Forwarder_warnings&lt;/A&gt;&lt;BR /&gt;Some helpful posts:&lt;BR /&gt;&lt;A href="https://lantern.splunk.com/hc/en-us/articles/360048503294-Hosts-logging-data-in-a-certain-timeframe" target="_blank"&gt;https://lantern.splunk.com/hc/en-us/articles/360048503294-Hosts-logging-data-in-a-certain-timeframe&lt;/A&gt;&lt;BR /&gt;&lt;A href="https://www.duanewaddle.com/proving-a-negative/" target="_blank"&gt;https://www.duanewaddle.com/proving-a-negative/&lt;/A&gt;&lt;BR /&gt;r. Ismo</description>
    <pubDate>Mon, 29 Jul 2024 17:30:19 GMT</pubDate>
    <dc:creator>isoutamo</dc:creator>
    <dc:date>2024-07-29T17:30:19Z</dc:date>
    <item>
      <title>How to find computers which stopped sending logs</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-find-computers-which-stopped-sending-logs/m-p/694544#M236231</link>
      <description>&lt;P&gt;I have a deployment where multiple computers are sending logs to a WEF server using WEF(windows event forwarding). I tried to map ComputerName field to host name field but failed to do so.&lt;/P&gt;&lt;P&gt;Now I want to create an alert if any of the computer is not sending logs to splunk. how can i do so.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The method defined by splunk is based on index,host and sourcectype field, which will remain same for all computers in our case.&lt;/P&gt;</description>
      <pubDate>Mon, 29 Jul 2024 11:54:37 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-find-computers-which-stopped-sending-logs/m-p/694544#M236231</guid>
      <dc:creator>Nawab</dc:creator>
      <dc:date>2024-07-29T11:54:37Z</dc:date>
    </item>
    <item>
      <title>Re: Computer Stopped sending logs</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-find-computers-which-stopped-sending-logs/m-p/694550#M236232</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/244855"&gt;@Nawab&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;if you have a list of hosts to monitor, you could put it in a lookup (called e.g. perimeter.csv and containing at least two columns: sourcetype, host) and run a search like the following:&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;| tstats 
     count 
     WHERE index=* 
     BY sourcetype host
| append [ 
     | inputlookup perimeter.csv 
     | eval count=0 
     | fields host sourcetype count ]
| stats sum(count) AS total BY sourcetype host
| where total=0&lt;/LI-CODE&gt;&lt;P&gt;if you don't have this list and you want to check hosts that sent logs in the last weeb but not in tha last hour, you could run:&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;| tstats 
     count 
     latest(-time) AS _time
     WHERE index=* 
     BY sourcetype host
| eval period=if(_time&amp;lt;now()-3600,"previous,"latest")
| stats 
     dc(period) AS period_count
     values(period) AS period
     BY sourcetype host
| where period_count=1 AND period="previous"&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;The first solution gives you more control but requires to manage the perimeter lookup.&lt;/P&gt;&lt;P&gt;Ciao.&lt;/P&gt;&lt;P&gt;Giuseppe&lt;/P&gt;</description>
      <pubDate>Mon, 29 Jul 2024 11:00:55 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-find-computers-which-stopped-sending-logs/m-p/694550#M236232</guid>
      <dc:creator>gcusello</dc:creator>
      <dc:date>2024-07-29T11:00:55Z</dc:date>
    </item>
    <item>
      <title>Re: Computer Stopped sending logs</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-find-computers-which-stopped-sending-logs/m-p/694576#M236238</link>
      <description>Hi&lt;BR /&gt;this is answer from Community Slack&lt;BR /&gt;&lt;BR /&gt;Slackbot&lt;BR /&gt;17:08&lt;BR /&gt;There are a lot of options for finding hosts or sources that stop submitting events:&lt;BR /&gt;Meta Woot! &lt;A href="https://splunkbase.splunk.com/app/2949/" target="_blank"&gt;https://splunkbase.splunk.com/app/2949/&lt;/A&gt;&lt;BR /&gt;TrackMe &lt;A href="https://splunkbase.splunk.com/app/4621/" target="_blank"&gt;https://splunkbase.splunk.com/app/4621/&lt;/A&gt;&lt;BR /&gt;Broken Hosts App for Splunk &lt;A href="https://splunkbase.splunk.com/app/3247/" target="_blank"&gt;https://splunkbase.splunk.com/app/3247/&lt;/A&gt;&lt;BR /&gt;Alerts for Splunk Admins ("ForwarderLevel" alerts) &lt;A href="https://splunkbase.splunk.com/app/3796/" target="_blank"&gt;https://splunkbase.splunk.com/app/3796/&lt;/A&gt;&lt;BR /&gt;Monitoring Console &lt;A href="https://docs.splunk.com/Documentation/Splunk/latest/DMC/Configureforwardermonitoring" target="_blank"&gt;https://docs.splunk.com/Documentation/Splunk/latest/DMC/Configureforwardermonitoring&lt;/A&gt;&lt;BR /&gt;Deployment Server &lt;A href="https://docs.splunk.com/Documentation/DepMon/latest/DeployDepMon/Troubleshootyourdeployment#Forwarder_warnings" target="_blank"&gt;https://docs.splunk.com/Documentation/DepMon/latest/DeployDepMon/Troubleshootyourdeployment#Forwarder_warnings&lt;/A&gt;&lt;BR /&gt;Some helpful posts:&lt;BR /&gt;&lt;A href="https://lantern.splunk.com/hc/en-us/articles/360048503294-Hosts-logging-data-in-a-certain-timeframe" target="_blank"&gt;https://lantern.splunk.com/hc/en-us/articles/360048503294-Hosts-logging-data-in-a-certain-timeframe&lt;/A&gt;&lt;BR /&gt;&lt;A href="https://www.duanewaddle.com/proving-a-negative/" target="_blank"&gt;https://www.duanewaddle.com/proving-a-negative/&lt;/A&gt;&lt;BR /&gt;r. Ismo</description>
      <pubDate>Mon, 29 Jul 2024 17:30:19 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-find-computers-which-stopped-sending-logs/m-p/694576#M236238</guid>
      <dc:creator>isoutamo</dc:creator>
      <dc:date>2024-07-29T17:30:19Z</dc:date>
    </item>
    <item>
      <title>Re: How to find computers which stopped sending logs</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-find-computers-which-stopped-sending-logs/m-p/694638#M236247</link>
      <description>&lt;P&gt;The issue in my case is the field i am look at is computername instead of host.&lt;/P&gt;&lt;P&gt;below is the deployement.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;All windows servers ----&amp;gt; forwarder server ----&amp;gt; splunk&lt;/P&gt;&lt;P&gt;in splunk host will be forwarder server i.e 1 instead of the backend servers sending data.&lt;/P&gt;&lt;P&gt;these queries work on host source sourcetype and index fields.&lt;/P&gt;</description>
      <pubDate>Tue, 30 Jul 2024 07:03:25 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-find-computers-which-stopped-sending-logs/m-p/694638#M236247</guid>
      <dc:creator>Nawab</dc:creator>
      <dc:date>2024-07-30T07:03:25Z</dc:date>
    </item>
    <item>
      <title>Re: How to find computers which stopped sending logs</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-find-computers-which-stopped-sending-logs/m-p/694641#M236249</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/244855"&gt;@Nawab&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;to use computername instead host youcannot use tstats and the search is slower, so try this:&lt;/P&gt;&lt;P&gt;with perimeter.csv lookup&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;index=* 
| stats count BY sourcetype ComputerName
| append [ 
     | inputlookup perimeter.csv 
     | eval count=0 
     | fields ComputerName sourcetype count ]
| stats sum(count) AS total BY sourcetype ComputerName
| where total=0&lt;/LI-CODE&gt;&lt;P&gt;without lookup:&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;index=* 
| stats count latest(_time) AS _time BY sourcetype ComputerName
| eval period=if(_time&amp;lt;now()-3600,"previous,"latest")
| stats 
     dc(period) AS period_count
     values(period) AS period
     BY sourcetype ComputerName
| where period_count=1 AND period="previous"&lt;/LI-CODE&gt;&lt;P&gt;Ciao.&lt;/P&gt;&lt;P&gt;Giuseppe&lt;/P&gt;</description>
      <pubDate>Tue, 30 Jul 2024 07:21:33 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-find-computers-which-stopped-sending-logs/m-p/694641#M236249</guid>
      <dc:creator>gcusello</dc:creator>
      <dc:date>2024-07-30T07:21:33Z</dc:date>
    </item>
    <item>
      <title>Re: How to find computers which stopped sending logs</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-find-computers-which-stopped-sending-logs/m-p/694645#M236250</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/244855"&gt;@Nawab&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;good for you, see next time!&lt;/P&gt;&lt;P&gt;Ciao and happy splunking&lt;/P&gt;&lt;P&gt;Giuseppe&lt;/P&gt;&lt;P&gt;P.S.: Karma Points are appreciated by all the contributors &lt;span class="lia-unicode-emoji" title=":winking_face:"&gt;😉&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 30 Jul 2024 07:40:08 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-find-computers-which-stopped-sending-logs/m-p/694645#M236250</guid>
      <dc:creator>gcusello</dc:creator>
      <dc:date>2024-07-30T07:40:08Z</dc:date>
    </item>
  </channel>
</rss>

