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
* {{es}} plugins, are not enabled by default for security purposes. Reach out to support if you would like to enable {{es}} plugins support on your account.
73
73
* Some {{es}} plugins do not apply to {{ecloud}}. For example, you won’t ever need to change discovery, as {{ecloud}} handles how nodes discover one another.
74
74
% * In {{es}} 5.0 and later, site plugins are no longer supported. This change does not affect the site plugins {{ecloud}} might provide out of the box, such as Kopf or Head, since these site plugins are serviced by our proxies and not {{es}} itself.
75
-
% * In {{es}} 5.0 and later, site plugins such as Kopf and Paramedic are no longer provided. We recommend that you use our [cluster performance metrics](../../monitor/stack-monitoring.md), [X-Pack monitoring features](../../monitor/stack-monitoring.md) and Kibana’s (6.3+) [Index Management UI](/manage-data/lifecycle/index-lifecycle-management/index-management-in-kibana.md) if you want more detailed information or perform index management actions.
75
+
% * In {{es}} 5.0 and later, site plugins such as Kopf and Paramedic are no longer provided. We recommend that you use our [cluster performance metrics](../../monitor/stack-monitoring.md), [X-Pack monitoring features](../../monitor/stack-monitoring.md) and Kibana’s (6.3+) [Index Management UI](/manage-data/data-store/index-basics.md#manage-indices) if you want more detailed information or perform index management actions.
Copy file name to clipboardExpand all lines: explore-analyze/alerts-cases/watcher/watcher-ui.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -30,7 +30,7 @@ To use Watcher in {{kib}}, you must have the built-in `kibana_admin` role and ei
30
30
To manage roles, go to the **Roles** management page, or use the [role APIs](https://www.elastic.co/docs/api/doc/kibana/group/endpoint-roles). Watches are shared between all users with the same role.
31
31
32
32
::::{note}
33
-
If you are creating a threshold watch, you must also have the `view_index_metadata` index privilege. See [Index management](../../../manage-data/lifecycle/index-lifecycle-management/index-management-in-kibana.md) for detailed information.
33
+
If you are creating a threshold watch, you must also have the `view_index_metadata` index privilege. See [Index management](/manage-data/data-store/index-basics.md#index-management) for detailed information.
34
34
::::
35
35
36
36
## Create a threshold alert [watcher-create-threshold-alert]
Copy file name to clipboardExpand all lines: manage-data/data-store/data-streams/logs-data-stream.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -48,7 +48,7 @@ PUT _index_template/my-index-template
48
48
49
49
After the index template is created, new indices that use the template will be configured as a logs data stream. You can start indexing data and [using the data stream](use-data-stream.md).
50
50
51
-
You can also set the index mode and adjust other template settings in [the Elastic UI](../../lifecycle/index-lifecycle-management/index-management-in-kibana.md).
51
+
You can also set the index mode and adjust other template settings in [the Elastic UI](/manage-data/data-store/index-basics.md#index-management-manage-index-templates).
Copy file name to clipboardExpand all lines: manage-data/data-store/index-basics.md
+192-9Lines changed: 192 additions & 9 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -68,23 +68,75 @@ Each index has a [mapping](/manage-data/data-store/mapping.md) or schema for how
68
68
69
69
## Index management
70
70
71
-
Elastic's index management features are an easy, convenient way to manage your cluster's indices, data streams, index templates, and enrich policies. Practicing good index management ensures your data is stored correctly and in the most cost-effective way possible.
71
+
Elastic's **Index Management** features are an easy, convenient way to manage your cluster’s indices, [data streams](/manage-data/lifecycle/data-stream.md), [templates](/manage-data/data-store/templates.md), and [enrich policies](/manage-data/ingest/transform-enrich/data-enrichment.md). Practicing good index management ensures your data is stored correctly and in the most cost-effective way possible.
72
72
73
-
Go to **{{project-settings}} → {{manage-app}} → {{index-manage-app}}**.
73
+
To use these features:
74
+
* On {{serverless-full}}, go to **Project settings** > **Management** > **Index Management**.
75
+
* On {{stack}}, go to **Stack Management** > **Index Management**.
If you use {{es}} {{security-features}}, the following [security privileges](/deploy-manage/users-roles/cluster-or-deployment-auth/elasticsearch-privileges.md) are required:
83
+
84
+
* The `monitor` cluster privilege to access {{kib}}'s **Index Management** features.
85
+
* The `view_index_metadata` and `manage` index privileges to view a data stream or index’s data.
86
+
* The `manage_index_templates` cluster privilege to manage index templates.
87
+
88
+
To add these privileges, go to **Stack Management > Security > Roles** or use the [Create or update roles API](https://www.elastic.co/docs/api/doc/elasticsearch/operation/operation-security-put-role).
74
89
75
90
### Manage indices
76
91
77
92
Investigate your indices and perform operations from the **Indices** view.
* Enable **Include hidden indices** to view the full set of indices, including backing indices for [data streams](/manage-data/data-store/data-streams.md).
106
+
84
107
* To show details and perform operations, click the index name. To perform operations on multiple indices, select their checkboxes and then open the **Manage** menu. For more information on managing indices, refer to [Index APIs](https://www.elastic.co/docs/api/doc/elasticsearch/group/endpoint-indices).
108
+
109
+
* To filter the list of indices, use the search bar or click a badge. Badges indicate if an index is a [follower index](https://www.elastic.co/docs/api/doc/elasticsearch/operation/operation-ccr-follow), a [rollup index](https://www.elastic.co/docs/api/doc/elasticsearch/operation/operation-rollup-get-rollup-index-caps), or [frozen](https://www.elastic.co/docs/api/doc/elasticsearch/operation/operation-indices-unfreeze).
110
+
111
+
* To drill down into the index overivew, [mappings](/manage-data/data-store/mapping.md), and [settings](elasticsearch://reference/elasticsearch/index-settings/index.md), click an index name. From this view, you can navigate to **Discover** to further explore the documents in the index.
* Enable **Include hidden indices** to view the full set of indices, including backing indices for [data streams](/manage-data/data-store/data-streams.md).
124
+
125
+
* To show details and perform operations such as close, forcemerge, and flush, click the index name. To perform operations on multiple indices, select their checkboxes and then open the **Manage** menu. For more information on managing indices, refer to [Index APIs](https://www.elastic.co/docs/api/doc/elasticsearch/group/endpoint-indices).
126
+
85
127
* To filter the list of indices, use the search bar or click a badge. Badges indicate if an index is a [follower index](https://www.elastic.co/docs/api/doc/elasticsearch/operation/operation-ccr-follow), a [rollup index](https://www.elastic.co/docs/api/doc/elasticsearch/operation/operation-rollup-get-rollup-index-caps), or [frozen](https://www.elastic.co/docs/api/doc/elasticsearch/operation/operation-indices-unfreeze).
86
-
* To drill down into the index [mappings](/manage-data/data-store/mapping.md), [settings](elasticsearch://reference/elasticsearch/index-settings/index.md), and statistics, click an index name. From this view, you can navigate to **Discover** to further explore the documents in the index.
87
-
* To create new indices, use the **Create index** wizard.
128
+
129
+
You can also use the drop-down menus to filter the list by the [index lifecycle](/manage-data/lifecycle/index-lifecycle-management/index-lifecycle.md) status or phase.
130
+
131
+
* To drill down into the index [mappings](/manage-data/data-store/mapping.md), [settings](elasticsearch://reference/elasticsearch/index-settings/index.md), statistics, and lifecycle details, click an index name. From this view, you can navigate to **Discover** to further explore the documents in the index.
@@ -101,8 +153,8 @@ In {{es-serverless}}, indices matching the `logs-*-*` pattern use the logsDB ind
101
153
102
154
* To view information about the stream's backing indices, click the number in the **Indices** column.
103
155
* A value in the **Data retention** column indicates that the data stream is managed by a data stream lifecycle policy. This value is the time period for which your data is guaranteed to be stored. Data older than this period can be deleted by {{es}} at a later time.
104
-
* To modify the data retention value, select an index, open the **Manage** menu, and click **Edit data retention**.
105
-
* To view more information about a data stream, such as its generation or its current index lifecycle policy, click the stream's name. From this view, you can navigate to **Discover** to further explore data within the data stream.
156
+
* To modify the data retention value, select an index, open the **Manage** menu, and click **Edit data retention**. On {{stack}}, this action is only available if your data stream is not managed by an ILM policy.
157
+
* To view more information about a data stream including it's lifecycle settings, click the stream's name.
106
158
107
159
### Manage index templates [index-management-manage-index-templates]
108
160
@@ -120,6 +172,123 @@ Create, edit, clone, and delete your index templates in the **Index Templates**
120
172
* Values in the **Content** column indicate whether a template contains index mappings, settings, and aliases.
121
173
* To create new index templates, use the **Create template** wizard.
122
174
175
+
#### Try it: Create an index template [_try_it_create_an_index_template]
176
+
177
+
In this tutorial, you’ll create an index template and use it to configure two new indices.
178
+
179
+
##### Step 1. Add a name and index pattern
180
+
181
+
1. In the **Index Templates** view, open the **Create template** wizard.
2. In the **Name** field, enter `my-index-template`.
189
+
3. Set **Index pattern** to `my-index-*` so the template matches any index with that index pattern.
190
+
4. Leave **Data Stream**, **Priority**, **Version**, and **_meta field** blank or as-is.
191
+
192
+
##### Step 2. Add settings, mappings, and aliases
193
+
194
+
When creating an index template, you can define settings, mappings, and aliases directly in the template or include them through one or more component templates.
195
+
196
+
A [component template](https://www.elastic.co/docs/api/doc/elasticsearch/operation/operation-cluster-put-component-template) is a type of [template](/manage-data/data-store/templates.md) used as a building block for constructing index templates. {{kib}} displays badges indicating whether a component template contains mappings (**M**), index settings (**S**), aliases (**A**), or a combination of the three.
197
+
198
+
1. Add component templates to your index template.
199
+
200
+
Component templates are optional. For this tutorial, do not add any component templates.
2. Define index settings directly in the index template. When used in conjunction with component templates, settings defined directly in the index template override any conflicting settings from the associated component templates.
208
+
209
+
This step is optional. For this tutorial, leave this section blank.
210
+
3. Define mappings directly in the index template. When used in conjunction with component templates, these mappings override any conflicting definitions from the associated component templates.
211
+
212
+
Define a mapping that contains an [object](elasticsearch://reference/elasticsearch/mapping-reference/object.md) field named `geo` with a child [`geo_point`](elasticsearch://reference/elasticsearch/mapping-reference/geo-point.md) field named `coordinates`:
Alternatively, you can click the **Load JSON** link and define the mapping as JSON:
220
+
221
+
```js
222
+
{
223
+
"properties": {
224
+
"geo": {
225
+
"properties": {
226
+
"coordinates": {
227
+
"type":"geo_point"
228
+
}
229
+
}
230
+
}
231
+
}
232
+
}
233
+
```
234
+
235
+
You can create additional mapping configurations in the **Dynamic templates** and **Advanced options**tabs. Forthis tutorial, do not create any additional mappings.
236
+
237
+
4. Define an alias named `my-index`:
238
+
239
+
```js
240
+
{
241
+
"my-index": {}
242
+
}
243
+
```
244
+
245
+
5. On the review page, check the summary. If everything looks right, click **Create template**.
246
+
247
+
##### Step 3. Create newindices
248
+
249
+
You’re now ready to create newindices using your index template.
250
+
251
+
1.Index the following documents to create two indices:`my-index-000001` and `my-index-000002`.
2. Use the [get index API](https://www.elastic.co/docs/api/doc/elasticsearch/operation/operation-indices-get) to view the configurations for the new indices. The indices were configured using the index template you created earlier.
287
+
288
+
```console
289
+
GET /my-index-000001,my-index-000002
290
+
```
291
+
123
292
### Manage component templates
124
293
125
294
[Component templates](/manage-data/data-store/templates.md) are reusable building blocks that configure mappings, settings, and aliases.
@@ -136,9 +305,15 @@ Create, edit, clone, and delete your component templates in the **Component Temp
136
305
137
306
### Manage enrich policies
138
307
139
-
An [enrich policy](/manage-data/ingest/transform-enrich/data-enrichment.md#enrich-policy) is a set of configuration options used to add the right enrich data to the right incoming documents.
308
+
An [enrich policy](/manage-data/ingest/transform-enrich/data-enrichment.md#enrich-policy) is a set of configuration options used to add data from your existing indices to incoming documents during ingest. An enrich policy contains:
140
309
141
-
Add data from your existing indices to incoming documents using the **Enrich Policies** view.
310
+
* The policy type that determines how the policy matches the enrich data to incoming documents
311
+
* The source indices that store enrich data as documents
312
+
* The fields from the source indices used to match incoming documents
313
+
* The enrich fields containing enrich data from the source indices that you want to add to incoming documents
314
+
* An optional [query](elasticsearch://reference/query-languages/query-dsl/query-dsl-match-all-query.md).
315
+
316
+
Use the **Enrich Policies** view to add data from your existing indices to incoming documents during ingest.
@@ -149,6 +324,14 @@ Add data from your existing indices to incoming documents using the **Enrich Pol
149
324
* To perform operations, click the policy name or use the buttons in the **Actions** column.
150
325
* To create newpolicies, use the **Create enrich policy** wizard.
151
326
152
-
You must execute a new enrich policy before you can use it with an enrich processor. When executed, an enrich policy uses enrich data from the policy's source indices to create a streamlined system index called the enrich index. The policy uses this index to match and enrich incoming documents.
327
+
You must execute a newenrich policy before you can use it with an enrich processor or {{esql}} query. When executed, an enrich policy uses enrich data from the policy's source indices to create a streamlined system index called the enrich index. The policy uses this index to match and enrich incoming documents.
328
+
329
+
When creating an enrich policy, the UI walks you through the configuration setup and selecting the fields. Before you can use the policy with an enrich processor or {{esql}} query, you must execute the policy.
330
+
331
+
When executed, an enrich policy uses enrich data from the policy’s source indices to create a streamlined system index called the enrich index. The policy uses this index to match and enrich incoming documents.
153
332
333
+
Check out these examples:
154
334
335
+
* [Example: Enrich your data based on geolocation](/manage-data/ingest/transform-enrich/example-enrich-data-based-on-geolocation.md)
336
+
* [Example: Enrich your data based on exact values](/manage-data/ingest/transform-enrich/example-enrich-data-based-on-exact-values.md)
337
+
* [Example: Enrich your data by matching a value to a range](/manage-data/ingest/transform-enrich/example-enrich-data-by-matching-value-to-range.md)
Copy file name to clipboardExpand all lines: manage-data/data-store/templates.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -55,7 +55,7 @@ If you use {{fleet}} or {{agent}}, assign your index templates a priority lower
55
55
56
56
## Create index template [create-index-templates]
57
57
58
-
Use the [index template](https://www.elastic.co/docs/api/doc/elasticsearch/operation/operation-indices-put-index-template) and [put component template](https://www.elastic.co/docs/api/doc/elasticsearch/operation/operation-cluster-put-component-template) APIs to create and update index templates. You can also [manage index templates](../lifecycle/index-lifecycle-management/index-management-in-kibana.md) from Stack Management in {{kib}}.
58
+
Use the [put index template](https://www.elastic.co/docs/api/doc/elasticsearch/operation/operation-indices-put-index-template) and [put component template](https://www.elastic.co/docs/api/doc/elasticsearch/operation/operation-cluster-put-component-template) APIs to create and update index templates. You can also [manage index templates](/manage-data/data-store/index-basics.md#index-management) from Stack Management in {{kib}}.
59
59
60
60
The following requests create two component templates.
0 commit comments