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
Enables the collection of rotated log files, including GZIP-compressed files, for Kubernetes container logs.
This enhancement introduces new configuration options to control the ingestion of rotated logs, including specifying paths for the rotated logs and enabling GZIP decompression.
Copy file name to clipboardExpand all lines: packages/kubernetes/data_stream/container_logs/manifest.yml
+38-11Lines changed: 38 additions & 11 deletions
Original file line number
Diff line number
Diff line change
@@ -6,35 +6,62 @@ streams:
6
6
title: Collect Kubernetes container logs
7
7
description: Collect Kubernetes container logs
8
8
vars:
9
+
- name: symlinks
10
+
type: bool
11
+
title: Use Symlinks
12
+
multi: false
13
+
required: true
14
+
show_user: true
15
+
default: true
16
+
- name: data_stream.dataset
17
+
required: true
18
+
default: kubernetes.container_logs
19
+
title: Dataset name
20
+
description: >
21
+
Set the name for your dataset. Changing the dataset will send the data to a different index. For more info look at [data_stream field](https://www.elastic.co/guide/en/ecs/master/ecs-data_stream.html).
When enabled, Elastic-Agent will also ingest the rotated log files for each pod, including GZIP-compressed files (.gz), decompressing them as they are read. This is beta feature. For full details, see the [documentation](https://www.elastic.co/guide/en/beats/filebeat/current/filebeat-input-filestream#reading-gzip-files). Available for Elastic Agent 9.2.0 and newer.
49
+
- name: rotated_logs_paths
50
+
type: text
31
51
required: true
32
-
default: kubernetes.container_logs
33
-
title: Dataset name
34
-
description: >
35
-
Set the name for your dataset. Changing the dataset will send the data to a different index. For more info look at [data_stream field](https://www.elastic.co/guide/en/ecs/master/ecs-data_stream.html).
0 commit comments