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!

Extending Observability Content to Splunk Cloud

Watch Now!   In this Extending Observability Content to Splunk Cloud Tech Talk, you'll see how to leverage ...

More Control Over Your Monitoring Costs with Archived Metrics!

What if there was a way you could keep all the metrics data you need while saving on storage costs?This is now ...

New in Observability Cloud - Explicit Bucket Histograms

Splunk introduces native support for histograms as a metric data type within Observability Cloud with Explicit ...