You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
:::{dropdown} Can I use Cloud Connect to connect my {{ech}} clusters to AutoOps?
2
2
3
3
This path is not supported. Currently, we only support using Cloud Connect to connect ECE, ECK, and self-managed clusters to AutoOps.
4
+
5
+
For {{ech}} clusters, AutoOps is set up and enabled automatically in all supported [regions](/deploy-manage/monitor/autoops/ec-autoops-regions.md), and can be [accessed](/deploy-manage/monitor/autoops/ec-autoops-how-to-access.md) from the deployment overview page.
Copy file name to clipboardExpand all lines: deploy-manage/cloud-organization/billing/elasticsearch-billing-dimensions.md
+1-4Lines changed: 1 addition & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -30,6 +30,7 @@ For detailed {{es-serverless}} project rates, see the [{{es-serverless}} pricing
30
30
***Indexing:** The VCUs used to index incoming documents.
31
31
***Search:** The VCUs used to return search results, with the latency and queries per second (QPS) you require.
32
32
***Machine learning:** The VCUs used to perform inference, NLP tasks, and other ML activities.
33
+
***Tokens:** The Elastic Managed LLM is charged per 1Mn Input and Output tokens. The LLM powers all AI Search features such as Playground and AI Assistant for Search, and is enabled by default.
33
34
34
35
35
36
## Data storage and billing [elasticsearch-billing-information-about-the-search-ai-lake-dimension-gb]
@@ -43,10 +44,6 @@ You can control costs using the following strategies:
43
44
44
45
***Search Power setting:**[Search Power](../../deploy/elastic-cloud/project-settings.md#elasticsearch-manage-project-search-power-settings) controls the speed of searches against your data. With Search Power, you can improve search performance by adding more resources for querying, or you can reduce provisioned resources to cut costs.
45
46
***Search boost window**: By limiting the number of days of [time series data](../../../solutions/search/ingest-for-search.md#elasticsearch-ingest-time-series-data) that are available for caching, you can reduce the number of search VCUs required.
46
-
***Machine learning trained model autoscaling:** Configure your trained model deployment to allow it to scale down to zero allocations when there are no active inference requests:
47
-
48
-
* When starting or updating a trained model deployment, [Enable adaptive resources](../../autoscaling/trained-model-autoscaling.md#enabling-autoscaling-in-kibana-adaptive-resources) and set the VCU usage level to **Low**.
49
-
* When using the inference API for {{es}} or ELSER, [enable `adaptive_allocations`](../../autoscaling/trained-model-autoscaling.md#enabling-autoscaling-through-apis-adaptive-allocations).
50
47
51
48
***Indexing Strategies:** Consider your indexing strategies and how they might impact overall VCU usage and costs:
Copy file name to clipboardExpand all lines: deploy-manage/monitor/autoops.md
-2Lines changed: 0 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -12,8 +12,6 @@ products:
12
12
13
13
AutoOps diagnoses issues in {{es}} by analyzing hundreds of metrics, providing root-cause analysis and accurate resolution paths. With AutoOps, customers can prevent and resolve issues, cut down administration time, and optimize resource utilization.
14
14
15
-
AutoOps is currently only available for [{{ech}} deployments](/deploy-manage/deploy/elastic-cloud/cloud-hosted.md).
navigation_title: Connect your local development cluster
6
+
---
7
+
8
+
# Connect your local development cluster to AutoOps
9
+
10
+
If you have an {{es}} cluster set up for local development or testing, you can connect it to AutoOps using Docker.
11
+
12
+
## Prerequisites
13
+
14
+
Ensure your system meets the following requirements before proceeding:
15
+
16
+
* You have set up [{{es}} for local development](/deploy-manage/deploy/self-managed/local-development-installation-quickstart.md).
17
+
* You have installed [Docker Desktop](https://www.docker.com/products/docker-desktop).
18
+
* You have an {{ecloud}} account with the [Organization owner role](/deploy-manage/monitor/autoops/cc-manage-users.md#assign-roles).
19
+
20
+
## Connect your local development cluster to AutoOps
21
+
22
+
Complete the following steps to connect your local development cluster to AutoOps.
23
+
24
+
1. Run the following command in your terminal to open the `/etc/hosts` file in a text editor with administrator privileges:
25
+
26
+
```sh
27
+
vim /etc/hosts
28
+
```
29
+
2. On a new line in the `/etc/hosts` file, add an entry to map the {{es}} cluster URL to the IP address representing the local development cluster.
30
+
31
+
The entry should be formatted as `127.0.0.1 {{hostname}}`.
32
+
3. Save the changes.
33
+
4. In your terminal, run the following command to reload the hostname service:
34
+
* For Linux:
35
+
```sh
36
+
/bin/systemctl restart systemd-hostnamed
37
+
```
38
+
* For macOS:
39
+
```sh
40
+
sudo dscacheutil -flushcache
41
+
```
42
+
5. Follow the instructions to [Connect to AutoOps](/deploy-manage/monitor/autoops/cc-connect-self-managed-to-autoops.md#connect-to-autoops) with the following differences:
43
+
* In the [Select installation method](/deploy-manage/monitor/autoops/cc-connect-self-managed-to-autoops.md#select-installation-method) step, select**Docker**.
44
+
* In the [Configure agent](/deploy-manage/monitor/autoops/cc-connect-self-managed-to-autoops.md#configure-agent) step, when prompted to enter your **{{es}} endpoint URL**, enter the name of your local development cluster or enter the following:
45
+
```sh
46
+
http://localhost:9200
47
+
```
48
+
* In the [Install agent](/deploy-manage/monitor/autoops/cc-connect-self-managed-to-autoops.md#install-agent) step, paste the command into the text editor and replace `docker run -d \` with:
49
+
```sh
50
+
docker run -d --network host \
51
+
```
52
+
53
+
This replacement is also required if your cluster is running on macOS.
54
+
55
+
After completing all the steps, you can [Access AutoOps](/deploy-manage/monitor/autoops/cc-connect-self-managed-to-autoops.md#access-autoops).
Copy file name to clipboardExpand all lines: deploy-manage/monitor/autoops/cc-connect-self-managed-to-autoops.md
+23-18Lines changed: 23 additions & 18 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -4,15 +4,19 @@ applies_to:
4
4
self:
5
5
ece:
6
6
eck:
7
-
navigation_title: Connect your cluster
7
+
navigation_title: Connect your self-managed cluster
8
8
---
9
9
10
-
# Connect your cluster to AutoOps
10
+
# Connect your self-managed cluster to AutoOps
11
11
12
12
To use AutoOps with your ECE, ECK, or self-managed cluster, you first need to create an {{ecloud}} account or log in to your existing account. An installation wizard will then guide you through the steps of installing {{agent}} to send metrics from your cluster to AutoOps in {{ecloud}}.
13
13
14
14
Complete the steps in the following subsections to connect your cluster to AutoOps. The connection process takes about 10 minutes.
15
15
16
+
:::{note}
17
+
If you have an {{es}} cluster set up for local development or testing, you can connect it to AutoOps using Docker. Refer to [](/deploy-manage/monitor/autoops/cc-connect-local-dev-to-autoops.md).
18
+
:::
19
+
16
20
## Prerequisites
17
21
18
22
Ensure your system meets the following requirements before proceeding:
@@ -21,7 +25,7 @@ Ensure your system meets the following requirements before proceeding:
21
25
* Your cluster is on an [Enterprise self-managed license](https://www.elastic.co/subscriptions) or an active self-managed [trial](https://cloud.elastic.co/registration).
22
26
* The agent you install for the connection is allowed to send metrics to {{ecloud}}.
23
27
24
-
## Connect to AutoOps
28
+
## Connect to AutoOps (private preview) [connect-to-autoops]
@@ -86,8 +90,8 @@ This is the first step of the installation wizard. Your cluster ships metrics to
86
90
87
91
Select one of the following methods to install {{agent}}:
88
92
89
-
* Kubernetes
90
-
* Docker
93
+
***Kubernetes**
94
+
***Docker**
91
95
<!-- Not applicable for private preview
92
96
* Linux
93
97
* Windows
@@ -208,7 +212,8 @@ The wizard will generate an installation command based on your configuration. De
208
212
209
213
* Kubernetes
210
214
* YAML
211
-
* Helm Chart
215
+
<!-- Not applicable for private preview
216
+
* Helm Chart -->
212
217
* Docker
213
218
* Docker
214
219
* Docker compose
@@ -226,18 +231,18 @@ Complete the following steps to run the command:
226
231
1. Copy the command.
227
232
2. Paste it into a text editor and update the placeholder values in the following environment variables:
228
233
229
-
| Environment variable | Description |
230
-
| --- | --- |
231
-
|`AUTOOPS_OTEL_URL`| The {{ecloud}} URL to which {{agent}} ships data. The URL is generated based on the CSP and region you pick. <br> This URL shouldn't be edited. |
232
-
|`AUTOOPS_ES_URL`| The URL {{agent}} uses to communicate with {{es}}. |
233
-
|`ELASTICSEARCH_READ_API_KEY`| The API key for API key authentication to access the cluster. It combines the `${id}:${api_key}` values. <br> This variable shouldn't be used with `ELASTICSEARCH_READ_USERNAME` and `ELASTICSEARCH_READ_PASSWORD`. |
234
-
|`ELASTICSEARCH_READ_USERNAME`| The username for basic authentication to access the cluster. <br> This variable should be used with `ELASTICSEARCH_READ_PASSWORD`. |
235
-
|`ELASTICSEARCH_READ_PASSWORD`| The password for basic authentication to access the cluster. <br> This variable should be used with `ELASTICSEARCH_READ_USERNAME`. |
236
-
|`ELASTIC_CLOUD_CONNECTED_MODE_API_KEY`| The {{ecloud}} API Key used to register the cluster. <br> This key shouldn't be edited. |
237
-
|`AUTOOPS_TEMP_RESOURCE_ID`| The temporary ID for the current installation wizard. |
238
-
239
-
4. Run the command from the machine where you want to install the agent.
240
-
5. Return to the wizard and select **I have run the command**.
234
+
| Environment variable | Description |
235
+
| --- | --- |
236
+
|`AUTOOPS_OTEL_URL`| The {{ecloud}} URL to which {{agent}} ships data. The URL is generated based on the CSP and region you pick. <br> This URL shouldn't be edited. |
237
+
|`AUTOOPS_ES_URL`| The URL {{agent}} uses to communicate with {{es}}. |
238
+
|`ELASTICSEARCH_READ_API_KEY`| The API key for API key authentication to access the cluster. It combines the `${id}:${api_key}` values. <br> This variable shouldn't be used with `ELASTICSEARCH_READ_USERNAME` and `ELASTICSEARCH_READ_PASSWORD`. |
239
+
|`ELASTICSEARCH_READ_USERNAME`| The username for basic authentication to access the cluster. <br> This variable should be used with `ELASTICSEARCH_READ_PASSWORD`. |
240
+
|`ELASTICSEARCH_READ_PASSWORD`| The password for basic authentication to access the cluster. <br> This variable should be used with `ELASTICSEARCH_READ_USERNAME`. |
241
+
|`ELASTIC_CLOUD_CONNECTED_MODE_API_KEY`| The {{ecloud}} API Key used to register the cluster. <br> This key shouldn't be edited. |
242
+
|`AUTOOPS_TEMP_RESOURCE_ID`| The temporary ID for the current installation wizard. |
243
+
244
+
3. Run the command from the machine where you want to install the agent.
245
+
4. Return to the wizard and select **I have run the command**.
241
246
242
247
It might take a few minutes for your cluster details to be validated and the first metrics to be shipped to AutoOps.
Copy file name to clipboardExpand all lines: deploy-manage/users-roles/cluster-or-deployment-auth/file-based.md
+4Lines changed: 4 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -215,6 +215,10 @@ stringData:
215
215
roles: kibana_admin,ingest_admin # optional, not part of kubernetes.io/basic-auth
216
216
```
217
217
218
+
::::{tip}
219
+
To create custom roles that can be referenced in this list refer to [](/deploy-manage/users-roles/cluster-or-deployment-auth/defining-roles.md#roles-management-file).
220
+
::::
221
+
218
222
You can make this file available to {{eck}} by adding it as a file realm secret:
Copy file name to clipboardExpand all lines: explore-analyze/alerts-cases/alerts/alerting-setup.md
+5-1Lines changed: 5 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -51,7 +51,11 @@ Likewise, you can customize the **Rules Settings** sub-feature privileges relate
51
51
52
52
To create a rule that uses the [Cases connector](kibana://reference/connectors-kibana/cases-action-type.md), you must also have `All` privileges for the **Cases** feature.
53
53
54
-
The rule type also affects the privileges that are required. For example, to create or edit {{ml}} rules, you must have `all` privileges for the **Analytics > {{ml-app}}** feature. For {{stack-monitor-app}} rules, you must have the `monitoring_user` role. For {{observability}} rules, you must have `all` privileges for the appropriate {{observability}} features. For Security rules, refer to [Detections prerequisites and requirements](../../../solutions/security/detect-and-alert/detections-requirements.md).
54
+
The rule type also affects the privileges that are required to create and edit rules. For example:
55
+
* For {{ml}} rules, you must have `all` privileges for the **Analytics > {{ml-app}}** feature.
56
+
* For {{stack-monitor-app}} rules, you must have the `monitoring_user` role.
57
+
* For most {{observability}} rules, you must have `all` privileges for the appropriate {{observability}} features. However, for a custom threshold rule, you only need the `stack alerts` privilege.
58
+
* For Security rules, refer to [Detections prerequisites and requirements](../../../solutions/security/detect-and-alert/detections-requirements.md).
Copy file name to clipboardExpand all lines: explore-analyze/query-filter/languages/querydsl.md
+4-10Lines changed: 4 additions & 10 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -11,12 +11,6 @@ products:
11
11
12
12
# Query DSL
13
13
14
-
$$$filter-context$$$
15
-
16
-
$$$query-dsl-allow-expensive-queries$$$
17
-
18
-
$$$relevance-scores$$$
19
-
20
14
## What's Query DSL? [search-analyze-query-dsl]
21
15
22
16
**Query DSL** is a full-featured JSON-style query language that enables complex searching, filtering, and aggregations. It is the original and most powerful query language for {{es}} today.
**Allow expensive queries**: Certain types of queries will generally execute slowly due to the way they are implemented, which can affect the stability of the cluster. Those queries can be categorized as follows:
67
61
68
-
- Queries that need to do linear scans to identify matches:
62
+
- Queries that need to do linear scans to identify matches:
- queries on [numeric](elasticsearch://reference/elasticsearch/mapping-reference/number.md), [date](elasticsearch://reference/elasticsearch/mapping-reference/date.md), [boolean](elasticsearch://reference/elasticsearch/mapping-reference/boolean.md), [ip](elasticsearch://reference/elasticsearch/mapping-reference/ip.md), [geo_point](elasticsearch://reference/elasticsearch/mapping-reference/geo-point.md) or [keyword](elasticsearch://reference/elasticsearch/mapping-reference/keyword.md) fields that are not indexed but have [doc values](elasticsearch://reference/elasticsearch/mapping-reference/doc-values.md) enabled
72
66
73
-
- Queries that have a high up-front cost:
67
+
- Queries that have a high up-front cost:
74
68
75
69
-[`fuzzy` queries](elasticsearch://reference/query-languages/query-dsl/query-dsl-fuzzy-query.md) (except on [`wildcard`](elasticsearch://reference/elasticsearch/mapping-reference/keyword.md#wildcard-field-type) fields)
76
70
-[`regexp` queries](elasticsearch://reference/query-languages/query-dsl/query-dsl-regexp-query.md) (except on [`wildcard`](elasticsearch://reference/elasticsearch/mapping-reference/keyword.md#wildcard-field-type) fields)
77
71
-[`prefix` queries](elasticsearch://reference/query-languages/query-dsl/query-dsl-prefix-query.md) (except on [`wildcard`](elasticsearch://reference/elasticsearch/mapping-reference/keyword.md#wildcard-field-type) fields or those without [`index_prefixes`](elasticsearch://reference/elasticsearch/mapping-reference/index-prefixes.md))
78
72
-[`wildcard` queries](elasticsearch://reference/query-languages/query-dsl/query-dsl-wildcard-query.md) (except on [`wildcard`](elasticsearch://reference/elasticsearch/mapping-reference/keyword.md#wildcard-field-type) fields)
79
73
-[`range` queries](elasticsearch://reference/query-languages/query-dsl/query-dsl-range-query.md) on [`text`](elasticsearch://reference/elasticsearch/mapping-reference/text.md) and [`keyword`](elasticsearch://reference/elasticsearch/mapping-reference/keyword.md) fields
0 commit comments