<?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: Please share SPL to help in Finding Forwarders that are Broken / Not calling home any more. Thank u in Reporting</title>
    <link>https://community.splunk.com/t5/Reporting/Please-share-SPL-to-help-in-Finding-Forwarders-that-are-Broken/m-p/555997#M9197</link>
    <description>&lt;P&gt;We use a lookup of all hosts reporting to splunk, and do a join with metadata for current hosts and most recent event. It allows us to see the hosts that havent reported in a day.&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;| inputlookup your_host_lookup
| eval host = lower(host) 
| join host type=outer 
    [| metadata type=hosts index=_internal 
    | eval host = lower(host) 
    | sort - lastTime 
    | dedup host 
    | eval minutesSinceLastEvent = ( ( now() - recentTime ) / 60 ) 
    | eval daysSinceLastEvent = ( minutesSinceLastEvent / 1440 )] 
| where daysSinceLastEvent &amp;gt;= 1 
| eval lastEventDays=round(daysSinceLastEvent,2) 
| eval lastEventMins=round(minutesSinceLastEvent,0)&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Wed, 16 Jun 2021 13:59:08 GMT</pubDate>
    <dc:creator>pbarbuto</dc:creator>
    <dc:date>2021-06-16T13:59:08Z</dc:date>
    <item>
      <title>Please share SPL to help in Finding Forwarders that are Broken / Not calling home any more. Thank u</title>
      <link>https://community.splunk.com/t5/Reporting/Please-share-SPL-to-help-in-Finding-Forwarders-that-are-Broken/m-p/555861#M9190</link>
      <description>&lt;P&gt;Please share SPL to help in Finding Forwarders that are Broken / Not calling home any more. Is it possible to view this in GUI? Thank u&lt;/P&gt;</description>
      <pubDate>Tue, 15 Jun 2021 20:52:52 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Reporting/Please-share-SPL-to-help-in-Finding-Forwarders-that-are-Broken/m-p/555861#M9190</guid>
      <dc:creator>SamHTexas</dc:creator>
      <dc:date>2021-06-15T20:52:52Z</dc:date>
    </item>
    <item>
      <title>Re: Please share SPL to help in Finding Forwarders that are Broken / Not calling home any more. Thank u</title>
      <link>https://community.splunk.com/t5/Reporting/Please-share-SPL-to-help-in-Finding-Forwarders-that-are-Broken/m-p/555997#M9197</link>
      <description>&lt;P&gt;We use a lookup of all hosts reporting to splunk, and do a join with metadata for current hosts and most recent event. It allows us to see the hosts that havent reported in a day.&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;| inputlookup your_host_lookup
| eval host = lower(host) 
| join host type=outer 
    [| metadata type=hosts index=_internal 
    | eval host = lower(host) 
    | sort - lastTime 
    | dedup host 
    | eval minutesSinceLastEvent = ( ( now() - recentTime ) / 60 ) 
    | eval daysSinceLastEvent = ( minutesSinceLastEvent / 1440 )] 
| where daysSinceLastEvent &amp;gt;= 1 
| eval lastEventDays=round(daysSinceLastEvent,2) 
| eval lastEventMins=round(minutesSinceLastEvent,0)&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 16 Jun 2021 13:59:08 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Reporting/Please-share-SPL-to-help-in-Finding-Forwarders-that-are-Broken/m-p/555997#M9197</guid>
      <dc:creator>pbarbuto</dc:creator>
      <dc:date>2021-06-16T13:59:08Z</dc:date>
    </item>
    <item>
      <title>Re: Please share SPL to help in Finding Forwarders that are Broken / Not calling home any more. Thank u</title>
      <link>https://community.splunk.com/t5/Reporting/Please-share-SPL-to-help-in-Finding-Forwarders-that-are-Broken/m-p/556043#M9199</link>
      <description>&lt;P&gt;Thank u for your response. So I need to have a complete list of all hosts in a .CSV file right? Where in Splunk do I place this file for the search to find it please? Thank u again&lt;/P&gt;</description>
      <pubDate>Wed, 16 Jun 2021 19:15:11 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Reporting/Please-share-SPL-to-help-in-Finding-Forwarders-that-are-Broken/m-p/556043#M9199</guid>
      <dc:creator>SamHTexas</dc:creator>
      <dc:date>2021-06-16T19:15:11Z</dc:date>
    </item>
    <item>
      <title>Re: Please share SPL to help in Finding Forwarders that are Broken / Not calling home any more. Thank u</title>
      <link>https://community.splunk.com/t5/Reporting/Please-share-SPL-to-help-in-Finding-Forwarders-that-are-Broken/m-p/556050#M9200</link>
      <description>If/when you have MC on place, you could set up Forwarder monitoring there and even get automatic alerts. Of course this needs, that nobody will rebuild forwarders lookup before missing FWDs has fixed.&lt;BR /&gt;Another option is use eg. meta woot app for this.&lt;BR /&gt;&lt;BR /&gt;On Splunk Usergroup Slack there is list of other options:&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>Wed, 16 Jun 2021 20:58:59 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Reporting/Please-share-SPL-to-help-in-Finding-Forwarders-that-are-Broken/m-p/556050#M9200</guid>
      <dc:creator>isoutamo</dc:creator>
      <dc:date>2021-06-16T20:58:59Z</dc:date>
    </item>
    <item>
      <title>Re: Please share SPL to help in Finding Forwarders that are Broken / Not calling home any more. Thank u</title>
      <link>https://community.splunk.com/t5/Reporting/Please-share-SPL-to-help-in-Finding-Forwarders-that-are-Broken/m-p/556064#M9202</link>
      <description>&lt;P&gt;We use the Splunk kvstore. You can just have a search that runs daily to outputlookup your hosts list though. Something like this...&lt;/P&gt;&lt;P&gt;index=_internal | stats count by host | fields - count | outputlookup your_hosts.csv&lt;/P&gt;</description>
      <pubDate>Wed, 16 Jun 2021 23:34:29 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Reporting/Please-share-SPL-to-help-in-Finding-Forwarders-that-are-Broken/m-p/556064#M9202</guid>
      <dc:creator>pbarbuto</dc:creator>
      <dc:date>2021-06-16T23:34:29Z</dc:date>
    </item>
    <item>
      <title>Re: Please share SPL to help in Finding Forwarders that are Broken / Not calling home any more. Thank u</title>
      <link>https://community.splunk.com/t5/Reporting/Please-share-SPL-to-help-in-Finding-Forwarders-that-are-Broken/m-p/556076#M9203</link>
      <description>&lt;P&gt;Thank u sir very much &amp;amp; good to hear from you. I missed learning from you for a short while. Stay safe.&lt;/P&gt;</description>
      <pubDate>Thu, 17 Jun 2021 02:06:38 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Reporting/Please-share-SPL-to-help-in-Finding-Forwarders-that-are-Broken/m-p/556076#M9203</guid>
      <dc:creator>SamHTexas</dc:creator>
      <dc:date>2021-06-17T02:06:38Z</dc:date>
    </item>
    <item>
      <title>Re: Please share SPL to help in Finding Forwarders that are Broken / Not calling home any more. Thank u</title>
      <link>https://community.splunk.com/t5/Reporting/Please-share-SPL-to-help-in-Finding-Forwarders-that-are-Broken/m-p/556180#M9212</link>
      <description>&lt;P&gt;Sir thank as always for your accurate responses. I have one question. Reg. Missing FWs , I have Apps Meta Woot &amp;amp; Splunk Admins, I can get a list of missing FWs no problem. I have found that some of the missing are due to the server they reside on are decommissioned, find. But of the others I can not figure out if the FW is broken / needs updating to function. Please advise. Thank u as always.&lt;/P&gt;</description>
      <pubDate>Thu, 17 Jun 2021 14:05:58 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Reporting/Please-share-SPL-to-help-in-Finding-Forwarders-that-are-Broken/m-p/556180#M9212</guid>
      <dc:creator>SamHTexas</dc:creator>
      <dc:date>2021-06-17T14:05:58Z</dc:date>
    </item>
    <item>
      <title>Re: Please share SPL to help in Finding Forwarders that are Broken / Not calling home any more. Thank u</title>
      <link>https://community.splunk.com/t5/Reporting/Please-share-SPL-to-help-in-Finding-Forwarders-that-are-Broken/m-p/557678#M9250</link>
      <description>&lt;P&gt;I’m afraid that there is not an easy solution for this. Probably best way is that you have boarding/integrating process where you are collecting the needed information from source systems. Or if you have any CMDB then you could utilize it to ask from owners of those systems what is the situation if you haven’t any other automated way to check those.&lt;/P&gt;</description>
      <pubDate>Tue, 29 Jun 2021 20:07:34 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Reporting/Please-share-SPL-to-help-in-Finding-Forwarders-that-are-Broken/m-p/557678#M9250</guid>
      <dc:creator>isoutamo</dc:creator>
      <dc:date>2021-06-29T20:07:34Z</dc:date>
    </item>
    <item>
      <title>Re: Please share SPL to help in Finding Forwarders that are Broken / Not calling home any more. Thank u</title>
      <link>https://community.splunk.com/t5/Reporting/Please-share-SPL-to-help-in-Finding-Forwarders-that-are-Broken/m-p/557681#M9251</link>
      <description>&lt;P&gt;This is actually something I'm currently working on, and you're correct when you say it isnt easy. I had to create a custom alert action which when my missing forwarder alert is triggered, will execute a python script to first ping the host to see if its available, and then also checks the hosts operation status from our CMDB.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 29 Jun 2021 20:14:22 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Reporting/Please-share-SPL-to-help-in-Finding-Forwarders-that-are-Broken/m-p/557681#M9251</guid>
      <dc:creator>pbarbuto</dc:creator>
      <dc:date>2021-06-29T20:14:22Z</dc:date>
    </item>
  </channel>
</rss>

