Skip to content

Commit fa8bf0d

Browse files
Merge pull request #286 from kube-logging/5.3-preparations
5.3 preparations
2 parents c1aad42 + 2880518 commit fa8bf0d

File tree

12 files changed

+180
-6
lines changed

12 files changed

+180
-6
lines changed
+86
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,86 @@
1+
name: Publish version 5.3
2+
3+
env:
4+
doc_versionnumber: "5.3"
5+
6+
on:
7+
push:
8+
branches:
9+
- release-5.3
10+
workflow_dispatch:
11+
12+
jobs:
13+
build:
14+
name: Build
15+
runs-on: ubuntu-latest
16+
17+
permissions:
18+
contents: write
19+
pages: write
20+
id-token: write
21+
22+
concurrency:
23+
group: "pages"
24+
cancel-in-progress: false
25+
26+
environment:
27+
name: github-pages-test
28+
url: ${{ steps.deployment.outputs.page_url }}
29+
30+
steps:
31+
- name: Checkout code
32+
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
33+
with:
34+
ref: release-5.3
35+
submodules: 'recursive'
36+
37+
- name: Set up Pages
38+
id: pages
39+
uses: actions/configure-pages@983d7736d9b0ae728b81ab479565c72886d7745b # v5.0.0
40+
41+
- name: Set up Hugo
42+
uses: peaceiris/actions-hugo@75d2e84710de30f6ff7268e08f310b60ef14033f # v3.0.0
43+
with:
44+
hugo-version: '0.110.0'
45+
extended: true
46+
47+
- name: Set up Node
48+
uses: actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020 # v4.4.0
49+
with:
50+
node-version: 18
51+
52+
- name: Install dependencies
53+
run: |
54+
cd themes/docsy
55+
npm install
56+
57+
- name: Set up PostCSS
58+
run: npm install --save-dev autoprefixer postcss-cli postcss
59+
60+
- name: Build
61+
run: hugo --environment production --baseURL ${{ steps.pages.outputs.base_url }}/${{ env.doc_versionnumber }}/
62+
63+
# - name: Upload artifact
64+
# uses: actions/upload-pages-artifact@64bcae551a7b18bcb9a09042ddf1960979799187 # v1.0.8
65+
# with:
66+
# path: ./public/
67+
68+
- name: Checkout code to update
69+
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
70+
with:
71+
ref: 'gh-pages-test'
72+
path: 'tmp/gh-pages'
73+
# - name: Display file structure
74+
# run: ls -R
75+
- name: Copy built site to GH pages
76+
run: |
77+
rm -rf tmp/gh-pages/${{ env.doc_versionnumber }}
78+
mkdir -p tmp/gh-pages/${{ env.doc_versionnumber }}
79+
mv public/* tmp/gh-pages/${{ env.doc_versionnumber }}
80+
- name: Commit & Push changes
81+
uses: actions-js/push@master
82+
with:
83+
github_token: ${{ secrets.GITHUB_TOKEN }}
84+
message: 'Publish updated docs for ${{ env.doc_versionnumber }}, ${{ github.event.repository.pushed_at}}'
85+
branch: 'gh-pages-test'
86+
directory: 'tmp/gh-pages'

config/_default/config.toml

+6-2
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ weight = 1
6565
# Used in the "version-banner" partial to display a version number for the
6666
# current doc set.
6767

68-
version = "5.2"
68+
version = "5.3"
6969
version_menu = "Releases"
7070
version_menu_canonicallinks = true
7171
version_menu_pagelinks = true
@@ -169,9 +169,13 @@ twitter = "AxoflowIO"
169169
#######################
170170
# Add your release versions here
171171
[[params.versions]]
172-
version = "latest (5.2)"
172+
version = "latest (5.3)"
173173
githubbranch = "master"
174174
url = ""
175+
[[params.versions]]
176+
version = "5.2"
177+
githubbranch = "release-5.2"
178+
url = "/5.2/"
175179
[[params.versions]]
176180
version = "5.1"
177181
githubbranch = "release-5.1"

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

+7
Original file line numberDiff line numberDiff line change
@@ -122,6 +122,13 @@ Start reading from the head of new log files
122122
Skip long line when exceeding Buffer_Max_Size
123123

124124

125+
### verbose (bool, optional) {#filetailer-verbose}
126+
127+
Available in Logging operator version 5.3 and later.
128+
129+
Verbose mode
130+
131+
125132

126133
## SystemdTailer
127134

content/docs/configuration/crds/v1beta1/clusterflow_types.md

+6
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,9 @@ Name of the logging cluster to be attached
4949
### namespaces ([]string, optional) {#clusterselect-namespaces}
5050

5151

52+
### namespaces_regex ([]string, optional) {#clusterselect-namespaces_regex}
53+
54+
Available in Logging operator version 5.3 and later.
5255

5356
## ClusterExclude
5457

@@ -67,6 +70,9 @@ Name of the logging cluster to be attached
6770
### namespaces ([]string, optional) {#clusterexclude-namespaces}
6871

6972

73+
### namespaces_regex ([]string, optional) {#clusterexclude-namespaces_regex}
74+
75+
Available in Logging operator version 5.3 and later.
7076

7177
## ClusterFlowSpec
7278

content/docs/configuration/crds/v1beta1/fluentbit_types.md

+3
Original file line numberDiff line numberDiff line change
@@ -147,6 +147,7 @@ DisableVarLibDockerContainers controls whether the /var/lib/docker/containers vo
147147
148148
### filterGrep (*FilterGrep, optional) {#fluentbitspec-filtergrep}
149149
150+
Available in Logging operator version 5.3 and later.
150151
151152
### filterKubernetes (FilterKubernetes, optional) {#fluentbitspec-filterkubernetes}
152153
@@ -881,6 +882,8 @@ Default: false
881882

882883
FilterGrep The Grep Filter plugin
883884

885+
Available in Logging operator version 5.3 and later.
886+
884887
### Exclude ([]string, optional) {#filtergrep-exclude}
885888

886889
Exclude records where the content of KEY matches the regular expression.

content/docs/configuration/plugins/filters/elasticsearch_genid.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ You can specify keys which are record in events for hash generation seed. This p
6161

6262
### separator (string, optional) {#elasticsearchgenid-separator}
6363

64-
You can specify separator charactor to creating seed for hash generation.
64+
You can specify separator character to creating seed for hash generation.
6565

6666

6767
### use_entire_record (bool, optional) {#elasticsearchgenid-use_entire_record}

content/docs/configuration/plugins/filters/parser.md

+21-2
Original file line numberDiff line numberDiff line change
@@ -100,6 +100,12 @@ Only available when using type: multi_format
100100
Only available when using type: multi_format
101101

102102

103+
### format_key (string, optional) {#parse-section-format_key}
104+
105+
Available in Logging operator version 5.3 and later.
106+
107+
Only available when using type: multi_format If set, add this key to record with value being pattern format_name
108+
103109
### grok_failure_key (string, optional) {#parse-section-grok_failure_key}
104110

105111
Only available when using type: grok, multiline_grok. The key has grok failure reason.
@@ -191,7 +197,7 @@ Default: nil
191197

192198
### type (string, optional) {#parse-section-type}
193199

194-
Parse type: apache2, apache_error, nginx, syslog, csv, tsv, ltsv, json, multiline, none, logfmt, grok, multiline_grok
200+
Parse type: apache2, apache_error, nginx, syslog, csv, tsv, ltsv, json, multiline, none, logfmt, grok, multiline_grok, multi_format
195201

196202

197203
### types (string, optional) {#parse-section-types}
@@ -227,6 +233,13 @@ Regexp expression to evaluate
227233
Only available when using type: multi_format
228234

229235

236+
### format_name (string, optional) {#parse-section-format_name}
237+
238+
Available in Logging operator version 5.3 and later.
239+
240+
Only available when using `type: multi_format`. Value added to format key entry
241+
242+
230243
### grok_failure_key (string, optional) {#parse-section-grok_failure_key}
231244

232245
Only available when using format: grok, multiline_grok. The key has grok failure reason.
@@ -296,7 +309,7 @@ Default: nil
296309

297310
### type (string, optional) {#parse-section-type}
298311

299-
Parse type: apache2, apache_error, nginx, syslog, csv, tsv, ltsv, json, multiline, none, logfmt, grok, multiline_grok
312+
Parse type: apache2, apache_error, nginx, syslog, csv, tsv, ltsv, json, multiline, none, logfmt, grok, multiline_grok, multi_format
300313

301314

302315
### types (string, optional) {#parse-section-types}
@@ -361,11 +374,14 @@ spec:
361374
reserve_data: true
362375
parse:
363376
type: multi_format
377+
format_key: format
364378
patterns:
365379
- format: nginx
380+
format_name: nginx
366381
- format: regexp
367382
expression: /foo/
368383
- format: none
384+
format_name: none
369385
selectors: {}
370386
localOutputRefs:
371387
- demo-output
@@ -382,15 +398,18 @@ Fluentd config result:
382398
reserve_data true
383399
<parse>
384400
@type multi_format
401+
format_key format
385402
<pattern>
386403
format nginx
404+
format_name nginx
387405
</pattern>
388406
<pattern>
389407
expression /foo/
390408
format regexp
391409
</pattern>
392410
<pattern>
393411
format none
412+
format_name none
394413
</pattern>
395414
</parse>
396415
</filter>

content/docs/configuration/plugins/outputs/gelf.md

+6
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,13 @@ TLS Options. For details, see [https://github.com/graylog-labs/gelf-rb/blob/7291
5959
6060
Default: {}
6161
62+
### udp_transport_type (string, optional) {#output-config-udp_transport_type}
6263
64+
Available in Logging operator version 5.3 and later.
65+
66+
UdpTransportType specifies the UDP chunk size by choosing either WAN or LAN mode. The choice between WAN and LAN affects the UDP chunk size depending on whether you are sending logs within your local network (LAN) or over a longer route (e.g., through the internet). Set this option accordingly. For more details, see: [https://github.com/manet-marketing/gelf_redux/blob/9db64353b6672805152c17642ea8ad39eafb5875/lib/gelf/notifier.rb#L22](https://github.com/manet-marketing/gelf_redux/blob/9db64353b6672805152c17642ea8ad39eafb5875/lib/gelf/notifier.rb#L22) Available since ghcr.io/kube-logging/logging-operator/fluentd:5.3.0-full
67+
68+
Default: WAN
6369
6470
6571
## Example `GELF` output configurations

content/docs/configuration/plugins/syslog-ng-outputs/disk_buffer.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ Use this option if the option reliable() is set to no. This option contains the
3232
Use this option if the option reliable() is set to yes. This option contains the size of the messages in bytes that is used in the memory part of the disk buffer.
3333

3434

35-
### q_out_size (*int64, optional) {#diskbuffer-q_out_size}
35+
### qout_size (*int64, optional) {#diskbuffer-qout_size}
3636

3737
The number of messages stored in the output buffer of the destination.
3838

content/docs/configuration/plugins/syslog-ng-outputs/loki.md

+7
Original file line numberDiff line numberDiff line change
@@ -82,6 +82,13 @@ The number of times syslog-ng OSE attempts to send a message to this destination
8282
Template for customizing the log message format.
8383

8484

85+
### tenant-id (string, optional) {#lokioutput-tenant-id}
86+
87+
Available in Logging operator version 5.3 and later.
88+
89+
Sets the tenant ID for multi-tenant scenarios. See the [AxoSyslog docs](https://axoflow.com/docs/axosyslog-core/chapter-destinations/destination-loki/#tenant-id) for more information.
90+
91+
8592
### time_reopen (int, optional) {#lokioutput-time_reopen}
8693

8794
The time to wait in seconds before a dead connection is reestablished.

content/docs/image-versions.md

+16
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,22 @@ weight: 750
55

66
Logging operator uses the following image versions.
77

8+
## Logging operator version 5.3
9+
10+
| Image repository | GitHub repository | Version |
11+
| -------- | --- | -- |
12+
| ghcr.io/kube-logging/logging-operator/node-exporter | https://github.com/kube-logging/logging-operator/tree/master/images/node-exporter | 5.3.0 |
13+
| ghcr.io/kube-logging/logging-operator/config-reloader | https://github.com/kube-logging/logging-operator/tree/master/images/config-reloader | 5.3.0 |
14+
| ghcr.io/kube-logging/logging-operator/fluentd-drain-watch | https://github.com/kube-logging/logging-operator/tree/master/images/fluentd-drain-watch | 5.3.0 |
15+
| registry.k8s.io/pause | https://github.com/kubernetes/registry.k8s.io | 3.9 |
16+
| docker.io/library/busybox | https://github.com/docker-library/busybox | latest |
17+
| ghcr.io/axoflow/axosyslog | https://github.com/axoflow/axosyslog/ | 4.11.0 |
18+
| ghcr.io/fluent/fluent-bit | https://github.com/fluent/fluent-bit | 3.2.5 |
19+
| ghcr.io/kube-logging/logging-operator/fluentd | https://github.com/kube-logging/logging-operator/tree/master/images/fluentd | 5.3.0-full |
20+
| ghcr.io/axoflow/axosyslog-metrics-exporter | https://github.com/axoflow/axosyslog-metrics-exporter | 0.0.9 |
21+
| ghcr.io/kube-logging/logging-operator/syslog-ng-reloader | https://github.com/kube-logging/logging-operator/tree/master/images/syslog-ng-reloader | 5.3.0 |
22+
| ghcr.io/kube-logging/eventrouter | https://github.com/kube-logging/eventrouter | 0.4.0 |
23+
824
## Logging operator version 5.2
925

1026
| Image repository | GitHub repository | Version |

content/docs/whats-new/_index.md

+20
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,26 @@ title: What's new
33
weight: 50
44
---
55

6+
## Version 5.3
7+
8+
The following are the highlights and main changes of Logging operator 5.3. For a complete list of changes and bugfixes, see the [Logging operator 5.3 releases page](https://github.com/kube-logging/logging-operator/releases/tag/5.3.0).
9+
10+
### Breaking change
11+
12+
Starting with this version, Logging operator sets default security context values for the Fluentd logging configuration, so from now on:
13+
14+
- Fluentd runs as the `fluentd` user (instead of root)
15+
- Default user and group IDs are set in the SecurityContext and PodSecurityContext
16+
17+
### Other changes
18+
19+
- In this release we've moved `fluentd-drain-watch` and `node-exporter` into the Logging operator repository. From now on, we build these images from our repository (https://github.com/kube-logging/logging-operator/tree/master/images/) and their version numbering follows the version numbers of Logging operator.
20+
- You can now set the `format_key` and `format_name` options for when using the [Fluentd parser filter]({{< relref "/docs/configuration/plugins/filters/parser.md" >}}) to use multi-format parsing.
21+
- You can use Filter Grep (https://docs.fluentbit.io/manual/pipeline/filters/grep) in the [FluentbitSpec]({{< relref "/docs/configuration/crds/v1beta1/fluentbit_types.md#filtergrep" >}}) section of your logging configuration. That way you can exclude logs before passing them to Fluentd.
22+
- When using Fluentd and ClusterFlows, you can now select and exclude namespaces with regular expressions using the `namespaces_regex` option.
23+
- When using the [Loki destination]({{< relref "/docs/configuration/plugins/syslog-ng-outputs/loki.md#lokioutput-tenant-id" >}}) in a SyslogNGClusterOutput/SyslogNGOutput, you can now set the tenant-id.
24+
- You can now enable verbose mode in {{% xref "/docs/configuration/crds/extensions/hosttailer_types.md" %}}. Also, the default log level of the HostTailer has been reduced to error.
25+
626
## Version 5.2
727

828
The following are the highlights and main changes of Logging operator 5.2. For a complete list of changes and bugfixes, see the [Logging operator 5.2 releases page](https://github.com/kube-logging/logging-operator/releases/tag/5.2.0).

0 commit comments

Comments
 (0)