Dashboards & Visualizations

503 Service Unavailable エラーについて

cwl
Contributor

Splunk Enterprise 6.2.2を使っていますが、ダッシュボードを表示しょうとしたときに以下の「503 Service Unavailable」エラーが表示されるようになりました。

503 Service Unavailable
The splunkd daemon cannot be reached by splunkweb. Check that there are no blocked network ports or that splunkd is still running.

また、web_service.logを確認したところ、以下のエラーが表示されていました。

ERROR .. Splunkd daemon is not responding:  ('Error connecting to /serviceNS/...: The read operation timed out' .)

上記のエラーを改善し、正しくダッシュボードを表示する方法はありますでしょうか?

0 Karma
1 Solution

cwl
Contributor

503エラーが表示された理由は、恐らく30秒以上にsplunkwebとsplunkd間で通信がなかったため、コネクションがタイムアウトし、そのようなエラーが表示された可能性があります。タイムアウトの時間を調整することによって、事象を改善できます。
Splunk 6以降のバージョンを使っている場合、web.conf内の以下のパラメータでsplunkwebとsplunkd間のタイムアウト時間を増やすことができます。

splunkdConnectionTimeout = <integer>
    * Number of seconds to wait before timing out when communicating with splunkd
    * Must be at least 30
    * Values smaller than 30 will be ignored, resulting in the use of the default value
    * Defaults to 30

View solution in original post

0 Karma

cwl
Contributor

503エラーが表示された理由は、恐らく30秒以上にsplunkwebとsplunkd間で通信がなかったため、コネクションがタイムアウトし、そのようなエラーが表示された可能性があります。タイムアウトの時間を調整することによって、事象を改善できます。
Splunk 6以降のバージョンを使っている場合、web.conf内の以下のパラメータでsplunkwebとsplunkd間のタイムアウト時間を増やすことができます。

splunkdConnectionTimeout = <integer>
    * Number of seconds to wait before timing out when communicating with splunkd
    * Must be at least 30
    * Values smaller than 30 will be ignored, resulting in the use of the default value
    * Defaults to 30
0 Karma
Get Updates on the Splunk Community!

Splunk Observability Cloud's AI Assistant in Action Series: Auditing Compliance and ...

This is the third post in the Splunk Observability Cloud’s AI Assistant in Action series that digs into how to ...

Splunk Community Badges!

  Hey everyone! Ready to earn some serious bragging rights in the community? Along with our existing badges ...

What You Read The Most: Splunk Lantern’s Most Popular Articles!

Splunk Lantern is a Splunk customer success center that provides advice from Splunk experts on valuable data ...