Spaces method and path for this operation:
get /s/{space_id}/api/profiling/setup/es_resources
Refer to Spaces for more information.
Check if Universal Profiling has been set up and configured properly
[Required authorization] Route required privileges: profiling.
GET
/api/profiling/setup/es_resources
curl \
--request GET 'https://localhost:5601/api/profiling/setup/es_resources' \
--header "Authorization: $API_KEY"
Response examples (200)
Not set up yet
The Elasticsearch profiling plugin is enabled, but the required resources have not been created. Call `POST /api/profiling/setup/es_resources` to set them up.
{
"has_data": false,
"has_required_role": true,
"has_setup": false,
"pre_8_9_1_data": false,
"profiling_enabled": true
}
The Universal Profiling plugin is disabled in the Elasticsearch cluster, so setup cannot complete until it is enabled.
{
"has_data": false,
"has_required_role": true,
"has_setup": false,
"pre_8_9_1_data": false,
"profiling_enabled": false
}
Universal Profiling is set up and profiling data has been ingested.
{
"has_data": true,
"has_required_role": true,
"has_setup": true,
"pre_8_9_1_data": false,
"profiling_enabled": true
}