Skip to content
This repository has been archived by the owner on Feb 22, 2022. It is now read-only.

Add Replace_Dots option to fluent-bit elasticsearch output #8659

Closed
wants to merge 5 commits into from

Conversation

donbowman
Copy link
Contributor

This addresses fluent/fluent-bit#854.
Make 'Replace_Dots' settable for fluent-bit elasticsearch
output, and default to 'On'.

Signed-off-by: Don Bowman [email protected]

What this PR does / why we need it:

Elasticsearch does not allow a leaf to be both 'text' and 'object'. In Kubernetes, labels + annotations can be of the format 'app' or 'app.kubernetes.io/foo', which confuses it. Fluent-bit has an option 'Replace_Dots' which should be settable (and default on).

Which issue this PR fixes

(optional, in fixes #<issue number>(, fixes #<issue_number>, ...) format, will close that issue when PR gets merged)

  • fixes #

fluent/fluent-bit#854

Special notes for your reviewer:

Checklist

[Place an '[x]' (no spaces) in all applicable fields. Please remove unrelated fields.]

  • [x ] DCO signed
  • [ x] Chart Version bumped
  • [x ] Variables are documented in the README.md

@helm-bot helm-bot added Contribution Allowed If the contributor has signed the DCO or the CNCF CLA (prior to the move to a DCO). size/XS Denotes a PR that changes 0-9 lines, ignoring generated files. labels Oct 23, 2018
@k8s-ci-robot k8s-ci-robot added the needs-ok-to-test Indicates a PR that requires an org member to verify it is safe to test. label Oct 23, 2018
@rimusz
Copy link
Contributor

rimusz commented Oct 25, 2018

/lgtm

@k8s-ci-robot k8s-ci-robot added the lgtm Indicates that a PR is ready to be merged. label Oct 25, 2018
@rimusz
Copy link
Contributor

rimusz commented Oct 25, 2018

/ok-to-test

@k8s-ci-robot k8s-ci-robot removed the needs-ok-to-test Indicates a PR that requires an org member to verify it is safe to test. label Oct 25, 2018
@rimusz
Copy link
Contributor

rimusz commented Oct 25, 2018

please bump chart version to 0.13.2

@k8s-ci-robot k8s-ci-robot removed the lgtm Indicates that a PR is ready to be merged. label Oct 25, 2018
@helm-bot helm-bot added size/XS Denotes a PR that changes 0-9 lines, ignoring generated files. and removed size/XS Denotes a PR that changes 0-9 lines, ignoring generated files. Contribution Allowed If the contributor has signed the DCO or the CNCF CLA (prior to the move to a DCO). labels Oct 25, 2018
@donbowman donbowman force-pushed the fluentbit-replace-dots branch from 83592ac to dc91b93 Compare October 25, 2018 10:56
@helm-bot helm-bot added Contribution Allowed If the contributor has signed the DCO or the CNCF CLA (prior to the move to a DCO). size/XS Denotes a PR that changes 0-9 lines, ignoring generated files. and removed size/XS Denotes a PR that changes 0-9 lines, ignoring generated files. labels Oct 25, 2018
@donbowman donbowman force-pushed the fluentbit-replace-dots branch from dc91b93 to a84dd40 Compare October 25, 2018 10:58
@helm-bot helm-bot added size/XS Denotes a PR that changes 0-9 lines, ignoring generated files. and removed size/XS Denotes a PR that changes 0-9 lines, ignoring generated files. labels Oct 25, 2018
@rimusz
Copy link
Contributor

rimusz commented Oct 25, 2018

/lgtm

@k8s-ci-robot k8s-ci-robot added the lgtm Indicates that a PR is ready to be merged. label Oct 25, 2018
@rimusz
Copy link
Contributor

rimusz commented Oct 25, 2018

/assign @foxish

@rimusz
Copy link
Contributor

rimusz commented Oct 25, 2018

/assign @davidkarlsen

@k8s-ci-robot
Copy link
Contributor

New changes are detected. LGTM label has been removed.

@k8s-ci-robot k8s-ci-robot removed the lgtm Indicates that a PR is ready to be merged. label Oct 30, 2018
@helm-bot helm-bot added size/XS Denotes a PR that changes 0-9 lines, ignoring generated files. and removed size/XS Denotes a PR that changes 0-9 lines, ignoring generated files. labels Nov 1, 2018
@donbowman donbowman force-pushed the fluentbit-replace-dots branch from 73c5204 to d3d4ed8 Compare November 1, 2018 17:19
@helm-bot helm-bot added size/XS Denotes a PR that changes 0-9 lines, ignoring generated files. and removed size/XS Denotes a PR that changes 0-9 lines, ignoring generated files. labels Nov 1, 2018
This addresses fluent/fluent-bit#854.
Make 'Replace_Dots' settable for fluent-bit elasticsearch
output, and default to 'On'.

Signed-off-by: Don Bowman <[email protected]>
@donbowman donbowman force-pushed the fluentbit-replace-dots branch from d3d4ed8 to b860cd5 Compare November 1, 2018 17:26
@helm-bot helm-bot added size/XS Denotes a PR that changes 0-9 lines, ignoring generated files. and removed size/XS Denotes a PR that changes 0-9 lines, ignoring generated files. labels Nov 1, 2018
@helm-bot helm-bot added size/XS Denotes a PR that changes 0-9 lines, ignoring generated files. and removed size/XS Denotes a PR that changes 0-9 lines, ignoring generated files. labels Nov 5, 2018
@helm-bot helm-bot added size/XS Denotes a PR that changes 0-9 lines, ignoring generated files. and removed size/XS Denotes a PR that changes 0-9 lines, ignoring generated files. labels Nov 9, 2018
@donbowman
Copy link
Contributor Author

is there anything more I need to do here?

@donbowman
Copy link
Contributor Author

@rimusz i need the /lgtm etc again since after bumping the chart version to match master it shows as a change.

@donbowman
Copy link
Contributor Author

coming back to this, @rimusz @davidkarlsen @foxish I'm not sure what more is needed from me.
The workflow removed the /lgtm when I rebased to get the Chart version bump.

@donbowman
Copy link
Contributor Author

ping? hello?
What more is needed from me?

@kfox1111
Copy link
Collaborator

lgtm

@helm-bot helm-bot added size/XS Denotes a PR that changes 0-9 lines, ignoring generated files. and removed size/XS Denotes a PR that changes 0-9 lines, ignoring generated files. labels Nov 30, 2018
@k8s-ci-robot
Copy link
Contributor

[APPROVALNOTIFIER] This PR is NOT APPROVED

This pull-request has been approved by: donbowman, rimusz
To fully approve this pull request, please assign additional approvers.
We suggest the following additional approver: davidkarlsen

If they are not already assigned, you can assign the PR to them by writing /assign @davidkarlsen in a comment when ready.

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@donbowman
Copy link
Contributor Author

I believe #9008 incorporates this, closing.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Contribution Allowed If the contributor has signed the DCO or the CNCF CLA (prior to the move to a DCO). size/XS Denotes a PR that changes 0-9 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

7 participants