2020-07-09 20:45:13 +08:00
|
|
|
|
[role="xpack"]
|
2020-06-11 01:40:54 +08:00
|
|
|
|
[[set-up-a-data-stream]]
|
|
|
|
|
== Set up a data stream
|
|
|
|
|
|
|
|
|
|
To set up a data stream, follow these steps:
|
|
|
|
|
|
2021-08-20 20:52:04 +08:00
|
|
|
|
. <<create-index-lifecycle-policy>>
|
|
|
|
|
. <<create-component-templates>>
|
|
|
|
|
. <<create-index-template>>
|
|
|
|
|
. <<create-data-stream>>
|
|
|
|
|
. <<secure-data-stream>>
|
2020-06-11 01:40:54 +08:00
|
|
|
|
|
2021-04-01 05:28:55 +08:00
|
|
|
|
You can also <<convert-index-alias-to-data-stream,convert an index alias to
|
2021-03-29 22:37:14 +08:00
|
|
|
|
a data stream>>.
|
2020-12-09 02:28:35 +08:00
|
|
|
|
|
2021-04-01 05:28:55 +08:00
|
|
|
|
IMPORTANT: If you use {fleet} or {agent}, skip this tutorial. {fleet} and
|
2021-04-01 22:15:56 +08:00
|
|
|
|
{agent} set up data streams for you. See {fleet}'s
|
|
|
|
|
{fleet-guide}/data-streams.html[data streams] documentation.
|
2020-06-11 01:40:54 +08:00
|
|
|
|
|
2021-04-01 05:28:55 +08:00
|
|
|
|
[discrete]
|
|
|
|
|
[[create-index-lifecycle-policy]]
|
2021-08-20 20:52:04 +08:00
|
|
|
|
=== Create an index lifecycle policy
|
2020-06-11 01:40:54 +08:00
|
|
|
|
|
2021-04-01 05:28:55 +08:00
|
|
|
|
While optional, we recommend using {ilm-init} to automate the management of your
|
|
|
|
|
data stream's backing indices. {ilm-init} requires an index lifecycle policy.
|
2020-06-11 01:40:54 +08:00
|
|
|
|
|
2021-04-01 05:28:55 +08:00
|
|
|
|
To create an index lifecycle policy in {kib}, open the main menu and go to
|
|
|
|
|
*Stack Management > Index Lifecycle Policies*. Click *Create policy*.
|
2020-07-27 22:19:00 +08:00
|
|
|
|
|
2021-04-01 05:28:55 +08:00
|
|
|
|
You can also use the <<ilm-put-lifecycle,create lifecycle policy API>>.
|
2020-06-11 01:40:54 +08:00
|
|
|
|
|
2021-10-05 03:19:10 +08:00
|
|
|
|
////
|
|
|
|
|
[source,console]
|
|
|
|
|
--------------------------------------------------
|
|
|
|
|
PUT /_snapshot/found-snapshots
|
|
|
|
|
{
|
|
|
|
|
"type": "fs",
|
|
|
|
|
"settings": {
|
|
|
|
|
"location": "my_backup_location"
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
--------------------------------------------------
|
|
|
|
|
// TESTSETUP
|
|
|
|
|
////
|
|
|
|
|
|
2021-04-06 01:00:06 +08:00
|
|
|
|
// tag::ilm-policy-api-ex[]
|
2020-06-11 01:40:54 +08:00
|
|
|
|
[source,console]
|
|
|
|
|
----
|
2021-04-01 05:28:55 +08:00
|
|
|
|
PUT _ilm/policy/my-lifecycle-policy
|
2020-06-11 01:40:54 +08:00
|
|
|
|
{
|
|
|
|
|
"policy": {
|
|
|
|
|
"phases": {
|
|
|
|
|
"hot": {
|
|
|
|
|
"actions": {
|
|
|
|
|
"rollover": {
|
2021-04-01 05:28:55 +08:00
|
|
|
|
"max_primary_shard_size": "50gb"
|
2020-06-11 01:40:54 +08:00
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
},
|
2021-04-01 05:28:55 +08:00
|
|
|
|
"warm": {
|
2020-06-11 01:40:54 +08:00
|
|
|
|
"min_age": "30d",
|
2021-04-01 05:28:55 +08:00
|
|
|
|
"actions": {
|
|
|
|
|
"shrink": {
|
|
|
|
|
"number_of_shards": 1
|
|
|
|
|
},
|
|
|
|
|
"forcemerge": {
|
|
|
|
|
"max_num_segments": 1
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
"cold": {
|
|
|
|
|
"min_age": "60d",
|
|
|
|
|
"actions": {
|
|
|
|
|
"searchable_snapshot": {
|
2021-04-06 01:00:06 +08:00
|
|
|
|
"snapshot_repository": "found-snapshots"
|
2021-04-01 05:28:55 +08:00
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
"frozen": {
|
|
|
|
|
"min_age": "90d",
|
|
|
|
|
"actions": {
|
|
|
|
|
"searchable_snapshot": {
|
2021-04-06 01:00:06 +08:00
|
|
|
|
"snapshot_repository": "found-snapshots"
|
2021-04-01 05:28:55 +08:00
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
"delete": {
|
|
|
|
|
"min_age": "735d",
|
2020-06-11 01:40:54 +08:00
|
|
|
|
"actions": {
|
|
|
|
|
"delete": {}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
----
|
2021-04-06 01:00:06 +08:00
|
|
|
|
// end::ilm-policy-api-ex[]
|
2020-06-11 01:40:54 +08:00
|
|
|
|
|
|
|
|
|
[discrete]
|
2021-04-01 05:28:55 +08:00
|
|
|
|
[[create-component-templates]]
|
2021-08-20 20:52:04 +08:00
|
|
|
|
=== Create component templates
|
2020-06-11 01:40:54 +08:00
|
|
|
|
|
2021-04-06 01:00:06 +08:00
|
|
|
|
// tag::ds-create-component-templates[]
|
2021-04-01 05:28:55 +08:00
|
|
|
|
A data stream requires a matching index template. In most cases, you compose
|
|
|
|
|
this index template using one or more component templates. You typically use
|
|
|
|
|
separate component templates for mappings and index settings. This lets you
|
|
|
|
|
reuse the component templates in multiple index templates.
|
2020-07-27 22:19:00 +08:00
|
|
|
|
|
2021-04-01 05:28:55 +08:00
|
|
|
|
When creating your component templates, include:
|
2020-08-17 23:37:08 +08:00
|
|
|
|
|
2021-04-01 05:28:55 +08:00
|
|
|
|
* A <<date,`date`>> or <<date_nanos,`date_nanos`>> mapping for the `@timestamp`
|
|
|
|
|
field. If you don't specify a mapping, {es} maps `@timestamp` as a `date` field
|
|
|
|
|
with default options.
|
2020-08-17 23:37:08 +08:00
|
|
|
|
|
2021-04-01 05:28:55 +08:00
|
|
|
|
* Your lifecycle policy in the `index.lifecycle.name` index setting.
|
2021-02-02 21:36:37 +08:00
|
|
|
|
|
2021-04-02 03:54:53 +08:00
|
|
|
|
[TIP]
|
|
|
|
|
====
|
|
|
|
|
Use the {ecs-ref}[Elastic Common Schema (ECS)] when mapping your fields. ECS
|
|
|
|
|
fields integrate with several {stack} features by default.
|
|
|
|
|
|
|
|
|
|
If you're unsure how to map your fields, use <<runtime-search-request,runtime
|
|
|
|
|
fields>> to extract fields from <<mapping-unstructured-content,unstructured
|
|
|
|
|
content>> at search time. For example, you can index a log message to a
|
|
|
|
|
`wildcard` field and later extract IP addresses and other data from this field
|
|
|
|
|
during a search.
|
|
|
|
|
====
|
|
|
|
|
|
2021-04-01 05:28:55 +08:00
|
|
|
|
To create a component template in {kib}, open the main menu and go to *Stack
|
2021-04-02 21:06:50 +08:00
|
|
|
|
Management > Index Management*. In the *Index Templates* view, click *Create
|
2021-04-01 05:28:55 +08:00
|
|
|
|
component template*.
|
2021-02-02 21:36:37 +08:00
|
|
|
|
|
2021-04-01 05:28:55 +08:00
|
|
|
|
You can also use the <<indices-component-template,create component template
|
|
|
|
|
API>>.
|
2021-02-02 21:36:37 +08:00
|
|
|
|
|
2021-04-01 05:28:55 +08:00
|
|
|
|
[source,console]
|
|
|
|
|
----
|
|
|
|
|
# Creates a component template for mappings
|
|
|
|
|
PUT _component_template/my-mappings
|
|
|
|
|
{
|
|
|
|
|
"template": {
|
|
|
|
|
"mappings": {
|
|
|
|
|
"properties": {
|
|
|
|
|
"@timestamp": {
|
|
|
|
|
"type": "date",
|
|
|
|
|
"format": "date_optional_time||epoch_millis"
|
|
|
|
|
},
|
|
|
|
|
"message": {
|
|
|
|
|
"type": "wildcard"
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
"_meta": {
|
|
|
|
|
"description": "Mappings for @timestamp and message fields",
|
|
|
|
|
"my-custom-meta-field": "More arbitrary metadata"
|
|
|
|
|
}
|
|
|
|
|
}
|
2021-02-02 21:36:37 +08:00
|
|
|
|
|
2021-04-01 05:28:55 +08:00
|
|
|
|
# Creates a component template for index settings
|
|
|
|
|
PUT _component_template/my-settings
|
|
|
|
|
{
|
|
|
|
|
"template": {
|
|
|
|
|
"settings": {
|
|
|
|
|
"index.lifecycle.name": "my-lifecycle-policy"
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
"_meta": {
|
|
|
|
|
"description": "Settings for ILM",
|
|
|
|
|
"my-custom-meta-field": "More arbitrary metadata"
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
----
|
|
|
|
|
// TEST[continued]
|
2021-04-06 01:00:06 +08:00
|
|
|
|
// end::ds-create-component-templates[]
|
2021-02-02 21:36:37 +08:00
|
|
|
|
|
2021-04-01 05:28:55 +08:00
|
|
|
|
[discrete]
|
|
|
|
|
[[create-index-template]]
|
2021-08-20 20:52:04 +08:00
|
|
|
|
=== Create an index template
|
2021-02-02 21:36:37 +08:00
|
|
|
|
|
2021-04-06 01:00:06 +08:00
|
|
|
|
// tag::ds-create-index-template[]
|
2021-04-01 05:28:55 +08:00
|
|
|
|
Use your component templates to create an index template. Specify:
|
2021-02-03 22:36:02 +08:00
|
|
|
|
|
2021-04-01 05:28:55 +08:00
|
|
|
|
* One or more index patterns that match the data stream's name. We recommend
|
|
|
|
|
using our {fleet-guide}/data-streams.html#data-streams-naming-scheme[data stream
|
|
|
|
|
naming scheme].
|
2021-02-02 21:36:37 +08:00
|
|
|
|
|
2021-04-01 05:28:55 +08:00
|
|
|
|
* That the template is data stream enabled.
|
2020-06-11 01:40:54 +08:00
|
|
|
|
|
2021-04-01 05:28:55 +08:00
|
|
|
|
* Any component templates that contain your mappings and index settings.
|
2021-02-01 22:44:54 +08:00
|
|
|
|
|
2021-04-01 05:28:55 +08:00
|
|
|
|
* A priority higher than `200` to avoid collisions with built-in templates.
|
|
|
|
|
See <<avoid-index-pattern-collisions>>.
|
2020-07-27 22:19:00 +08:00
|
|
|
|
|
2021-04-01 05:28:55 +08:00
|
|
|
|
To create an index template in {kib}, open the main menu and go to *Stack
|
|
|
|
|
Management > Index Management*. In the *Index Templates* view, click *Create
|
|
|
|
|
template*.
|
2020-06-11 01:40:54 +08:00
|
|
|
|
|
2021-04-01 05:28:55 +08:00
|
|
|
|
You can also use the <<indices-put-template,create index template API>>.
|
|
|
|
|
Include the `data_stream` object to enable data streams.
|
2020-07-15 04:39:29 +08:00
|
|
|
|
|
|
|
|
|
[source,console]
|
|
|
|
|
----
|
2021-04-01 05:28:55 +08:00
|
|
|
|
PUT _index_template/my-index-template
|
2020-07-15 04:39:29 +08:00
|
|
|
|
{
|
2021-04-01 05:28:55 +08:00
|
|
|
|
"index_patterns": ["my-data-stream*"],
|
2020-07-15 04:39:29 +08:00
|
|
|
|
"data_stream": { },
|
2021-04-01 05:28:55 +08:00
|
|
|
|
"composed_of": [ "my-mappings", "my-settings" ],
|
2021-02-16 23:53:28 +08:00
|
|
|
|
"priority": 500,
|
2021-04-01 05:28:55 +08:00
|
|
|
|
"_meta": {
|
|
|
|
|
"description": "Template for my time series data",
|
|
|
|
|
"my-custom-meta-field": "More arbitrary metadata"
|
2020-07-15 04:39:29 +08:00
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
----
|
|
|
|
|
// TEST[continued]
|
2021-04-06 01:00:06 +08:00
|
|
|
|
// end::ds-create-index-template[]
|
2020-06-23 20:45:11 +08:00
|
|
|
|
|
2020-06-11 01:40:54 +08:00
|
|
|
|
[discrete]
|
2021-04-01 05:28:55 +08:00
|
|
|
|
[[create-data-stream]]
|
2021-08-20 20:52:04 +08:00
|
|
|
|
=== Create the data stream
|
2020-06-11 01:40:54 +08:00
|
|
|
|
|
2021-04-06 01:00:06 +08:00
|
|
|
|
// tag::ds-create-data-stream[]
|
2021-04-01 22:22:59 +08:00
|
|
|
|
<<add-documents-to-a-data-stream,Indexing requests>> add documents to a data
|
|
|
|
|
stream. These requests must use an `op_type` of `create`. Documents must include
|
|
|
|
|
a `@timestamp` field.
|
|
|
|
|
|
|
|
|
|
To automatically create your data stream, submit an indexing request that
|
|
|
|
|
targets the stream's name. This name must match one of your index template's
|
|
|
|
|
index patterns.
|
2020-06-11 01:40:54 +08:00
|
|
|
|
|
|
|
|
|
[source,console]
|
|
|
|
|
----
|
2021-04-01 05:28:55 +08:00
|
|
|
|
PUT my-data-stream/_bulk
|
|
|
|
|
{ "create":{ } }
|
|
|
|
|
{ "@timestamp": "2099-05-06T16:21:15.000Z", "message": "192.0.2.42 - - [06/May/2099:16:21:15 +0000] \"GET /images/bg.jpg HTTP/1.0\" 200 24736" }
|
|
|
|
|
{ "create":{ } }
|
|
|
|
|
{ "@timestamp": "2099-05-06T16:25:42.000Z", "message": "192.0.2.255 - - [06/May/2099:16:25:42 +0000] \"GET /favicon.ico HTTP/1.0\" 200 3638" }
|
|
|
|
|
|
|
|
|
|
POST my-data-stream/_doc
|
2020-06-11 01:40:54 +08:00
|
|
|
|
{
|
2021-04-01 05:28:55 +08:00
|
|
|
|
"@timestamp": "2099-05-06T16:21:15.000Z",
|
|
|
|
|
"message": "192.0.2.42 - - [06/May/2099:16:21:15 +0000] \"GET /images/bg.jpg HTTP/1.0\" 200 24736"
|
2020-06-11 01:40:54 +08:00
|
|
|
|
}
|
|
|
|
|
----
|
|
|
|
|
// TEST[continued]
|
2021-04-06 01:00:06 +08:00
|
|
|
|
// end::ds-create-data-stream[]
|
2020-06-11 01:40:54 +08:00
|
|
|
|
|
2021-04-01 05:28:55 +08:00
|
|
|
|
You can also manually create the stream using the
|
|
|
|
|
<<indices-create-data-stream,create data stream API>>. The stream's name must
|
|
|
|
|
still match one of your template's index patterns.
|
2020-06-11 01:40:54 +08:00
|
|
|
|
|
|
|
|
|
[source,console]
|
|
|
|
|
----
|
2021-04-01 05:28:55 +08:00
|
|
|
|
PUT _data_stream/my-data-stream
|
2020-06-11 01:40:54 +08:00
|
|
|
|
----
|
|
|
|
|
// TEST[continued]
|
2020-12-07 21:51:07 +08:00
|
|
|
|
// TEST[s/my-data-stream/my-data-stream-alt/]
|
2020-06-11 01:40:54 +08:00
|
|
|
|
|
2021-04-01 05:28:55 +08:00
|
|
|
|
[discrete]
|
|
|
|
|
[[secure-data-stream]]
|
2021-08-20 20:52:04 +08:00
|
|
|
|
=== Secure the data stream
|
2021-04-01 05:28:55 +08:00
|
|
|
|
|
|
|
|
|
include::{xes-repo-dir}/security/authorization/alias-privileges.asciidoc[tag=data-stream-security]
|
|
|
|
|
|
|
|
|
|
For an example, see <<data-stream-privileges>>.
|
2020-12-09 02:28:35 +08:00
|
|
|
|
|
|
|
|
|
[discrete]
|
2021-04-01 05:28:55 +08:00
|
|
|
|
[[convert-index-alias-to-data-stream]]
|
2020-12-09 02:28:35 +08:00
|
|
|
|
=== Convert an index alias to a data stream
|
|
|
|
|
|
2021-03-29 22:37:14 +08:00
|
|
|
|
// tag::time-series-alias-tip[]
|
2021-05-26 04:19:00 +08:00
|
|
|
|
Prior to {es} 7.9, you'd typically use an
|
|
|
|
|
<<manage-time-series-data-without-data-streams,index alias with a write index>>
|
|
|
|
|
to manage time series data. Data streams replace this functionality, require
|
|
|
|
|
less maintenance, and automatically integrate with <<data-tiers,data tiers>>.
|
2021-03-29 22:37:14 +08:00
|
|
|
|
// end::time-series-alias-tip[]
|
2020-12-09 02:28:35 +08:00
|
|
|
|
|
2021-04-01 05:28:55 +08:00
|
|
|
|
To convert an index alias with a write index to a data stream with the same
|
2020-12-09 02:28:35 +08:00
|
|
|
|
name, use the <<indices-migrate-to-data-stream,migrate to data stream API>>.
|
|
|
|
|
During conversion, the alias’s indices become hidden backing indices for the
|
2021-04-01 05:28:55 +08:00
|
|
|
|
stream. The alias’s write index becomes the stream’s write index. The stream
|
|
|
|
|
still requires a matching index template with data stream enabled.
|
2020-12-09 02:28:35 +08:00
|
|
|
|
|
|
|
|
|
////
|
|
|
|
|
[source,console]
|
|
|
|
|
----
|
|
|
|
|
POST idx1/_doc/
|
|
|
|
|
{
|
|
|
|
|
"message" : "testing",
|
|
|
|
|
"@timestamp" : "2099-01-01"
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
POST idx2/_doc/
|
|
|
|
|
{
|
|
|
|
|
"message" : "testing2",
|
|
|
|
|
"@timestamp" : "2099-01-01"
|
|
|
|
|
}
|
|
|
|
|
|
2021-04-01 05:28:55 +08:00
|
|
|
|
POST _aliases
|
2020-12-09 02:28:35 +08:00
|
|
|
|
{
|
|
|
|
|
"actions": [
|
|
|
|
|
{
|
|
|
|
|
"add": {
|
|
|
|
|
"index": "idx1",
|
|
|
|
|
"alias": "my-time-series-data",
|
|
|
|
|
"is_write_index": true
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
"add": {
|
|
|
|
|
"index": "idx2",
|
|
|
|
|
"alias": "my-time-series-data"
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
]
|
|
|
|
|
}
|
|
|
|
|
|
2021-04-01 05:28:55 +08:00
|
|
|
|
PUT _index_template/template
|
2020-12-09 02:28:35 +08:00
|
|
|
|
{
|
|
|
|
|
"index_patterns": ["my-time-series-data"],
|
|
|
|
|
"data_stream": { }
|
|
|
|
|
}
|
|
|
|
|
----
|
|
|
|
|
// TEST[continued]
|
|
|
|
|
////
|
|
|
|
|
|
|
|
|
|
[source,console]
|
|
|
|
|
----
|
2021-04-01 05:28:55 +08:00
|
|
|
|
POST _data_stream/_migrate/my-time-series-data
|
2020-12-09 02:28:35 +08:00
|
|
|
|
----
|
|
|
|
|
// TEST[continued]
|
|
|
|
|
|
2020-10-25 02:24:01 +08:00
|
|
|
|
[discrete]
|
2021-04-01 05:28:55 +08:00
|
|
|
|
[[get-info-about-data-stream]]
|
2020-06-15 20:38:08 +08:00
|
|
|
|
=== Get information about a data stream
|
|
|
|
|
|
2021-04-01 05:28:55 +08:00
|
|
|
|
To get information about a data stream in {kib}, open the main menu and go to
|
|
|
|
|
*Stack Management > Index Management*. In the *Data Streams* view, click the
|
|
|
|
|
data stream's name.
|
2020-07-27 22:19:00 +08:00
|
|
|
|
|
2021-04-01 05:28:55 +08:00
|
|
|
|
You can also use the <<indices-get-data-stream,get data stream API>>.
|
2020-07-08 23:02:30 +08:00
|
|
|
|
|
|
|
|
|
////
|
|
|
|
|
[source,console]
|
|
|
|
|
----
|
2021-04-01 05:28:55 +08:00
|
|
|
|
POST my-data-stream/_rollover/
|
2020-07-08 23:02:30 +08:00
|
|
|
|
----
|
|
|
|
|
// TEST[continued]
|
|
|
|
|
////
|
2020-06-15 20:38:08 +08:00
|
|
|
|
|
|
|
|
|
[source,console]
|
|
|
|
|
----
|
2021-04-01 05:28:55 +08:00
|
|
|
|
GET _data_stream/my-data-stream
|
2020-06-15 20:38:08 +08:00
|
|
|
|
----
|
2020-07-08 23:02:30 +08:00
|
|
|
|
// TEST[continued]
|
2020-07-08 23:54:55 +08:00
|
|
|
|
|
2020-06-15 20:38:08 +08:00
|
|
|
|
[discrete]
|
2021-04-01 05:28:55 +08:00
|
|
|
|
[[delete-data-stream]]
|
2020-06-15 20:38:08 +08:00
|
|
|
|
=== Delete a data stream
|
|
|
|
|
|
2021-04-01 05:28:55 +08:00
|
|
|
|
To delete a data stream and its backing indices in {kib}, open the main menu and
|
|
|
|
|
go to *Stack Management > Index Management*. In the *Data Streams* view, click
|
|
|
|
|
the trash icon. The icon only displays if you have the `delete_index`
|
2021-01-07 23:45:26 +08:00
|
|
|
|
<<security-privileges, security privilege>> for the data stream.
|
2020-07-27 22:19:00 +08:00
|
|
|
|
|
2021-04-01 05:28:55 +08:00
|
|
|
|
You can also use the <<indices-delete-data-stream,delete data stream API>>.
|
2020-06-15 20:38:08 +08:00
|
|
|
|
|
|
|
|
|
[source,console]
|
|
|
|
|
----
|
2021-04-01 05:28:55 +08:00
|
|
|
|
DELETE _data_stream/my-data-stream
|
2020-06-15 20:38:08 +08:00
|
|
|
|
----
|
|
|
|
|
// TEST[continued]
|
|
|
|
|
|
|
|
|
|
////
|
|
|
|
|
[source,console]
|
|
|
|
|
----
|
2021-04-01 05:28:55 +08:00
|
|
|
|
DELETE _data_stream/*
|
|
|
|
|
DELETE _index_template/*
|
|
|
|
|
DELETE _component_template/my-*
|
|
|
|
|
DELETE _ilm/policy/my-lifecycle-policy
|
2020-06-15 20:38:08 +08:00
|
|
|
|
----
|
|
|
|
|
// TEST[continued]
|
|
|
|
|
////
|