UpdateLogstashSettings
Updates the configuration of a specified Logstash instance.
Operation description
When you call this operation, note the following: You cannot update information when the instance is in the activating, invalid, or inactive state.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
elasticsearch:UpdateLogstashSettings |
*All Resource
|
None | None |
Request syntax
PATCH /openapi/logstashes/{InstanceId}/instance-settings HTTP/1.1
Path Parameters
|
Parameter |
Type |
Required |
Description |
Example |
| InstanceId |
string |
Yes |
The instance ID. |
ls-cn-2r42btxr**** |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| clientToken |
string |
No |
Ensures the idempotence of the request. The value is generated by the client and must be unique across different requests. The value can be up to 64 ASCII characters in length. |
5A2CFF0E-5718-45B5-9D4D-70B3FF**** |
| body |
string |
No |
The YML configuration of the Logstash instance to be updated. |
{"config":{"thread_pool.bulk.queue_size":500}} |
Request body
You must also specify the following parameters in the request body to update the configuration of the specified Logstash instance.
| Parameter | Type | Required | Example | Description |
| config | Map | No | {"thread_pool.bulk.queue_size":500} | The YML configuration to update for the instance. |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
|||
| RequestId |
string |
The request ID. |
71D0D1DA-B22F-58CB-AF5B-D1657A6A**** |
The response also includes the Result parameter. For the metric description, see ListLogstash.
Examples
Success response
JSON format
{
"RequestId": "71D0D1DA-B22F-58CB-AF5B-D1657A6A****"
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.