Skip to content

Commit 4e90ac1

Browse files
Merge branch 'master' of github.com:fluent/fluent-bit into feature/added-buffering-to-azure-blob
2 parents 8d9602f + e8d608b commit 4e90ac1

File tree

8 files changed

+12
-15
lines changed

8 files changed

+12
-15
lines changed

CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ set(CMAKE_POLICY_DEFAULT_CMP0069 NEW)
88
# Fluent Bit Version
99
set(FLB_VERSION_MAJOR 4)
1010
set(FLB_VERSION_MINOR 0)
11-
set(FLB_VERSION_PATCH 1)
11+
set(FLB_VERSION_PATCH 2)
1212
set(FLB_VERSION_STR "${FLB_VERSION_MAJOR}.${FLB_VERSION_MINOR}.${FLB_VERSION_PATCH}")
1313

1414
set(CMAKE_POSITION_INDEPENDENT_CODE ON)

conf/parsers.conf

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -107,10 +107,10 @@
107107
Time_Key start_time
108108

109109
[PARSER]
110-
# https://rubular.com/r/17KGEdDClwiuDG
110+
# https://rubular.com/r/hbsTIxFFMozLmh
111111
Name istio-envoy-proxy
112112
Format regex
113-
Regex ^\[(?<start_time>[^\]]*)\] "(?<method>\S+)(?: +(?<path>[^\"]*?)(?: +\S*)?)? (?<protocol>\S+)" (?<response_code>[^ ]*) (?<response_flags>[^ ]*) (?<response_code_details>[^ ]*) (?<connection_termination_details>[^ ]*) (?<upstream_transport_failure_reason>[^ ]*) (?<bytes_received>[^ ]*) (?<bytes_sent>[^ ]*) (?<duration>[^ ]*) (?<x_envoy_upstream_service_time>[^ ]*) "(?<x_forwarded_for>[^ ]*)" "(?<user_agent>[^\"]*)" "(?<x_request_id>[^\"]*)" (?<authority>[^ ]*)" "(?<upstream_host>[^ ]*)" (?<upstream_cluster>[^ ]*) (?<upstream_local_address>[^ ]*) (?<downstream_local_address>[^ ]*) (?<downstream_remote_address>[^ ]*) (?<requested_server_name>[^ ]*) (?<route_name>[^ ]*)
113+
Regex ^\[(?<start_time>[^\]]*)\] "(?<method>\S+)(?: +(?<path>[^\"]*?)(?: +\S*)?)? (?<protocol>\S+)" (?<response_code>[^ ]*) (?<response_flags>[^ ]*) (?<response_code_details>[^ ]*) (?<connection_termination_details>[^ ]*) "(?<upstream_transport_failure_reason>[^ ]*)" (?<bytes_received>[^ ]*) (?<bytes_sent>[^ ]*) (?<duration>[^ ]*) (?<x_envoy_upstream_service_time>[^ ]*) "(?<x_forwarded_for>[^ ]*)" "(?<user_agent>[^\"]*)" "(?<x_request_id>[^\"]*)" "(?<authority>[^ ]*)" "(?<upstream_host>[^ ]*)" (?<upstream_cluster>[^ ]*) (?<upstream_local_address>[^ ]*) (?<downstream_local_address>[^ ]*) (?<downstream_remote_address>[^ ]*) (?<requested_server_name>[^ ]*) (?<route_name>[^ ]*)$
114114
Time_Format %Y-%m-%dT%H:%M:%S.%L%z
115115
Time_Keep On
116116
Time_Key start_time

dockerfiles/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
# docker buildx build --platform "linux/amd64,linux/arm64,linux/arm/v7,linux/s390x" -f ./dockerfiles/Dockerfile.multiarch --build-arg FLB_TARBALL=https://github.com/fluent/fluent-bit/archive/v1.8.11.tar.gz ./dockerfiles/
1414

1515
# Set this to the current release version: it gets done so as part of the release.
16-
ARG RELEASE_VERSION=4.0.1
16+
ARG RELEASE_VERSION=4.0.2
1717

1818
# For multi-arch builds - assumption is running on an AMD64 host
1919
FROM multiarch/qemu-user-static:x86_64-arm AS qemu-arm32

fluent-bit-4.0.1.bb renamed to fluent-bit-4.0.2.bb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=2ee41112a44fe7014dce33e26468ba93"
1616
SECTION = "net"
1717

1818
PR = "r0"
19-
PV = "4.0.1"
19+
PV = "4.0.2"
2020

2121
SRCREV = "v${PV}"
2222
SRC_URI = "git://github.com/fluent/fluent-bit.git;nobranch=1"

packaging/test-release-packages.sh

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -37,9 +37,7 @@ function check_version() {
3737
fi
3838
}
3939

40-
APT_TARGETS=("ubuntu:18.04"
41-
"ubuntu:20.04"
42-
"ubuntu:22.04"
40+
APT_TARGETS=("ubuntu:22.04"
4341
"debian:10"
4442
"debian:11")
4543

packaging/update-repos.sh

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ SCRIPT_DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" >/dev/null 2>&1 && pwd )"
99
# Import the signing key (if signing)
1010
# gpg --import <private key>
1111
# gpg --export -a "$GPG_KEY" > /tmp/fluentbit.key
12-
# rpm --import /tmp/fluentbit.key
12+
# rpm --import /tmp/fluentbit.key
1313

1414
export BASE_PATH=${BASE_PATH:-$1}
1515
if [[ ! -d "$BASE_PATH" ]]; then
@@ -50,13 +50,9 @@ done
5050
DEB_REPO_PATHS=( "debian/bookworm"
5151
"debian/bullseye"
5252
"debian/buster"
53-
"ubuntu/xenial"
54-
"ubuntu/bionic"
55-
"ubuntu/focal"
5653
"ubuntu/jammy"
5754
"ubuntu/noble"
58-
"raspbian/buster"
59-
"raspbian/bullseye" )
55+
)
6056

6157
for DEB_REPO in "${DEB_REPO_PATHS[@]}"; do
6258
export DEB_REPO

snap/snapcraft.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
name: fluent-bit
22
base: core18
3-
version: '4.0.1'
3+
version: '4.0.2'
44
summary: High performance logs and stream processor
55
description: |
66
Fluent Bit is a high performance log processor and stream processor for Linux.

src/config_format/flb_config_format.c

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -71,6 +71,9 @@ flb_sds_t flb_cf_key_translate(struct flb_cf *cf, char *key, int len)
7171

7272
/* copy content and check if we have underscores */
7373
out = flb_sds_create_size(len * 2);
74+
if (out == NULL) {
75+
return NULL;
76+
}
7477
flb_sds_cat_safe(&out, key, len);
7578

7679
for (i = 0; i < len; i++) {

0 commit comments

Comments
 (0)