-
Notifications
You must be signed in to change notification settings - Fork 251
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
feature: support logstashPrefix
to ClusterOutput
#268
feature: support logstashPrefix
to ClusterOutput
#268
Conversation
Signed-off-by: mango <[email protected]>
Signed-off-by: mango <[email protected]>
/assign @wenchajun Please have a review if you have free time, thanks. |
Signed-off-by: mango <[email protected]>
charts/fluent-operator/values.yaml
Outdated
@@ -63,7 +63,24 @@ fluentbit: | |||
enable: false | |||
host: "<Elasticsearch url like elasticsearch-logging-data.kubesphere-logging-system.svc>" | |||
port: 9200 | |||
path: "" |
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.
We'd better comment the new added content because they're not required by default. User can remove the comments when they need this
output:
es:
enable: false
host: "<Elasticsearch url like elasticsearch-logging-data.kubesphere-logging-system.svc>"
port: 9200
logstashPrefix: ks-logstash-log
# path: ""
# bufferSize: "4KB"
# index: "fluent-bit"
# httpUser:
# httpPassword:
# logstashFormat: true
# replaceDots: false
# enableTLS: false
# tls:
# verify: On
# debug: 1
# caFile: "<Absolute path to CA certificate file>"
# caPath: "<Absolute path to scan for certificate files>"
# crtFile: "<Absolute path to private Key file>"
# keyFile: "<Absolute path to private Key file>"
# keyPassword:
# vhost: "<Hostname to be used for TLS SNI extension>"
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.
Done.
Signed-off-by: mango <[email protected]>
Signed-off-by: mango <[email protected]>
@@ -63,7 +63,24 @@ fluentbit: | |||
enable: false | |||
host: "<Elasticsearch url like elasticsearch-logging-data.kubesphere-logging-system.svc>" | |||
port: 9200 | |||
logstashPrefix: ks-logstash-log |
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.
logstashPrefix: ks-logstash-log
shouldn't be commented
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.
logstashPrefix
set to ks-logstash-log
by default in template file, so I think logstashPrefix
also should be commented.
charts/fluent-operator/values.yaml
Outdated
# httpUser: | ||
# httpPassword: | ||
# logstashFormat: true | ||
# logstashPrefix: ks-logstash-log |
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.
# logstashPrefix: ks-logstash-log
can be removed here
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.
Done.
Signed-off-by: mango <[email protected]>
* feature: support `logstashPrefix` to ClusterOutput Signed-off-by: mango <[email protected]>
* feature: support `logstashPrefix` to ClusterOutput Signed-off-by: mango <[email protected]> (cherry picked from commit 9ece3a7) Signed-off-by: chengdehao <[email protected]>
Signed-off-by: mango [email protected]
What this PR does / why we need it:
Support
logstashPrefix
,httpUser
and so on to ClusterOutput.Which issue(s) this PR fixes:
Fixes #265
Does this PR introduced a user-facing change?
Additional documentation, usage docs, etc.: