<?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: Is there a way in splunk 7.2.* to auto restart after crashing? in Deployment Architecture</title>
    <link>https://community.splunk.com/t5/Deployment-Architecture/Is-there-a-way-in-splunk-7-2-to-auto-restart-after-crashing/m-p/435666#M15400</link>
    <description>&lt;P&gt;it is already conifgured&lt;BR /&gt;
how can i validate it is working ?&lt;/P&gt;</description>
    <pubDate>Tue, 30 Apr 2019 18:44:59 GMT</pubDate>
    <dc:creator>sarit_s</dc:creator>
    <dc:date>2019-04-30T18:44:59Z</dc:date>
    <item>
      <title>Is there a way in splunk 7.2.* to auto restart after crashing?</title>
      <link>https://community.splunk.com/t5/Deployment-Architecture/Is-there-a-way-in-splunk-7-2-to-auto-restart-after-crashing/m-p/435660#M15394</link>
      <description>&lt;P&gt;Hello&lt;/P&gt;

&lt;P&gt;Is there a way in splunk 7.2.* to auto restart after crushing ?&lt;/P&gt;

&lt;P&gt;i read this article :&lt;BR /&gt;
&lt;A href="https://docs.splunk.com/Documentation/Splunk/7.2.2/Admin/RunSplunkassystemdservice#Configure_systemd_using_enable_boot-start"&gt;https://docs.splunk.com/Documentation/Splunk/7.2.2/Admin/RunSplunkassystemdservice#Configure_systemd_using_enable_boot-start&lt;/A&gt;&lt;BR /&gt;
but for some reason i cant find any of this files in my system&lt;/P&gt;

&lt;P&gt;Any suggestions?&lt;/P&gt;</description>
      <pubDate>Tue, 30 Apr 2019 17:38:24 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Deployment-Architecture/Is-there-a-way-in-splunk-7-2-to-auto-restart-after-crashing/m-p/435660#M15394</guid>
      <dc:creator>sarit_s</dc:creator>
      <dc:date>2019-04-30T17:38:24Z</dc:date>
    </item>
    <item>
      <title>Re: Is there a way in splunk 7.2.* to auto restart after crashing?</title>
      <link>https://community.splunk.com/t5/Deployment-Architecture/Is-there-a-way-in-splunk-7-2-to-auto-restart-after-crashing/m-p/435661#M15395</link>
      <description>&lt;P&gt;It depends on your version of Linux and whether it's using systemd.&lt;/P&gt;

&lt;P&gt;For RHEL/Centos 7.x (systemd):&lt;BR /&gt;
systemctl enable splunk&lt;/P&gt;

&lt;P&gt;For RHEL/Centos 6.x and below (non-systemd):&lt;BR /&gt;
chkconfig splunk on&lt;/P&gt;

&lt;P&gt;Though deprecated, chkconfig will still work on systemd, but the opposite is not true.&lt;/P&gt;</description>
      <pubDate>Tue, 30 Apr 2019 17:52:39 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Deployment-Architecture/Is-there-a-way-in-splunk-7-2-to-auto-restart-after-crashing/m-p/435661#M15395</guid>
      <dc:creator>codebuilder</dc:creator>
      <dc:date>2019-04-30T17:52:39Z</dc:date>
    </item>
    <item>
      <title>Re: Is there a way in splunk 7.2.* to auto restart after crashing?</title>
      <link>https://community.splunk.com/t5/Deployment-Architecture/Is-there-a-way-in-splunk-7-2-to-auto-restart-after-crashing/m-p/435662#M15396</link>
      <description>&lt;P&gt;i found the files.. just looked at the wrong place:)&lt;/P&gt;

&lt;P&gt;looks like it is configured as expected but still im not sure splunk is recovered well after crushing&lt;/P&gt;

&lt;P&gt;stopping splunk manually is a good way to check if its automatically restarts? &lt;BR /&gt;
if yes then im sure it is not working &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 30 Apr 2019 17:58:47 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Deployment-Architecture/Is-there-a-way-in-splunk-7-2-to-auto-restart-after-crashing/m-p/435662#M15396</guid>
      <dc:creator>sarit_s</dc:creator>
      <dc:date>2019-04-30T17:58:47Z</dc:date>
    </item>
    <item>
      <title>Re: Is there a way in splunk 7.2.* to auto restart after crashing?</title>
      <link>https://community.splunk.com/t5/Deployment-Architecture/Is-there-a-way-in-splunk-7-2-to-auto-restart-after-crashing/m-p/435663#M15397</link>
      <description>&lt;P&gt;Both commands apply only to configuring Splunk to start after a reboot, not a crash.&lt;/P&gt;</description>
      <pubDate>Tue, 30 Apr 2019 18:16:18 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Deployment-Architecture/Is-there-a-way-in-splunk-7-2-to-auto-restart-after-crashing/m-p/435663#M15397</guid>
      <dc:creator>codebuilder</dc:creator>
      <dc:date>2019-04-30T18:16:18Z</dc:date>
    </item>
    <item>
      <title>Re: Is there a way in splunk 7.2.* to auto restart after crashing?</title>
      <link>https://community.splunk.com/t5/Deployment-Architecture/Is-there-a-way-in-splunk-7-2-to-auto-restart-after-crashing/m-p/435664#M15398</link>
      <description>&lt;P&gt;oh, ok.&lt;BR /&gt;
how can i auto start splunk after crush ?&lt;/P&gt;</description>
      <pubDate>Tue, 30 Apr 2019 18:21:30 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Deployment-Architecture/Is-there-a-way-in-splunk-7-2-to-auto-restart-after-crashing/m-p/435664#M15398</guid>
      <dc:creator>sarit_s</dc:creator>
      <dc:date>2019-04-30T18:21:30Z</dc:date>
    </item>
    <item>
      <title>Re: Is there a way in splunk 7.2.* to auto restart after crashing?</title>
      <link>https://community.splunk.com/t5/Deployment-Architecture/Is-there-a-way-in-splunk-7-2-to-auto-restart-after-crashing/m-p/435665#M15399</link>
      <description>&lt;P&gt;It should come preconfigured to do so, but you can add Restart=always to the splunk unit file.&lt;/P&gt;

&lt;P&gt;Example:&lt;/P&gt;

&lt;BLOCKQUOTE&gt;
&lt;P&gt;[Unit] Description=Systemd service&lt;BR /&gt;
file for Splunk, generated by 'splunk&lt;BR /&gt;
enable boot-start'&lt;BR /&gt;
After=network.target&lt;/P&gt;

&lt;P&gt;[Service] Type=simple Restart=always&lt;/P&gt;
&lt;/BLOCKQUOTE&gt;

&lt;P&gt;Then reload the config:&lt;/P&gt;

&lt;BLOCKQUOTE&gt;
&lt;P&gt;systemctl daemon-reload&lt;/P&gt;
&lt;/BLOCKQUOTE&gt;</description>
      <pubDate>Tue, 30 Apr 2019 18:34:58 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Deployment-Architecture/Is-there-a-way-in-splunk-7-2-to-auto-restart-after-crashing/m-p/435665#M15399</guid>
      <dc:creator>codebuilder</dc:creator>
      <dc:date>2019-04-30T18:34:58Z</dc:date>
    </item>
    <item>
      <title>Re: Is there a way in splunk 7.2.* to auto restart after crashing?</title>
      <link>https://community.splunk.com/t5/Deployment-Architecture/Is-there-a-way-in-splunk-7-2-to-auto-restart-after-crashing/m-p/435666#M15400</link>
      <description>&lt;P&gt;it is already conifgured&lt;BR /&gt;
how can i validate it is working ?&lt;/P&gt;</description>
      <pubDate>Tue, 30 Apr 2019 18:44:59 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Deployment-Architecture/Is-there-a-way-in-splunk-7-2-to-auto-restart-after-crashing/m-p/435666#M15400</guid>
      <dc:creator>sarit_s</dc:creator>
      <dc:date>2019-04-30T18:44:59Z</dc:date>
    </item>
    <item>
      <title>Re: Is there a way in splunk 7.2.* to auto restart after crashing?</title>
      <link>https://community.splunk.com/t5/Deployment-Architecture/Is-there-a-way-in-splunk-7-2-to-auto-restart-after-crashing/m-p/435667#M15401</link>
      <description>&lt;P&gt;Find the PID of your splunk daemon:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;ps -ef |grep -i splunk
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Then kill that process:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;kill -9 pid_of_splunk_daemon
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Wait a few seconds then re-run the ps command to verify it comes back up:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;ps -ef |grep -i splunk
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Note that if you really want to test this, it should be on a DEV or non-critical box.&lt;/P&gt;</description>
      <pubDate>Tue, 30 Apr 2019 18:52:37 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Deployment-Architecture/Is-there-a-way-in-splunk-7-2-to-auto-restart-after-crashing/m-p/435667#M15401</guid>
      <dc:creator>codebuilder</dc:creator>
      <dc:date>2019-04-30T18:52:37Z</dc:date>
    </item>
    <item>
      <title>Re: Is there a way in splunk 7.2.* to auto restart after crashing?</title>
      <link>https://community.splunk.com/t5/Deployment-Architecture/Is-there-a-way-in-splunk-7-2-to-auto-restart-after-crashing/m-p/435668#M15402</link>
      <description>&lt;P&gt;thanks !&lt;BR /&gt;
Splunk system is not production yet but just to be on the safe side - something bad can happen if i will kill the process ?&lt;/P&gt;</description>
      <pubDate>Tue, 30 Apr 2019 18:58:57 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Deployment-Architecture/Is-there-a-way-in-splunk-7-2-to-auto-restart-after-crashing/m-p/435668#M15402</guid>
      <dc:creator>sarit_s</dc:creator>
      <dc:date>2019-04-30T18:58:57Z</dc:date>
    </item>
    <item>
      <title>Re: Is there a way in splunk 7.2.* to auto restart after crashing?</title>
      <link>https://community.splunk.com/t5/Deployment-Architecture/Is-there-a-way-in-splunk-7-2-to-auto-restart-after-crashing/m-p/435669#M15403</link>
      <description>&lt;P&gt;Nothing bad will happen, it is just not a graceful way to bring down a process. So I was adding my disclaimer, just in case &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 30 Apr 2019 19:15:53 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Deployment-Architecture/Is-there-a-way-in-splunk-7-2-to-auto-restart-after-crashing/m-p/435669#M15403</guid>
      <dc:creator>codebuilder</dc:creator>
      <dc:date>2019-04-30T19:15:53Z</dc:date>
    </item>
    <item>
      <title>Re: Is there a way in splunk 7.2.* to auto restart after crashing?</title>
      <link>https://community.splunk.com/t5/Deployment-Architecture/Is-there-a-way-in-splunk-7-2-to-auto-restart-after-crashing/m-p/435670#M15404</link>
      <description>&lt;P&gt;thank you very much !&lt;/P&gt;</description>
      <pubDate>Tue, 30 Apr 2019 19:17:52 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Deployment-Architecture/Is-there-a-way-in-splunk-7-2-to-auto-restart-after-crashing/m-p/435670#M15404</guid>
      <dc:creator>sarit_s</dc:creator>
      <dc:date>2019-04-30T19:17:52Z</dc:date>
    </item>
    <item>
      <title>Re: Is there a way in splunk 7.2.* to auto restart after crashing?</title>
      <link>https://community.splunk.com/t5/Deployment-Architecture/Is-there-a-way-in-splunk-7-2-to-auto-restart-after-crashing/m-p/435671#M15405</link>
      <description>&lt;P&gt;Glad to help.&lt;/P&gt;</description>
      <pubDate>Tue, 30 Apr 2019 19:23:28 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Deployment-Architecture/Is-there-a-way-in-splunk-7-2-to-auto-restart-after-crashing/m-p/435671#M15405</guid>
      <dc:creator>codebuilder</dc:creator>
      <dc:date>2019-04-30T19:23:28Z</dc:date>
    </item>
  </channel>
</rss>

