From 35d7bef36b2fe84049a754575cfbc1c2817ac8be Mon Sep 17 00:00:00 2001 From: Francesco Gualazzi Date: Tue, 9 Sep 2025 11:01:11 +0200 Subject: [PATCH 1/3] Update API endpoint for profiling setup commands Paired with https://github.com/elastic/kibana/pull/234065, adjust the documentation for the new public API to setup Profiling in 9.2+ --- .../infra-and-hosts/get-started-with-universal-profiling.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/solutions/observability/infra-and-hosts/get-started-with-universal-profiling.md b/solutions/observability/infra-and-hosts/get-started-with-universal-profiling.md index b0a6abb79c..6d65a2900a 100644 --- a/solutions/observability/infra-and-hosts/get-started-with-universal-profiling.md +++ b/solutions/observability/infra-and-hosts/get-started-with-universal-profiling.md @@ -95,7 +95,7 @@ A successful API call will return a `202 Accepted` response with an empty body. To configure data ingestion from the console, go to **Dev Tools** in the navigation menu and run the following command: ```console -POST kbn:/internal/profiling/setup/es_resources +POST kbn:/api/profiling/setup/es_resources {} ``` @@ -103,7 +103,7 @@ To configure data ingestion programmatically using a standalone HTTP client (e.g ```console curl -u elastic: -H "kbn-xsrf: true" -H "Content-Type: application/json" \ - --data "{}" "https://:/internal/profiling/setup/es_resources" + --data "{}" "https://:/api/profiling/setup/es_resources" ``` From 00f69dbd7bdfcb542301cd41e5ffa1a8818090da Mon Sep 17 00:00:00 2001 From: Francesco Gualazzi Date: Thu, 18 Sep 2025 19:09:09 +0200 Subject: [PATCH 2/3] stack compatibilty for programmatic setup Added a note about stack compatibility for Universal Profiling. --- .../infra-and-hosts/get-started-with-universal-profiling.md | 3 +++ 1 file changed, 3 insertions(+) diff --git a/solutions/observability/infra-and-hosts/get-started-with-universal-profiling.md b/solutions/observability/infra-and-hosts/get-started-with-universal-profiling.md index 6d65a2900a..686fc940d7 100644 --- a/solutions/observability/infra-and-hosts/get-started-with-universal-profiling.md +++ b/solutions/observability/infra-and-hosts/get-started-with-universal-profiling.md @@ -86,6 +86,9 @@ To configure data ingestion, you need elevated privileges, typically the `elasti If you’re upgrading from a previous version with Universal Profiling enabled, see the [upgrade guide](upgrade-universal-profiling.md). +```{applies_to} +stack: ga 9.2 +``` ### Programmatic configuration [profiling-configure-data-ingestion-programmatic] If you prefer to configure data ingestion programmatically, you can use a Kibana API call. This call can be made either through the "Dev Tools" console in Kibana or with any standalone HTTP client (such as `curl` or `wget`). In both cases, the API call must be executed using the `elastic` user credentials to ensure the necessary permissions. From f8b21e12d0c624e25eb867914e366cd8394df9e7 Mon Sep 17 00:00:00 2001 From: florent-leborgne Date: Fri, 19 Sep 2025 10:09:09 +0200 Subject: [PATCH 3/3] Update solutions/observability/infra-and-hosts/get-started-with-universal-profiling.md --- .../infra-and-hosts/get-started-with-universal-profiling.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/solutions/observability/infra-and-hosts/get-started-with-universal-profiling.md b/solutions/observability/infra-and-hosts/get-started-with-universal-profiling.md index fb88324a8c..ed3704f345 100644 --- a/solutions/observability/infra-and-hosts/get-started-with-universal-profiling.md +++ b/solutions/observability/infra-and-hosts/get-started-with-universal-profiling.md @@ -86,10 +86,10 @@ To configure data ingestion, you need elevated privileges, typically the `elasti If you’re upgrading from a previous version with Universal Profiling enabled, see the [upgrade guide](upgrade-universal-profiling.md). +### Programmatic configuration [profiling-configure-data-ingestion-programmatic] ```{applies_to} stack: ga 9.2 ``` -### Programmatic configuration [profiling-configure-data-ingestion-programmatic] If you prefer to configure data ingestion programmatically, you can use a Kibana API call. This call can be made either through the "Dev Tools" console in Kibana or with any standalone HTTP client (such as `curl` or `wget`). In both cases, the API call must be executed using the `elastic` user credentials to ensure the necessary permissions.