v2
post/gateway-update-log-forwarding-elasticsearch
Request body
api-keystring
Elasticsearch api key relevant only for api_key auth-type
auth-typestring
Elasticsearch auth type [api_key/password]
cloud-idstring
Elasticsearch cloud id relevant only for cloud server-type
enablestring
Enable Log Forwarding [true/false]
enable-tlsboolean
Enable tls
indexstring
Elasticsearch index
jsonboolean
Set output format to JSON
nodesstring
Elasticsearch nodes relevant only for nodes server-type
output-formatstring
Logs format [text/json]
passwordstring
Elasticsearch password relevant only for password auth-type
pull-intervalstring
Pull interval in seconds
server-typestring
Elasticsearch server type [cloud/nodes]
tls-certificatestring
Elasticsearch tls certificate
tokenstring
Authentication token (see /auth and /configure)
uid-tokenstring
The universal identity token, Required only for universal_identity authentication
user-namestring
Elasticsearch user name relevant only for password auth-type
Response
gatewayUpdateLogForwardingResponse wraps response body.
updatedboolean