Create or update agent configuration
- Base URL
-
https://{kibana_url}
-
PUT
/api/apm/settings/agent-configuration
-
PUT
/s/{space_id}/api/apm/settings/agent-configuration
Auth
-
space_id
string
optional
-
An identifier for the space. If space_id is not provided in the URL, the default space is used. Refer to Spaces for more information.
-
overwrite
boolean
-
If the config exists ?overwrite=true is required
-
The version of the API to use
-
Values:
2023-10-31
-
A required header to protect against CSRF attacks
-
agent_name
string
-
Agent name
-
service
object
required
-
Service
-
-
environment
string
-
Environment
-
settings
map string to string
required
-
Agent configuration settings
-
message
string
-
Error message
-
statusCode
number
-
Error status code
-
message
string
-
Error message
-
statusCode
number
-
Error status code
-
message
string
-
Error message
-
statusCode
number
-
Error status code
-
message
string
-
Error message
-
statusCode
number
-
Error status code