diff --git a/.github/workflows/staging-release.yaml b/.github/workflows/staging-release.yaml index 4ae7f30bc4d..58d2660c935 100644 --- a/.github/workflows/staging-release.yaml +++ b/.github/workflows/staging-release.yaml @@ -502,8 +502,8 @@ jobs: TAG: ${{ steps.get-tag.outputs.tag }} staging-release-images-latest-tags: - # Only update latest tags for 3.0 releases - if: startsWith(github.event.inputs.version, '3.0') + # Only update latest tags for 3.1 releases + if: startsWith(github.event.inputs.version, '3.1') name: Release latest Linux container images runs-on: ubuntu-latest needs: @@ -791,21 +791,21 @@ jobs: target_commitish: '2.1' make_latest: false - - name: Release 2.2 - not latest + - name: Release 3.0 - not latest uses: softprops/action-gh-release@v2 - if: startsWith(inputs.version, '2.2') + if: startsWith(inputs.version, '3.0') with: body: "https://fluentbit.io/announcements/v${{ inputs.version }}/" draft: false generate_release_notes: true name: "Fluent Bit ${{ inputs.version }}" tag_name: v${{ inputs.version }} - target_commitish: '2.2' + target_commitish: '3.0' make_latest: false - - name: Release 3.0 and latest + - name: Release 3.1 and latest uses: softprops/action-gh-release@v2 - if: startsWith(inputs.version, '3.0') + if: startsWith(inputs.version, '3.1') with: body: "https://fluentbit.io/announcements/v${{ inputs.version }}/" draft: false @@ -898,13 +898,20 @@ jobs: ref: 2.2 token: ${{ secrets.GH_PA_TOKEN }} - - name: Release 3.0 and latest + - name: Release 3.0 - not latest if: startsWith(inputs.version, '3.0') uses: actions/checkout@v4 with: repository: fluent/fluent-bit-docs token: ${{ secrets.GH_PA_TOKEN }} + - name: Release 3.1 and latest + if: startsWith(inputs.version, '3.1') + uses: actions/checkout@v4 + with: + repository: fluent/fluent-bit-docs + token: ${{ secrets.GH_PA_TOKEN }} + - name: Ensure we have the script we need run: | if [[ ! -f update-release-version-docs.sh ]] ; then @@ -977,9 +984,15 @@ jobs: with: ref: 2.2 - - name: Release 3.0 and latest + - name: Release 3.0 not latest if: startsWith(inputs.version, '3.0') uses: actions/checkout@v4 + with: + ref: 3.0 + + - name: Release 3.1 latest + if: startsWith(inputs.version, '3.1') + uses: actions/checkout@v4 # Get the new version to use - name: 'Get next minor version' diff --git a/cmake/libraries.cmake b/cmake/libraries.cmake index 1cea558907d..aaa1e293db3 100644 --- a/cmake/libraries.cmake +++ b/cmake/libraries.cmake @@ -19,7 +19,7 @@ set(FLB_PATH_LIB_ONIGMO "lib/onigmo") set(FLB_PATH_LIB_MPACK "lib/mpack-amalgamation-1.1.1") set(FLB_PATH_LIB_MINIZ "lib/miniz") set(FLB_PATH_LIB_TUTF8E "lib/tutf8e") -set(FLB_PATH_LIB_CARES "lib/c-ares-1.30.0") +set(FLB_PATH_LIB_CARES "lib/c-ares-1.31.0") set(FLB_PATH_LIB_SNAPPY "lib/snappy-fef67ac") set(FLB_PATH_LIB_RDKAFKA "lib/librdkafka-2.3.0") set(FLB_PATH_LIB_RING_BUFFER "lib/lwrb") diff --git a/cmake/plugins_options.cmake b/cmake/plugins_options.cmake index 88c935689e4..5d08e505fff 100644 --- a/cmake/plugins_options.cmake +++ b/cmake/plugins_options.cmake @@ -67,7 +67,7 @@ DEFINE_OPTION(FLB_PROCESSOR_CONTENT_MODIFIER "Enable content modifier processor DEFINE_OPTION(FLB_PROCESSOR_LABELS "Enable metrics label manipulation processor" ON) DEFINE_OPTION(FLB_PROCESSOR_METRICS_SELECTOR "Enable metrics selector processor" ON) DEFINE_OPTION(FLB_PROCESSOR_SQL "Enable SQL processor" ON) - +DEFINE_OPTION(FLB_PROCESSOR_OPENTELEMETRY_ENVELOPE "Enable OpenTelemetry envelope processor" ON) # Filters # ======= diff --git a/conf/parsers.conf b/conf/parsers.conf index c3b6adf50d3..ec1b11bf910 100644 --- a/conf/parsers.conf +++ b/conf/parsers.conf @@ -128,3 +128,11 @@ Name kube-custom Format regex Regex (?[^.]+)?\.?(?[a-z0-9](?:[-a-z0-9]*[a-z0-9])?(?:\.[a-z0-9]([-a-z0-9]*[a-z0-9])?)*)_(?[^_]+)_(?.+)-(?[a-z0-9]{64})\.log$ + +[PARSER] + # Examples: TCP: https://rubular.com/r/Q8YY6fHqlqwGI0 UDP: https://rubular.com/r/B0ID69H9FvN0tp + Name kmsg-netfilter-log + Format regex + Regex ^\<(?[0-9]{1,5})\>1 (?