Skip to content

Commit 044dcb2

Browse files
authored
Merge branch 'main' into ppf2-slow-tokenizers
2 parents 7c9f097 + 1affd66 commit 044dcb2

20 files changed

+354
-143
lines changed

deploy-manage/cloud-organization/billing/elasticsearch-billing-dimensions.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -27,9 +27,9 @@ For detailed {{es-serverless}} project rates, see the [{{es-serverless}} pricing
2727

2828
{{es}} uses three VCU types:
2929

30-
* **Indexing:** The VCUs used to index incoming documents.
31-
* **Search:** The VCUs used to return search results, with the latency and queries per second (QPS) you require.
32-
* **Machine learning:** The VCUs used to perform inference, NLP tasks, and other ML activities.
30+
* **Indexing:** The VCUs used to index incoming documents. Indexing VCUs account for compute resources consumed for ingestion. This is based on ingestion rate, and amount of data ingested at any given time. Transforms and ingest pipelines also contribute to ingest VCU consumption.
31+
* **Search:** The VCUs used to return search results, with the latency and queries per second (QPS) you require. Search VCUs are calculated as a factor of the compute resources needed to run search queries, search throughput and latency. Search VCUs are not charged per search request, but instead are a factor of the compute resources that scale up and down based on amount of searchable data, search load (QPS) and performance (latency and availability).
32+
* **Machine learning:** The VCUs used to perform inference, NLP tasks, and other ML activities. ML VCUs are a factor of the models deployed, and number of ML operations such as inference for search and ingest. ML VCUs are typically consumed for generating embeddings during ingestion, and during semantic search or reranking.
3333
* **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.
3434

3535

deploy-manage/upgrade/orchestrator/upgrade-cloud-on-k8s.md

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -101,8 +101,11 @@ This will update the ECK installation to the latest binary and update the CRDs a
101101
Upgrading the operator results in a one-time update to existing managed resources in the cluster. This potentially triggers a rolling restart of pods by Kubernetes to apply those changes. The following list contains the ECK operator versions that would cause a rolling restart after they have been installed.
102102

103103
```
104-
1.6, 1.9, 2.0, 2.1, 2.2, 2.4, 2.5, 2.6, 2.7, 2.8, 2.14
104+
1.6, 1.9, 2.0, 2.1, 2.2, 2.4, 2.5, 2.6, 2.7, 2.8, 2.14, 3.1 <1>
105105
```
106+
107+
1. The restart when upgrading to version 3.1 happens only for applications using [stack monitoring](/deploy-manage/monitor/stack-monitoring/eck-stack-monitoring.md).
108+
106109
::::{note}
107110
Stepping over one of these versions, for example, upgrading ECK from 2.6 to 2.9, still triggers a rolling restart.
108111
::::

explore-analyze/ai-assistant.md

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -12,31 +12,33 @@ applies_to:
1212
products:
1313
- id: kibana
1414
- id: observability
15+
- id: security
1516
- id: cloud-serverless
1617
---
1718

1819
# AI assistant
1920

2021
$$$token-limits$$$
2122

22-
**AI Assistant** is a chat-based interactive tool to help you with a variety of tasks related to Elasticsearch and Kibana, including:
23+
**AI Assistant** is a chat-based interactive tool that can help with a variety of tasks throughout Elasticsearch and Kibana, including:
2324

2425
- **Constructing queries**: Assists you in building queries to search and analyze your data, including converting queries from other languages to [ES|QL](query-filter/languages/esql.md).
2526
- **Indexing data**: Guides you on how to index data into Elasticsearch.
2627
- **Using APIs**: Calls Elasticsearch APIs on your behalf if you need specific operations performed.
2728
- **Generating sample data**: Helps you create sample data for testing and development purposes.
2829
- **Visualizing and analyzing data**: Assists you in creating visualizations and analyzing your data using Kibana.
2930
- **Troubleshooting**: Explains errors, messages, and suggests remediation.
31+
- **Investigating threats**: Helps analyze potential attacks, provides threat research, and assists with alert triage.
3032

31-
AI Assistant requires specific privileges and a generative AI connector.
32-
33-
% Check [Configure AI Assistant](../deploy-manage/) for more details on how to enable and configure it.
34-
35-
The capabilities and ways to interact with AI Assistant can differ for each solution. Find more information in the respective solution docs:
33+
AI Assistant requires specific privileges and a large language model (LLM) connector. The capabilities and ways to interact with AI Assistant can differ for each solution. To learn more about how it works in each solution, refer to:
3634

3735
- [{{obs-ai-assistant}}](../solutions/observability/observability-ai-assistant.md)
3836
- [AI Assistant for Security](../solutions/security/ai/ai-assistant.md)
3937

38+
To learn more about configuring LLM connectors, refer to:
39+
40+
- [Enable LLM access](../solutions/security/ai/set-up-connectors-for-large-language-models-llm.md)
41+
4042
## Prompt best practices [rag-for-esql]
4143
Elastic AI Assistant allows you to take full advantage of the Elastic platform to improve your operations. It can help you write an ES|QL query for a particular use case, or answer general questions about how to use the platform. Its ability to assist you depends on the specificity and detail of your questions. The more context and detail you provide, the more tailored and useful its responses will be.
4244

explore-analyze/query-filter.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,8 +26,7 @@ You’ll use a combination of an API endpoint and a query language to interact w
2626

2727
- A number of [tools](/explore-analyze/query-filter/tools.md) are available for you to save, debug, and optimize your queries.
2828

29-
% todo: update link to the best target
30-
If you're just getting started with Elasticsearch, try the hands-on [API quickstart](/solutions/search/elasticsearch-basics-quickstart.md) to learn how to add data and run basic searches using Query DSL and the `_search` endpoint.
29+
If you're just getting started with {{es}}, try the hands-on [](/solutions/search/get-started/index-basics.md) to learn how to add data and run basic searches using Query DSL and the `_search` endpoint.
3130

3231
## Filtering
3332

103 KB
Loading
107 KB
Loading

manage-data/lifecycle/data-stream/tutorial-update-existing-data-stream.md

Lines changed: 90 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -10,15 +10,42 @@ products:
1010

1111
# Tutorial: Update existing data stream [tutorial-manage-existing-data-stream]
1212

13-
To update the lifecycle of an existing data stream you do the following actions:
13+
To update the lifecycle of an existing data stream, perform the following actions:
1414

1515
1. [Set a data stream’s lifecycle](#set-lifecycle)
1616
2. [Remove lifecycle for a data stream](#delete-lifecycle)
1717

1818

1919
## Set a data stream’s lifecycle [set-lifecycle]
2020

21-
To add or to change the retention period of your data stream you can use the [PUT lifecycle API](https://www.elastic.co/docs/api/doc/elasticsearch/operation/operation-indices-put-data-lifecycle).
21+
To add or to change the retention period of your data stream you can use the **Index Management** tools in {{kib}} or the {{es}} [lifecycle API](https://www.elastic.co/docs/api/doc/elasticsearch/operation/operation-indices-put-data-lifecycle).
22+
23+
24+
:::::{tab-set}
25+
:group: kibana-api
26+
:::{tab-item} {{kib}}
27+
:sync: kibana
28+
29+
To change the data retention settings for a data stream:
30+
31+
1. Go to **Stack Management > Index Management** and open the **Data Streams** tab.
32+
1. Use the search tool to find the data stream you're looking for.
33+
1. Select the data stream to view its details.
34+
1. In the data stream details pane, select **Manage > Edit data retention** to adjust the settings. You can do any of the following:
35+
36+
- Select how long to retain your data, in days, hours, minutes, or seconds.
37+
- Choose to **Keep data indefinitely**, so that your data will not be deleted. Your data stream is still managed but the data will never be deleted. Managing a time series data stream such as for logs or metrics enables {{es}} to better store your data even if you do not use a retention period.
38+
- Disable **Enable data retention** to turn off data stream lifecycle management for your data stream.
39+
40+
Note that if the data stream is already managed by [{{ilm-init}}](/manage-data/lifecycle/index-lifecycle-management.md), to edit the data retention settings you must edit the associated {{ilm-init}} policy.
41+
42+
43+
:::
44+
45+
:::{tab-item} API
46+
:sync: api
47+
48+
To change the data retention settings for a data stream:
2249

2350
* You can set infinite retention period, meaning that your data should never be deleted. For example:
2451

@@ -27,7 +54,7 @@ To add or to change the retention period of your data stream you can use the [PU
2754
{ } <1>
2855
```
2956

30-
1. An empty payload means that your data stream is still managed but the data will never be deleted. Managing a time series data stream such as logs or metrics enables {{es}} to better store your data even if you do not use a retention period.
57+
1. An empty payload means that your data stream is still managed but the data will never be deleted. Managing a time series data stream such as for logs or metrics enables {{es}} to better store your data even if you do not use a retention period.
3158

3259
* Or you can set the retention period of your choice. For example:
3360

@@ -39,9 +66,32 @@ To add or to change the retention period of your data stream you can use the [PU
3966
```
4067

4168
1. The retention period of this data stream is set to 30 days. This means that {{es}} is allowed to delete data that is older than 30 days at its own discretion.
69+
:::
70+
:::::
71+
72+
The changes in the lifecycle are applied on all backing indices of the data stream.
73+
74+
You can see the effect of the change in {{kib}} or using the {{es}} [explain API](https://www.elastic.co/docs/api/doc/elasticsearch/operation/operation-indices-explain-data-lifecycle):
75+
76+
:::::{tab-set}
77+
:group: kibana-api
78+
:::{tab-item} {{kib}}
79+
:sync: kibana
80+
To check the data retention settings for a data stream:
81+
82+
1. Go to **Stack Management > Index Management** and open the **Data Streams** tab.
83+
1. Use the search tool to find the data stream you're looking for.
84+
1. Select the data stream to view its details. The flyout shows the data retention settings for the data stream. Note that if the data stream is currently managed by an [{{ilm-init}} policy](/manage-data/lifecycle/index-lifecycle-management.md), the **Effective data retention** may differ from the retention value that you've set in the data stream, as indicated by the **Data retention**.
85+
86+
:::{image} /manage-data/images/elasticsearch-reference-lifecycle-status.png
87+
:alt: Index lifecycle status page
88+
:width: 500px
89+
:::
4290

91+
:::{tab-item} API
92+
:sync: api
4393

44-
The changes in the lifecycle are applied on all backing indices of the data stream. You can see the effect of the change via the [explain API](https://www.elastic.co/docs/api/doc/elasticsearch/operation/operation-indices-explain-data-lifecycle):
94+
To check the data retention settings for a data stream:
4595

4696
```console
4797
GET .ds-my-data-stream-*/_lifecycle/explain
@@ -90,16 +140,48 @@ The response will look like:
90140
9. The time that will be used to determine when it’s safe to delete this index and all its data.
91141
10. The data retention for this index as well is at least 30 days, as it was recently updated.
92142

93-
143+
:::
144+
:::::
94145

95146
## Remove lifecycle for a data stream [delete-lifecycle]
96147

97-
To remove the lifecycle of a data stream you can use the [delete lifecycle API](https://www.elastic.co/docs/api/doc/elasticsearch/operation/operation-indices-delete-data-lifecycle). As consequence, the maintenance operations that were applied by the lifecycle will no longer be applied to the data stream and all its backing indices. For example:
148+
To remove the lifecycle of a data stream you can use the **Index Management** tools in {{kib}} or the {{es}} [delete lifecycle API](https://www.elastic.co/docs/api/doc/elasticsearch/operation/operation-indices-delete-data-lifecycle).
149+
150+
151+
:::::{tab-set}
152+
:group: kibana-api
153+
:::{tab-item} {{kib}}
154+
:sync: kibana
155+
156+
To remove a data stream's lifecycle:
157+
158+
1. Go to **Stack Management > Index Management** and open the **Data Streams** tab.
159+
1. Use the search tool to find the data stream you're looking for.
160+
1. Select the data stream to view its details.
161+
1. In the data stream details pane, select **Manage > Edit data retention**.
162+
1. Turn off the **Enable data retention** option and save your changes. The maintenance operations that were applied by the lifecycle will no longer be applied to the data stream and all of its backing indices.
163+
164+
You can confirm your changes by reopening the data stream pane. The **Effective data retention** will show a **Disabled** status.
165+
166+
::::{image} /manage-data/images/elasticsearch-reference-lifecycle-disabled.png
167+
:alt: Index lifecycle status is disabled
168+
:width: 500px
169+
::::
170+
171+
172+
:::
173+
174+
:::{tab-item} API
175+
:sync: api
176+
177+
To remove a data stream's lifecycle:
98178

99179
```console
100180
DELETE _data_stream/my-data-stream/_lifecycle
101181
```
102182

183+
After running the API request, the maintenance operations that were applied by the lifecycle will no longer be applied to the data stream and all of its backing indices.
184+
103185
You can then use the [explain API](https://www.elastic.co/docs/api/doc/elasticsearch/operation/operation-indices-explain-data-lifecycle) again to see that the indices are no longer managed.
104186

105187
```console
@@ -125,5 +207,5 @@ GET .ds-my-data-stream-*/_lifecycle/explain
125207
2. Indication that the index is not managed by the data stream lifecycle.
126208
3. The name of another backing index.
127209
4. Indication that the index is not managed by the data stream lifecycle.
128-
129-
210+
:::
211+
:::::

redirects.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -308,3 +308,5 @@ redirects:
308308
'solutions/security/configure-elastic-defend/enable-access-for-macos-monterey.md': 'solutions/security/configure-elastic-defend/enable-access-for-macos.md'
309309
'solutions/security/configure-elastic-defend/enable-access-for-macos-ventura-higher.md': 'solutions/security/configure-elastic-defend/enable-access-for-macos.md'
310310

311+
# Related to https://github.com/elastic/docs-content/pull/2245/
312+
'solutions/search/elasticsearch-basics-quickstart.md': 'solutions/search/get-started/index-basics.md'

reference/fleet/add-fleet-server-kubernetes.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -336,7 +336,7 @@ Adapt and change the suggested manifests and deployment strategy to your needs,
336336
automountServiceAccountToken: false
337337
containers:
338338
- name: elastic-agent
339-
image: docker.elastic.co/beats/elastic-agent:{{version.stack}}
339+
image: docker.elastic.co/elastic-agent:{{version.stack}}
340340
env:
341341
- name: FLEET_SERVER_ENABLE
342342
value: "true"
@@ -422,7 +422,7 @@ Adapt and change the suggested manifests and deployment strategy to your needs,
422422
automountServiceAccountToken: false
423423
containers:
424424
- name: elastic-agent
425-
image: docker.elastic.co/beats/elastic-agent:{{version.stack}}
425+
image: docker.elastic.co/elastic-agent:{{version.stack}}
426426
env:
427427
- name: FLEET_SERVER_ENABLE
428428
value: "true"
129 KB
Loading

0 commit comments

Comments
 (0)