kube-logging / logging-operator

Logging operator for Kubernetes
https://kube-logging.dev
Apache License 2.0
1.53k stars 326 forks source link

logging ressource globalFilters into globalFiltersPre and globalFiltersPost #1514

Closed genofire closed 6 months ago

genofire commented 11 months ago

Is your feature request related to a problem? Please describe. the CRD Logging has the globalFilters entries. But some filters want to be run, after the ClusterFlow/Flow has run. e.g.:

For safe (that a Flow-Author could not overwrite fields)

Describe the solution you'd like has globalFilterPost: []

Describe alternatives you've considered ClusterOutput/Output has (also) globalFilters

stale[bot] commented 9 months ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions!

genofire commented 8 months ago

that is sad, that this issue was closed without an comment.

ping @pepov

pepov commented 8 months ago

I beleive that should already be possible by using the relabel output

pepov commented 8 months ago

https://kube-logging.dev/docs/configuration/plugins/outputs/relabel/

pepov commented 8 months ago

@genofire can you check if relabel can be used for this?

stale[bot] commented 6 months ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions!