Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -87,6 +87,9 @@ If you’re upgrading from a previous version with Universal Profiling enabled,


### Programmatic configuration [profiling-configure-data-ingestion-programmatic]
```{applies_to}
stack: ga 9.2
```

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.

Expand All @@ -95,15 +98,15 @@ 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
{}
```

To configure data ingestion programmatically using a standalone HTTP client (e.g., `curl`), run the following command:

```console
curl -u elastic:<PASSWORD> -H "kbn-xsrf: true" -H "Content-Type: application/json" \
--data "{}" "https://<kibana-host>:<kibana-port>/internal/profiling/setup/es_resources"
--data "{}" "https://<kibana-host>:<kibana-port>/api/profiling/setup/es_resources"
```


Expand Down
Loading