feat: new logging type customOutputs #229
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Important
This PR is branched from the #228 one because there were changes to the same files, so I branched from there to avoid conflicts.
You will see changes from the PR #228 included in this one until the PR #228 is merged.
Intro
This is a set of changes that introduce a new
customOutputs
logging type that allows configuring the Logging stack to ship the logs to a custom (remote or not) server instead of sending them to a local OpenSearch or Loki deployment.This new type still has the advantages of a out-of-the box integration with the rest of the distribution and sane defaults, so all logs will be scraped as before with the same logical separation (infra, ingress, kubernets, etcd, etc., i.e.
Flow
s). The user needs to specify theOutput
andClusterOutputs
specs via new configuration options in the furyctl.yaml file and the rest will be taken care of.Changes in this PR
customOutputs
logging type to the schemaspec.distribution.modules.logging.customOutputs
section for the needed fields (one for eachOutput
andClusterOutput
spec) to configure the new type.{loki, opensearch, none} <-> customOutputs
).fixes https://github.com/sighupio/product-management/issues/496