<?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: where does splunk store the logs which specify starting/stoping the splunk ? in Splunk Dev</title>
    <link>https://community.splunk.com/t5/Splunk-Dev/where-does-splunk-store-the-logs-which-specify-starting-stoping/m-p/316277#M4345</link>
    <description>&lt;P&gt;Thanks for your help !! splunkd_stderr.log shows following message. &lt;/P&gt;

&lt;P&gt;2017-02-23 16:44:04.148 +0100 splunkd started (build 59c8927def0f)  For startup&lt;BR /&gt;
2017-02-23 16:44:25.885 +0100 Interrupt signal received  - for stop&lt;/P&gt;

&lt;P&gt;but audit.log worked perfect for me as we are already monitoring audit.log&lt;BR /&gt;
audit.log&lt;BR /&gt;
action=splunkShuttingDown&lt;BR /&gt;
action=splunkStarting&lt;/P&gt;

&lt;P&gt;Thanks&lt;BR /&gt;
Ankit&lt;/P&gt;</description>
    <pubDate>Thu, 23 Feb 2017 16:24:49 GMT</pubDate>
    <dc:creator>AKG1_old1</dc:creator>
    <dc:date>2017-02-23T16:24:49Z</dc:date>
    <item>
      <title>where does splunk store the logs which specify starting/stoping the splunk ?</title>
      <link>https://community.splunk.com/t5/Splunk-Dev/where-does-splunk-store-the-logs-which-specify-starting-stoping/m-p/316274#M4342</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;

&lt;P&gt;I want to keep track of splunk startup and stop. &lt;/P&gt;

&lt;P&gt;I have checked splunkd.log file but its not clearly specifying started/stopped sucessfully. Even when we start/stop Splunk using command line. It shows message like below on screen. Not sure if same information is stored in some file.&lt;/P&gt;

&lt;P&gt;Starting splunk server daemon (splunkd)...&lt;BR /&gt;
Done&lt;BR /&gt;
                                                           [  OK  ]&lt;/P&gt;

&lt;P&gt;Stopping splunk helpers...&lt;BR /&gt;
                                                           [  OK  ]&lt;BR /&gt;
Done.&lt;/P&gt;

&lt;P&gt;Question:&lt;BR /&gt;
Is there any logs which specify that splunk started /stopped successfully ?&lt;/P&gt;

&lt;P&gt;Thanks&lt;BR /&gt;
Ankit&lt;/P&gt;</description>
      <pubDate>Thu, 23 Feb 2017 14:54:32 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Dev/where-does-splunk-store-the-logs-which-specify-starting-stoping/m-p/316274#M4342</guid>
      <dc:creator>AKG1_old1</dc:creator>
      <dc:date>2017-02-23T14:54:32Z</dc:date>
    </item>
    <item>
      <title>Re: where does splunk store the logs which specify starting/stoping the splunk ?</title>
      <link>https://community.splunk.com/t5/Splunk-Dev/where-does-splunk-store-the-logs-which-specify-starting-stoping/m-p/316275#M4343</link>
      <description>&lt;P&gt;It should be in &lt;CODE&gt;splunkd_stderr.log&lt;/CODE&gt;&lt;/P&gt;

&lt;P&gt;&lt;CODE&gt;$SPLUNK_HOME/var/log/splunk&lt;/CODE&gt;&lt;/P&gt;

&lt;P&gt;&lt;A href="http://docs.splunk.com/Documentation/Splunk/6.5.2/Troubleshooting/WhatSplunklogsaboutitself"&gt;http://docs.splunk.com/Documentation/Splunk/6.5.2/Troubleshooting/WhatSplunklogsaboutitself&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 23 Feb 2017 15:10:47 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Dev/where-does-splunk-store-the-logs-which-specify-starting-stoping/m-p/316275#M4343</guid>
      <dc:creator>skoelpin</dc:creator>
      <dc:date>2017-02-23T15:10:47Z</dc:date>
    </item>
    <item>
      <title>Re: where does splunk store the logs which specify starting/stoping the splunk ?</title>
      <link>https://community.splunk.com/t5/Splunk-Dev/where-does-splunk-store-the-logs-which-specify-starting-stoping/m-p/316276#M4344</link>
      <description>&lt;P&gt;I doubt stdout for restarts is stored directly but there is similar stuff inside &lt;CODE&gt;$SPLUNK_HOME/var/log/splunk/splunkd.log&lt;/CODE&gt; and also &lt;CODE&gt;mongod.log&lt;/CODE&gt;; look for "stop*", "clos*", "shut*", and "flush*".   If you are looking something else, check out &lt;CODE&gt;audit.log&lt;/CODE&gt;; I am sure there is a clear "splunk was shut down" and "splunk was started" event there.  You can try a search like this:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;index=_* stop* OR start* OR clos* OR shut OR flush*
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;And then look at the &lt;CODE&gt;Patterns&lt;/CODE&gt; tab to clump events.&lt;/P&gt;</description>
      <pubDate>Tue, 29 Sep 2020 13:00:57 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Dev/where-does-splunk-store-the-logs-which-specify-starting-stoping/m-p/316276#M4344</guid>
      <dc:creator>woodcock</dc:creator>
      <dc:date>2020-09-29T13:00:57Z</dc:date>
    </item>
    <item>
      <title>Re: where does splunk store the logs which specify starting/stoping the splunk ?</title>
      <link>https://community.splunk.com/t5/Splunk-Dev/where-does-splunk-store-the-logs-which-specify-starting-stoping/m-p/316277#M4345</link>
      <description>&lt;P&gt;Thanks for your help !! splunkd_stderr.log shows following message. &lt;/P&gt;

&lt;P&gt;2017-02-23 16:44:04.148 +0100 splunkd started (build 59c8927def0f)  For startup&lt;BR /&gt;
2017-02-23 16:44:25.885 +0100 Interrupt signal received  - for stop&lt;/P&gt;

&lt;P&gt;but audit.log worked perfect for me as we are already monitoring audit.log&lt;BR /&gt;
audit.log&lt;BR /&gt;
action=splunkShuttingDown&lt;BR /&gt;
action=splunkStarting&lt;/P&gt;

&lt;P&gt;Thanks&lt;BR /&gt;
Ankit&lt;/P&gt;</description>
      <pubDate>Thu, 23 Feb 2017 16:24:49 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Dev/where-does-splunk-store-the-logs-which-specify-starting-stoping/m-p/316277#M4345</guid>
      <dc:creator>AKG1_old1</dc:creator>
      <dc:date>2017-02-23T16:24:49Z</dc:date>
    </item>
    <item>
      <title>Re: where does splunk store the logs which specify starting/stoping the splunk ?</title>
      <link>https://community.splunk.com/t5/Splunk-Dev/where-does-splunk-store-the-logs-which-specify-starting-stoping/m-p/316278#M4346</link>
      <description>&lt;P&gt;Thank you &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;

&lt;P&gt;audit.log worked perfect for me as we are already monitoring audit.log&lt;/P&gt;

&lt;P&gt;action=splunkShuttingDown&lt;BR /&gt;
action=splunkStarting&lt;/P&gt;</description>
      <pubDate>Thu, 23 Feb 2017 16:25:49 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Dev/where-does-splunk-store-the-logs-which-specify-starting-stoping/m-p/316278#M4346</guid>
      <dc:creator>AKG1_old1</dc:creator>
      <dc:date>2017-02-23T16:25:49Z</dc:date>
    </item>
  </channel>
</rss>

