<?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: Question About SPL for SplunkD Shutdown in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/Question-About-SPL-for-SplunkD-Shutdown/m-p/618752#M106742</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;i would go with this event in splunkd.log:&lt;/P&gt;&lt;LI-CODE lang="c"&gt;"IndexProcessor [5762669 MainThread] - request state change from=RUN to=SHUTDOWN_SIGNALED"&lt;/LI-CODE&gt;&lt;P&gt;this is triggering Splunk to shutdown..&amp;nbsp;&lt;/P&gt;&lt;P&gt;last events at shutdown looks like this:&lt;/P&gt;&lt;LI-CODE lang="c"&gt;10-28-2022 16:35:56.890 +0100 INFO  Shutdown [5763136 Shutdown] - shutting down level="ShutdownLevel_Duo2FAHttpClient"
10-28-2022 16:35:56.890 +0100 INFO  Shutdown [5763136 Shutdown] - shutting down level="ShutdownLevel_S3ConnectionPoolManager"
10-28-2022 16:35:56.891 +0100 INFO  Shutdown [5763136 Shutdown] - shutting down level="ShutdownLevel_WorkloadManager"
10-28-2022 16:35:56.894 +0100 INFO  loader [5762669 MainThread] - All pipelines finished&lt;/LI-CODE&gt;&lt;P&gt;&lt;BR /&gt;meaning shutdown could be measured with this:&lt;/P&gt;&lt;LI-CODE lang="c"&gt;index=_internal sourcetype="splunkd" source=*splunkd.log  (request state change from=RUN to=SHUTDOWN_SIGNALED) OR (Shutdown shutting down level=*) | transaction startswith=SHUTDOWN_SIGNALED | table _time duration&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;best regards,&lt;/P&gt;&lt;P&gt;Andreas&lt;BR /&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Fri, 28 Oct 2022 15:51:50 GMT</pubDate>
    <dc:creator>schose</dc:creator>
    <dc:date>2022-10-28T15:51:50Z</dc:date>
    <item>
      <title>Question About SPL for SplunkD Shutdown</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Question-About-SPL-for-SplunkD-Shutdown/m-p/618744#M106741</link>
      <description>&lt;P&gt;Hi all, I am new to Splunk and am trying to look for logs that indicate that the SplunkD service shutdown. I am trying this, but I am not sure if there's a better one:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;index=_internal sourcetype="splunkd" keywords "*shut"&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 28 Oct 2022 14:56:59 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Question-About-SPL-for-SplunkD-Shutdown/m-p/618744#M106741</guid>
      <dc:creator>McMac84</dc:creator>
      <dc:date>2022-10-28T14:56:59Z</dc:date>
    </item>
    <item>
      <title>Re: Question About SPL for SplunkD Shutdown</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Question-About-SPL-for-SplunkD-Shutdown/m-p/618752#M106742</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;i would go with this event in splunkd.log:&lt;/P&gt;&lt;LI-CODE lang="c"&gt;"IndexProcessor [5762669 MainThread] - request state change from=RUN to=SHUTDOWN_SIGNALED"&lt;/LI-CODE&gt;&lt;P&gt;this is triggering Splunk to shutdown..&amp;nbsp;&lt;/P&gt;&lt;P&gt;last events at shutdown looks like this:&lt;/P&gt;&lt;LI-CODE lang="c"&gt;10-28-2022 16:35:56.890 +0100 INFO  Shutdown [5763136 Shutdown] - shutting down level="ShutdownLevel_Duo2FAHttpClient"
10-28-2022 16:35:56.890 +0100 INFO  Shutdown [5763136 Shutdown] - shutting down level="ShutdownLevel_S3ConnectionPoolManager"
10-28-2022 16:35:56.891 +0100 INFO  Shutdown [5763136 Shutdown] - shutting down level="ShutdownLevel_WorkloadManager"
10-28-2022 16:35:56.894 +0100 INFO  loader [5762669 MainThread] - All pipelines finished&lt;/LI-CODE&gt;&lt;P&gt;&lt;BR /&gt;meaning shutdown could be measured with this:&lt;/P&gt;&lt;LI-CODE lang="c"&gt;index=_internal sourcetype="splunkd" source=*splunkd.log  (request state change from=RUN to=SHUTDOWN_SIGNALED) OR (Shutdown shutting down level=*) | transaction startswith=SHUTDOWN_SIGNALED | table _time duration&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;best regards,&lt;/P&gt;&lt;P&gt;Andreas&lt;BR /&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 28 Oct 2022 15:51:50 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Question-About-SPL-for-SplunkD-Shutdown/m-p/618752#M106742</guid>
      <dc:creator>schose</dc:creator>
      <dc:date>2022-10-28T15:51:50Z</dc:date>
    </item>
    <item>
      <title>Re: Question About SPL for SplunkD Shutdown</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Question-About-SPL-for-SplunkD-Shutdown/m-p/618755#M106743</link>
      <description>&lt;P&gt;That query is close.&amp;nbsp; Try this&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;index=_internal sourcetype="splunkd" source=*splunkd.log "shut*"&lt;/LI-CODE&gt;&lt;P&gt;You also could try searching for &lt;FONT face="courier new,courier"&gt;component=shutdown&lt;/FONT&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 28 Oct 2022 15:58:17 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Question-About-SPL-for-SplunkD-Shutdown/m-p/618755#M106743</guid>
      <dc:creator>richgalloway</dc:creator>
      <dc:date>2022-10-28T15:58:17Z</dc:date>
    </item>
  </channel>
</rss>

