Skip to content

Commit f38bb62

Browse files
committed
Adding screenshots to certain equivalent steps
For the [Manage general content with data streams](https://www.elastic.co/docs/manage-data/lifecycle/index-lifecycle-management/tutorial-general-content-with-data-streams) Relates to #1566
1 parent d5b9d05 commit f38bb62

File tree

2 files changed

+22
-1
lines changed

2 files changed

+22
-1
lines changed
148 KB
Loading

manage-data/lifecycle/index-lifecycle-management/tutorial-general-content-with-data-streams.md

Lines changed: 22 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,26 @@ For more information, refer to [Check lifecycle progress](/manage-data/lifecycle
3333

3434
## Create an ingest pipeline to transform your general content [manage-general-content-with-data-streams-ingest]
3535

36-
Create an ingest pipeline that uses the [`set` enrich processor](elasticsearch://reference/enrich-processor/set-processor.md) to add a `@timestamp` field:
36+
You can create an ingest pipeline that uses the [`set` enrich processor](elasticsearch://reference/enrich-processor/set-processor.md) to add a `@timestamp` field in Kibana or with the [create or update a pipeline](https://www.elastic.co/docs/api/doc/elasticsearch/operation/operation-ingest-put-pipeline) API.
37+
38+
::::{tab-set}
39+
:group: kibana-api
40+
:::{tab-item} {{kib}}
41+
:sync: kibana
42+
To add an ingest pipeline from {{kib}}, go to **Stack Management > Ingest Pipelines**. From the upper right, select **Create pipeline > New pipeline**.
43+
44+
Configure the pipeline with a name, description, and a **Set** processor that adds the `@timestamp` field with a value of `{{_ingest.timestamp}}`.
45+
46+
:::{image} /manage-data/images/elasticsearch-reference-tutorial-ilm-general-content-ingest.png
47+
:alt: Create ingest pipeline
48+
:screenshot:
49+
:::
50+
51+
:::
52+
53+
:::{tab-item} API
54+
:sync: api
55+
Use the API to add an ingest pipeline:
3756

3857
```console
3958
PUT _ingest/pipeline/ingest_time_1
@@ -48,6 +67,8 @@ PUT _ingest/pipeline/ingest_time_1
4867
}]
4968
}
5069
```
70+
:::
71+
::::
5172

5273
## Create a lifecycle policy [manage-general-content-with-data-streams-policy]
5374

0 commit comments

Comments
 (0)