Skip to content

Commit de17b2c

Browse files
Robert FeketeRobert Fekete
authored andcommitted
Adds whatsnew
1 parent edab803 commit de17b2c

File tree

2 files changed

+76
-4
lines changed

2 files changed

+76
-4
lines changed

content/docs/configuration/crds/extensions/hosttailer_types.md

Lines changed: 47 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -159,7 +159,50 @@ Override systemd log path
159159

160160
### systemdFilter (string, optional) {#systemdtailer-systemdfilter}
161161

162-
Filter to select systemd unit example: kubelet.service
163-
164-
165-
162+
Filter to select the systemd unit, for example: `kubelet.service`
163+
If the `systemdFilter` is not specified, `_SYSTEMD_UNIT` is used.
164+
165+
For example, the following HostTailer creates a systemd tailer for the `kubelet.service` and for kernel logs, and logs the kernel logs under the `SYSLOG_IDENTIFIER` journal field.
166+
167+
{{< highlight yaml >}}
168+
apiVersion: logging-extensions.banzaicloud.io/v1alpha1
169+
kind: HostTailer
170+
metadata:
171+
labels:
172+
app.kubernetes.io/name: systemd-hosttailer
173+
name: systemd
174+
namespace: logging
175+
spec:
176+
systemdTailers:
177+
- maxEntries: 100
178+
name: kubelet
179+
systemdFilter: kubelet.service
180+
- maxEntries: 100
181+
name: kernel
182+
systemdFilter: SYSLOG_IDENTIFIER=kernel
183+
{{</ highlight >}}
184+
185+
The generated container will have the following arguments:
186+
187+
{{< highlight yaml >}}
188+
- command:
189+
- /fluent-bit/bin/fluent-bit
190+
- -i
191+
- systemd
192+
- -p
193+
- path=/var/log/journal
194+
- -p
195+
- db=/var/pos/systemd-host-tailer-kernel.db
196+
- -p
197+
- max_entries=100
198+
- -p
199+
- systemd_filter=SYSLOG_IDENTIFIER=kernel
200+
- -o
201+
- file
202+
- -p
203+
- format=plain
204+
- -p
205+
- path=/dev/
206+
- -p
207+
- file=stdout
208+
{{</ highlight >}}

content/docs/whats-new/_index.md

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,35 @@ title: What's new
33
weight: 50
44
---
55

6+
## Version 4.10
7+
8+
The following are the highlights and main changes of Logging operator 4.10. For a complete list of changes and bugfixes, see the [Logging operator 4.10 releases page](https://github.com/kube-logging/logging-operator/releases/tag/4.10.0)<!-- and the [Logging operator 4.9 release blog post](https://axoflow.com/logging-operator-4.9-release)-->.
9+
10+
- You can now control the memory usage of Fluent Bit in persistent buffering mode using the [`storage.max_chunks_up`]({{< relref "/docs/configuration/crds/v1beta1/fluentbit_types.md#bufferstorage-storage.max_chunks_up" >}}) option.
11+
12+
- When using [`systemdFilters`]({{< relref "/docs/configuration/crds/extensions/hosttailer_types.md#systemdtailer-systemdfilter" >}}) in `HostTailers`, you can now specify the journal field to use.
13+
14+
- The documentation of the [Gelf Fluentd output]({{< relref "/docs/configuration/plugins/outputs/gelf.md" >}}) has been improved, and now includes the `max_bytes` option that can limit the size of the messages.
15+
16+
- You can now configure image repository overrides in the syslog-ng spec (both in the `Logging` resource and in the `SyslogNGConfig` resource):
17+
18+
```yaml
19+
syslogNGImage:
20+
repository: ...
21+
tag: ...
22+
configReloadImage:
23+
repository: ...
24+
tag: ...
25+
metricsExporterImage:
26+
repository: ...
27+
tag: ...
28+
bufferVolumeMetricsImage:
29+
repository: ...
30+
tag: ...
31+
```
32+
33+
- When using the [Kafka Fluentd output]({{< relref "/docs/configuration/plugins/outputs/kafka.md#kafka-max_send_limit_bytes" >}}), you can now set the maximal size of the messages using the `max_send_limit_bytes` option.
34+
635
## Version 4.9
736

837
The following are the highlights and main changes of Logging operator 4.9. For a complete list of changes and bugfixes, see the [Logging operator 4.9 releases page](https://github.com/kube-logging/logging-operator/releases/tag/4.9.0)<!-- and the [Logging operator 4.9 release blog post](https://axoflow.com/logging-operator-4.9-release)-->.

0 commit comments

Comments
 (0)