Initialize Universal Profiling setup

POST /api/profiling/setup/es_resources

Spaces method and path for this operation:

post /s/{space_id}/api/profiling/setup/es_resources

Refer to Spaces for more information.

Set up Universal Profiling resources and configuration

[Required authorization] Route required privileges: profiling.

Headers

  • kbn-xsrf string Required

    A required header to protect against CSRF attacks

Responses

  • 202

    Setup was accepted. Enabling resource management in Elasticsearch is asynchronous and may not have completed by the time this response is sent.

  • 403

    The user does not have the privileges required to set up Universal Profiling.

  • 500

    An unexpected error occurred. Setup failed.

POST /api/profiling/setup/es_resources
curl \
 --request POST 'https://localhost:5601/api/profiling/setup/es_resources' \
 --header "Authorization: $API_KEY" \
 --header "kbn-xsrf: true"