Skip to content

Commit 24ab5c0

Browse files
authored
Merge branch 'main' into obs-ai-assistant-llm-performance-matrix
2 parents 4ee68f0 + c22245d commit 24ab5c0

24 files changed

+218
-191
lines changed

manage-data/_snippets/ilm-start.md

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
If the automatic {{ilm}} or {{slm}} service is not working, you might need to restart the service.
2+
3+
To restart {{ilm-init}} and resume executing policies, use the [{{ilm-init}} start API](https://www.elastic.co/docs/api/doc/elasticsearch/operation/operation-ilm-start). This puts the {{ilm-init}} service in the `RUNNING` state and {{ilm-init}} begins executing policies from where it left off.
4+
5+
```console
6+
POST _ilm/start
7+
```
8+
9+
The response will look like this:
10+
11+
```console-result
12+
{
13+
"acknowledged": true
14+
}
15+
```
16+
17+
Verify that {{ilm}} is now running:
18+
19+
```console
20+
GET _ilm/status
21+
```
22+
23+
The response will look like this:
24+
25+
```console-result
26+
{
27+
"operation_mode": "RUNNING"
28+
}
29+
```
Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
To see the current status of the {{ilm-init}} service, use the [{{ilm-init}} status API](https://www.elastic.co/docs/api/doc/elasticsearch/operation/operation-ilm-get-status):
2+
3+
```console
4+
GET _ilm/status
5+
```
6+
7+
Under normal operation, the response shows {{ilm-init}} is `RUNNING`:
8+
9+
```console-result
10+
{
11+
"operation_mode": "RUNNING"
12+
}
13+
```
14+
15+
You can also [](/manage-data/lifecycle/index-lifecycle-management/policy-view-status.md) for further information.

manage-data/_snippets/ilm-stop.md

Lines changed: 45 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,45 @@
1+
By default, the {{ilm}} service is in the `RUNNING` state and manages all indices that have lifecycle policies.
2+
3+
You can stop {{ilm-init}} to suspend management operations for all indices. For example, you might stop {{ilm}} when performing scheduled maintenance or making changes to the cluster that could impact the execution of {{ilm-init}} actions.
4+
5+
::::{important}
6+
When you stop {{ilm-init}}, [{{slm-init}}](/deploy-manage/tools/snapshot-and-restore/create-snapshots.md#automate-snapshots-slm) operations are also suspended. No snapshots will be taken as scheduled until you restart {{ilm-init}}. In-progress snapshots are not affected.
7+
::::
8+
9+
To stop the {{ilm-init}} service and pause execution of all lifecycle policies, use the [{{ilm-init}} stop API](https://www.elastic.co/docs/api/doc/elasticsearch/operation/operation-ilm-stop):
10+
11+
```console
12+
POST _ilm/stop
13+
```
14+
15+
The response will look like this:
16+
17+
```console-result
18+
{
19+
"acknowledged": true
20+
}
21+
```
22+
23+
The {{ilm-init}} service runs all policies to a point where it is safe to stop.
24+
25+
While the {{ilm-init}} service is shutting down, run the status API to verify that {{ilm-init}} is stopping:
26+
27+
```console
28+
GET _ilm/status
29+
```
30+
31+
The response will look like this:
32+
33+
```console-result
34+
{
35+
"operation_mode": "STOPPING"
36+
}
37+
```
38+
39+
Once all policies are at a safe stopping point, {{ilm-init}} moves into the `STOPPED` mode:
40+
41+
```console-result
42+
{
43+
"operation_mode": "STOPPED"
44+
}
45+
```

manage-data/lifecycle/index-lifecycle-management.md

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,6 @@ You can create and manage index lifecycle policies through {{kib}}'s [Index Mana
7777
* [Configure a lifecycle policy](/manage-data/lifecycle/index-lifecycle-management/configure-lifecycle-policy.md)
7878
* [View the lifecycle status of an index or datastream](/manage-data/lifecycle/index-lifecycle-management/policy-view-status.md)
7979
* [Update or switch a lifecycle policy](/manage-data/lifecycle/index-lifecycle-management/policy-updates.md)
80-
* [Start and stop index lifecycle management](/manage-data/lifecycle/index-lifecycle-management/start-stop-index-lifecycle-management.md)
8180
* [Restore a managed data stream or index](/manage-data/lifecycle/index-lifecycle-management/restore-managed-data-stream-index.md)
8281
* [Customize built-in policies](/manage-data/lifecycle/index-lifecycle-management/tutorial-customize-built-in-policies.md)
8382

@@ -89,6 +88,12 @@ Default {{ilm}} policies are created automatically when you install an [Elastic
8988
To automatically back up your indices and manage snapshots, use [snapshot lifecycle policies](/deploy-manage/tools/snapshot-and-restore/create-snapshots.md#automate-snapshots-slm).
9089
::::
9190

91+
## Pausing and troubleshooting {{ilm-init}}
92+
93+
In case you want to temporarily pause the {{ilm-init}} service while you perform maintenance, make other changes to your cluster, or do any troubleshooting, refer to [Start and stop {{ilm-init}}](/manage-data/lifecycle/index-lifecycle-management/start-stop-index-lifecycle-management.md).
94+
95+
In the event of any issues running {{ilm-init}}, refer to [Fix index lifecycle management errors](/troubleshoot/elasticsearch/index-lifecycle-management-errors.md) for detailed troubleshooting guidance.
96+
9297
## Migrate to {{ilm-init}}
9398

9499
For existing hot-warm deployments that are currently using index curation, migrating to ILM gives you more fine-grained control over the lifecycle of each index. Read more in:

manage-data/lifecycle/index-lifecycle-management/manage-existing-indices.md

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,18 @@
11
---
2+
navigation_title: Migrate to {{ilm-init}} (self-managed and ECK)
23
mapped_pages:
34
- https://www.elastic.co/guide/en/elasticsearch/reference/current/ilm-with-existing-indices.html
45
applies_to:
5-
stack: ga
6+
deployment:
7+
self: ga
8+
eck: ga
69
products:
710
- id: elasticsearch
811
---
912

10-
# Manage existing indices [ilm-with-existing-indices]
13+
# Migrate to {{ilm-init}} on self-managed and {{eck}} deployments [ilm-with-existing-indices]
1114

12-
If you’ve been using Curator or some other mechanism to manage periodic indices, you have a couple options when [migrating to {{ilm-init}}](./migrate-index-management.md):
15+
If you’ve been using Curator or some other mechanism to manage periodic indices, you have a couple of options when [migrating to {{ilm-init}}](./migrate-index-management.md):
1316

1417
* Set up your index templates to use an {{ilm-init}} policy to manage your new indices. Once {{ilm-init}} is managing your current write index, you can apply an appropriate policy to your old indices.
1518
* Reindex into an {{ilm-init}}-managed index.
Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
---
2+
navigation_title: Migrate to {{ilm-init}}
3+
mapped_pages:
4+
- https://www.elastic.co/guide/en/cloud-enterprise/current/ece-migrate-index-management.html
5+
- https://www.elastic.co/guide/en/cloud/current/ec-migrate-index-management.html
6+
applies_to:
7+
stack: ga
8+
products:
9+
- id: elasticsearch
10+
- id: cloud-enterprise
11+
- id: cloud-hosted
12+
---
13+
14+
# Migrate to {{ilm-init}} [migrate-ilm]
15+
16+
You may already be another mechanism to manage the lifecycle of your indices. To help you adapt your existing indices to use {{ilm}}, a few guides are available:
17+
18+
[](/manage-data/lifecycle/index-lifecycle-management/migrate-index-management.md) {applies_to}`ess:` {applies_to}`ece:`
19+
: Describes how to migrate {{es}} indices in an {{ech}} or {{ece}} deployment from using deprecated index curation or another periodic indices management mechanism to use {{ilm}}.
20+
21+
[](/manage-data/lifecycle/index-lifecycle-management/manage-existing-indices.md) {applies_to}`self:` {applies_to}`eck:`
22+
: Describes how to migrate {{es}} indices in a self-managed environment from using deprecated index curation, or any other lifecycle mechanism, to use {{ilm}}.
23+
24+
[](/manage-data/lifecycle/index-lifecycle-management/migrate-index-allocation-filters-to-node-roles.md) {applies_to}`stack:`
25+
: Describes how to migrate from using custom node attributes and attribute-based allocation filters to using built-in node roles, enabling {{ilm-init}} to automatically move indices between data tiers.
26+
27+
If you are configuring {{ilm-init}} for new indices, refer to [](/manage-data/lifecycle/index-lifecycle-management/configure-lifecycle-policy.md). If you plan to manually apply an {{ilm}} policy to existing indices that are not already using another type of lifecycle management, refer to [](/manage-data/lifecycle/index-lifecycle-management/policy-apply.md).

manage-data/lifecycle/index-lifecycle-management/migrate-index-management.md

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,23 +1,27 @@
11
---
2+
navigation_title: Migrate to {{ilm-init}} (ECH or ECE)
23
mapped_pages:
34
- https://www.elastic.co/guide/en/cloud-enterprise/current/ece-migrate-index-management.html
45
- https://www.elastic.co/guide/en/cloud/current/ec-migrate-index-management.html
56
applies_to:
67
stack: ga
8+
deployment:
9+
ece: ga
10+
ess: ga
711
products:
812
- id: cloud-enterprise
913
- id: cloud-hosted
1014
---
1115

12-
# Migrate to index lifecycle management
16+
# Migrate to {{ilm-init}} on {{ech}} or {{ece}} deployments
1317

1418
::::{important}
1519
Index curation is deprecated. Any deployments using index curation are prompted to migrate to ILM.
1620
::::
1721

1822
The index lifecycle management (ILM) feature of the {{stack}} provides an integrated and streamlined way to manage time-based data, making it easier to follow best practices for managing your indices. Compared to index curation, migrating to ILM gives you more fine-grained control over the lifecycle of each index.
1923

20-
For existing hot-warm deployments that are currently using index curation, there are a couple of options for migrating to index lifecycle management (ILM). You can:
24+
For existing {{ecloud}} hot-warm deployments that are currently using index curation, there are a couple of options for migrating to index lifecycle management (ILM). You can:
2125

2226
* Use the migration process in the console to change an existing deployment to ILM.
2327
* Take a snapshot and restore your data to a new Elastic Stack deployment that has ILM enabled.

manage-data/lifecycle/index-lifecycle-management/start-stop-index-lifecycle-management.md

Lines changed: 10 additions & 54 deletions
Original file line numberDiff line numberDiff line change
@@ -10,63 +10,19 @@ products:
1010

1111
# Start and stop index lifecycle management [start-stop-ilm]
1212

13-
By default, the {{ilm-init}} service is in the `RUNNING` state and manages all indices that have lifecycle policies.
13+
Follow these steps to check the current {{ilm-init}} status, and to stop or restart it as needed.
1414

15-
You can stop {{ilm}} to suspend management operations for all indices. For example, you might stop {{ilm}} when performing scheduled maintenance or making changes to the cluster that could impact the execution of {{ilm-init}} actions.
15+
### Get {{ilm-init}} status
1616

17-
::::{important}
18-
When you stop {{ilm-init}}, [{{slm-init}}](../../../deploy-manage/tools/snapshot-and-restore/create-snapshots.md#automate-snapshots-slm) operations are also suspended. No snapshots will be taken as scheduled until you restart {{ilm-init}}. In-progress snapshots are not affected.
19-
::::
17+
:::{include} /manage-data/_snippets/ilm-status.md
18+
:::
2019

20+
### Stop {{ilm-init}}
2121

22+
:::{include} /manage-data/_snippets/ilm-stop.md
23+
:::
2224

23-
## Get {{ilm-init}} status [get-ilm-status]
24-
25-
To see the current status of the {{ilm-init}} service, use the [Get Status API](https://www.elastic.co/docs/api/doc/elasticsearch/operation/operation-ilm-get-status):
26-
27-
```console
28-
GET _ilm/status
29-
```
30-
31-
Under normal operation, the response shows {{ilm-init}} is `RUNNING`:
32-
33-
```console-result
34-
{
35-
"operation_mode": "RUNNING"
36-
}
37-
```
38-
39-
40-
## Stop {{ilm-init}} [stop-ilm]
41-
42-
To stop the {{ilm-init}} service and pause execution of all lifecycle policies, use the [Stop API](https://www.elastic.co/docs/api/doc/elasticsearch/operation/operation-ilm-stop):
43-
44-
```console
45-
POST _ilm/stop
46-
```
47-
48-
{{ilm-init}} service runs all policies to a point where it is safe to stop. While the {{ilm-init}} service is shutting down, the status API shows {{ilm-init}} is in the `STOPPING` mode:
49-
50-
```console-result
51-
{
52-
"operation_mode": "STOPPING"
53-
}
54-
```
55-
56-
Once all policies are at a safe stopping point, {{ilm-init}} moves into the `STOPPED` mode:
57-
58-
```console-result
59-
{
60-
"operation_mode": "STOPPED"
61-
}
62-
```
63-
64-
65-
## Start {{ilm-init}} [_start_ilm_init]
66-
67-
To restart {{ilm-init}} and resume executing policies, use the [Start API](https://www.elastic.co/docs/api/doc/elasticsearch/operation/operation-ilm-start). This puts the {{ilm-init}} service in the `RUNNING` state and {{ilm-init}} begins executing policies from where it left off.
68-
69-
```console
70-
POST _ilm/start
71-
```
25+
### Start {{ilm-init}}
7226

27+
:::{include} /manage-data/_snippets/ilm-start.md
28+
:::

manage-data/toc.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -134,8 +134,9 @@ toc:
134134
- file: lifecycle/index-lifecycle-management/restore-managed-data-stream-index.md
135135
- file: lifecycle/index-lifecycle-management/tutorial-customize-built-in-policies.md
136136
- hidden: lifecycle/index-lifecycle-management/index-management-in-kibana.md
137-
- file: lifecycle/index-lifecycle-management/migrate-index-management.md
137+
- file: lifecycle/index-lifecycle-management/migrate-ilm.md
138138
children:
139+
- file: lifecycle/index-lifecycle-management/migrate-index-management.md
139140
- file: lifecycle/index-lifecycle-management/manage-existing-indices.md
140141
- file: lifecycle/index-lifecycle-management/migrate-index-allocation-filters-to-node-roles.md
141142
- file: lifecycle/data-stream.md

solutions/observability/apm/configure-elasticsearch-output.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ products:
99
- id: apm
1010
---
1111

12-
# Configure the Elasticsearch output [apm-elasticsearch-output]
12+
# Configure the Elasticsearch output for APM Server[apm-elasticsearch-output]
1313

1414
::::{note}
1515
![supported deployment methods](/solutions/images/observability-binary-yes-fm-no.svg "")

0 commit comments

Comments
 (0)