IMPORTANT: No additional bug fixes or documentation updates
will be released for this version. For the latest information, see the
current release documentation.
Webhook action
edit
IMPORTANT: This documentation is no longer updated. Refer to Elastic's version policy and the latest documentation.
Webhook action
editThe Webhook action type uses axios to send a POST or PUT request to a web service.
Connector configuration
editWebhook connectors have the following configuration properties:
- Name
- The name of the connector. The name is used to identify a connector in the management UI connector listing, or in the connector list when configuring an action.
- URL
-
The request URL. If you are using the
xpack.actions.whitelistedHosts
setting, make sure the hostname is whitelisted. - Method
-
HTTP request method, either
post
(default) orput
. - Headers
- A set of key-value pairs sent as headers with the request
- User
- An optional username. If set, HTTP basic authentication is used. Currently only basic authentication is supported.
- Password
- An optional password. If set, HTTP basic authentication is used. Currently only basic authentication is supported.
Action configuration
editWebhook actions have the following properties:
- Body
- A json payload sent to the request URL.