-
Notifications
You must be signed in to change notification settings - Fork 165
LOG-1491: Generate vector config #1230
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
LOG-1491: Generate vector config #1230
Conversation
/hold |
26c4e87
to
6b42095
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
/approve
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: jcantrill, vimalk78 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 |
18d8d50
to
8bee3cc
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is fluentd syntax?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
not exactly, passphrase is from kafka sasl config
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I meant it requires =
sign
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
thanks, i updated the PR. it has an =
sign now
8bee3cc
to
984c997
Compare
PR to generate bare minimal vector.toml - all Sources are read (container logs, journal logs, audit logs) - adds basic transformation of raw logs to adjust log level, and add some metadata - adds basic routing - splits container logs into app and infra - source to input ("application", "infrastructure", "audit") - input to pipeline - pipeline to outputs - some nodes in the generated pipeline are no-op, these are there just to rename the stream to get names as per API - kafka output is supported (sasl username/password not supported, key/cert supported)
984c997
to
9efa752
Compare
e2e kafka test case works
infra log message captured in kafka:
the test case fails because test case framework needs to be updated to parse the vector log data model, which is still evolving |
/hold cancel |
/retest |
DescribeTable("Generate full vector.toml", f, | ||
Entry("with complex spec", generator.ConfGenerateTest{ | ||
CLSpec: logging.ClusterLoggingSpec{ | ||
Forwarder: &logging.ForwarderSpec{ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Maybe a cleanup item but this is not relevant to vector
.level = level | ||
|
||
.pipeline_metadata.collector.name = "vector" | ||
.pipeline_metadata.collector.version = "0.14.1" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
In future we probably should grab this from an ENV since it is likely to change
/hold for 5.3 FF |
/lgtm |
/hold cancel |
LOG-1491: Generate vector config
Description
PR to generate bare minimal
vector.toml
Sample Conf:
/cc @jcantrill @ajaygupta978
/assign
Links