<?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 Is there an app that can restart the Splunk universal forwarder service on Windows every 30 minutes? in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/Is-there-an-app-that-can-restart-the-Splunk-universal-forwarder/m-p/338557#M62486</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;

&lt;P&gt;I need to deploy an app from deplyment server which will restart the Splunkd UF application installed on Windows server.&lt;/P&gt;

&lt;P&gt;Can some one please help me with what should I write in the $Splunk_Home/etc/deployment-apps/restart_app/local folder of Splunk.&lt;/P&gt;

&lt;P&gt;Thanks.&lt;BR /&gt;
Vikram.&lt;/P&gt;</description>
    <pubDate>Tue, 29 Sep 2020 17:13:51 GMT</pubDate>
    <dc:creator>vikram_m</dc:creator>
    <dc:date>2020-09-29T17:13:51Z</dc:date>
    <item>
      <title>Is there an app that can restart the Splunk universal forwarder service on Windows every 30 minutes?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Is-there-an-app-that-can-restart-the-Splunk-universal-forwarder/m-p/338557#M62486</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;

&lt;P&gt;I need to deploy an app from deplyment server which will restart the Splunkd UF application installed on Windows server.&lt;/P&gt;

&lt;P&gt;Can some one please help me with what should I write in the $Splunk_Home/etc/deployment-apps/restart_app/local folder of Splunk.&lt;/P&gt;

&lt;P&gt;Thanks.&lt;BR /&gt;
Vikram.&lt;/P&gt;</description>
      <pubDate>Tue, 29 Sep 2020 17:13:51 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Is-there-an-app-that-can-restart-the-Splunk-universal-forwarder/m-p/338557#M62486</guid>
      <dc:creator>vikram_m</dc:creator>
      <dc:date>2020-09-29T17:13:51Z</dc:date>
    </item>
    <item>
      <title>Re: Is there an app that can restart the Splunk universal forwarder service on Windows every 30 minutes?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Is-there-an-app-that-can-restart-the-Splunk-universal-forwarder/m-p/338558#M62487</link>
      <description>&lt;P&gt;Can you explain the use case for this?&lt;BR /&gt;
I have a couple of ideas, but wonder what is driving the requirement?&lt;/P&gt;</description>
      <pubDate>Wed, 13 Dec 2017 13:21:29 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Is-there-an-app-that-can-restart-the-Splunk-universal-forwarder/m-p/338558#M62487</guid>
      <dc:creator>nickhills</dc:creator>
      <dc:date>2017-12-13T13:21:29Z</dc:date>
    </item>
    <item>
      <title>Re: Is there an app that can restart the Splunk universal forwarder service on Windows every 30 minutes?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Is-there-an-app-that-can-restart-the-Splunk-universal-forwarder/m-p/338559#M62488</link>
      <description>&lt;P&gt;@nickhillscpl - yeah, this seems like setting up a repeating bazooka to fix an occasional handgun misfire.   Better to clean and service the gun.&lt;/P&gt;</description>
      <pubDate>Wed, 13 Dec 2017 15:49:49 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Is-there-an-app-that-can-restart-the-Splunk-universal-forwarder/m-p/338559#M62488</guid>
      <dc:creator>DalJeanis</dc:creator>
      <dc:date>2017-12-13T15:49:49Z</dc:date>
    </item>
    <item>
      <title>Re: Is there an app that can restart the Splunk universal forwarder service on Windows every 30 minutes?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Is-there-an-app-that-can-restart-the-Splunk-universal-forwarder/m-p/338560#M62489</link>
      <description>&lt;P&gt;Hello Nick,&lt;/P&gt;

&lt;P&gt;The use case here is Splunk is on Linux, UFs are on Windows. sometime the UFs stop reporting and once splunk serivce restarted things seem to work again.&lt;/P&gt;

&lt;P&gt;So I wanted to develop an app which will restart the splunk service after every 30 min on the Windows servers.&lt;/P&gt;</description>
      <pubDate>Thu, 14 Dec 2017 07:17:36 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Is-there-an-app-that-can-restart-the-Splunk-universal-forwarder/m-p/338560#M62489</guid>
      <dc:creator>vikram_m</dc:creator>
      <dc:date>2017-12-14T07:17:36Z</dc:date>
    </item>
    <item>
      <title>Re: Is there an app that can restart the Splunk universal forwarder service on Windows every 30 minutes?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Is-there-an-app-that-can-restart-the-Splunk-universal-forwarder/m-p/338561#M62490</link>
      <description>&lt;P&gt;That is not something commonly reported - in fact I cant say i have ever heard of this being an issue!&lt;BR /&gt;
(And I have 4000 windows UFs)&lt;/P&gt;

&lt;P&gt;I think you would be better trying to triage the root cause of the problem.&lt;BR /&gt;
As a start, for one of your forwarders which has "stopped reporting" can you obtain the splunkd.log from it?&lt;/P&gt;</description>
      <pubDate>Thu, 14 Dec 2017 08:27:02 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Is-there-an-app-that-can-restart-the-Splunk-universal-forwarder/m-p/338561#M62490</guid>
      <dc:creator>nickhills</dc:creator>
      <dc:date>2017-12-14T08:27:02Z</dc:date>
    </item>
    <item>
      <title>Re: Is there an app that can restart the Splunk universal forwarder service on Windows every 30 minutes?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Is-there-an-app-that-can-restart-the-Splunk-universal-forwarder/m-p/338562#M62491</link>
      <description>&lt;P&gt;Yes Nick,&lt;/P&gt;

&lt;P&gt;I will be doing the same as starting the application the whole day is not a good option.&lt;/P&gt;

&lt;P&gt;Thanks.&lt;BR /&gt;
Vikram.&lt;/P&gt;</description>
      <pubDate>Thu, 14 Dec 2017 08:54:16 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Is-there-an-app-that-can-restart-the-Splunk-universal-forwarder/m-p/338562#M62491</guid>
      <dc:creator>vikram_m</dc:creator>
      <dc:date>2017-12-14T08:54:16Z</dc:date>
    </item>
    <item>
      <title>Re: Is there an app that can restart the Splunk universal forwarder service on Windows every 30 minutes?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Is-there-an-app-that-can-restart-the-Splunk-universal-forwarder/m-p/338563#M62492</link>
      <description>&lt;P&gt;How did you get on with this, did the logs indicate anything?&lt;/P&gt;</description>
      <pubDate>Tue, 19 Dec 2017 10:19:59 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Is-there-an-app-that-can-restart-the-Splunk-universal-forwarder/m-p/338563#M62492</guid>
      <dc:creator>nickhills</dc:creator>
      <dc:date>2017-12-19T10:19:59Z</dc:date>
    </item>
    <item>
      <title>Re: Is there an app that can restart the Splunk universal forwarder service on Windows every 30 minutes?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Is-there-an-app-that-can-restart-the-Splunk-universal-forwarder/m-p/338564#M62493</link>
      <description>&lt;P&gt;Hi @vikram_m&lt;/P&gt;

&lt;P&gt;I don't have any idea about APP for restart UF.&lt;BR /&gt;
But there is a script to restart the splunk service.&lt;/P&gt;

&lt;P&gt;foreach ($server in Get-Content "c:\computers.txt" ) { &lt;BR /&gt;
 if (Test-Connection -ComputerName $Server -Count 2 -Quiet){&lt;BR /&gt;
 Write-Host "$Server is alive and Pinging " -ForegroundColor Green &lt;BR /&gt;
 }else{&lt;BR /&gt;
 Write-Warning "$Server seems dead not pinging" &lt;BR /&gt;
 }&lt;BR /&gt;&lt;BR /&gt;
set-location c:\program files\splunk\bin&lt;/P&gt;

&lt;H1&gt;Not sure about #4 regarding Splunk?&lt;/H1&gt;

&lt;P&gt;splunk list forward-server&lt;BR /&gt;
Restart-Service &lt;BR /&gt;
} &lt;/P&gt;

&lt;P&gt;Don't forget to mention Interval to restart the splunk service.&lt;/P&gt;</description>
      <pubDate>Thu, 21 Dec 2017 08:30:21 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Is-there-an-app-that-can-restart-the-Splunk-universal-forwarder/m-p/338564#M62493</guid>
      <dc:creator>abhijeet01</dc:creator>
      <dc:date>2017-12-21T08:30:21Z</dc:date>
    </item>
  </channel>
</rss>

