2
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 3 years have passed since last update.

Splunk 起動時間と終了時間を調べる

Posted at

小ネタ

start_shutdown.spl
index=_internal TERM("ShutdownHandler") OR  (TERM("Splunkd")  TERM("starting")) sourcetype=splunkd

_Shutdown_はShutdown completeでもいいかなと思ったけど、一応、エラーが出ることも想定して、この文字で検索している。

https://docs.splunk.com/Documentation/Splunk/latest/Troubleshooting/WhatSplunklogsaboutitself

splunkd.log The primary log for the Splunk server. The log is often requested by Splunk Support for troubleshooting purposes. In addition, any stderr messages generated by scripted inputs, scripted search commands, and similar are logged here.

ということで、Splunk自体の基本的なログとなっている。

Splunk Admin編 〜 _internal ログ - metrics.log の種類とその利活用 〜にも書いてましたね。:sweat:

https://docs.splunk.com/Documentation/Splunk/latest/Forwarding/Receiverconnection
をみると、フォワーダー関連のエラーもこれに表示されることがある。らしい

個人でやっていると、あんまり気にしないけど、システム管理とかしていると気になりますね。

2
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
2
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?