- Watcher Reference for 2.x and 1.x:
- Introduction
- Getting Started
- Customizing Watches
- How Watcher Works
- Installing Watcher
- Administering Watcher
- Configuring Watcher to Send Email
- Configuring Watcher to Send Messages to HipChat
- Configuring Watcher to Send Messages to Slack
- Configuring Watcher to Send PagerDuty Events
- Integrating Watcher with Shield
- Integrating Watcher with Logstash
- Configuring the Default Throttle Period
- Configuring the Default HTTP Timeouts
- Configuring the Default Internal Operations Timeouts
- Getting Watcher Statistics
- Monitoring Watch Execution
- Managing Watches
- Example Watches
- Reference
- Managing Your License
- Limitations
- Troubleshooting
- Release Notes
From version 5.0 onward, Watcher is part of X-Pack. For more information, see
Alerting on cluster and index events.
Configuring the Default HTTP Timeouts
editConfiguring the Default HTTP Timeouts
editAll HTTP requests in watcher (e.g. used by the HTTP Input and Webhook Action) are associated with two timeouts:
- Connection Timeout
- Determines how long should the request wait for the HTTP connection to be established before failing the request.
- Read Timeout
- Assuming the connenction was established, this timeout determines how long should the request wait for a response before failing the request.
By default, both timeouts are set to 10 seconds. It is possible to change this
default using the following settings in elasticsearch.yml
:
watcher.http.default_connection_timeout: 5s watcher.http.default_read_timeout: 20s
Was this helpful?
Thank you for your feedback.