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!

Routing logs with Splunk OTel Collector for Kubernetes

The Splunk Distribution of the OpenTelemetry (OTel) Collector is a product that provides a way to ingest ...

New This Month - Observability Updates Give Extended Visibility and Improve User ...

This month is a collection of special news! From Magic Quadrant updates to AppDynamics integrations to ...

Intro to Splunk Synthetic Monitoring

In our last post, we mentioned that the 3 key pieces of observability – metrics, logs, and traces – provide ...