Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
C
charts
Project
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Rancher商店
charts
Commits
782fa81d
Unverified
Commit
782fa81d
authored
Feb 02, 2019
by
Guangbo
Committed by
GitHub
Feb 02, 2019
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update fluentd to fix output plugins (#119)
parent
2c49506f
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
18 additions
and
11 deletions
+18
-11
Chart.yaml
charts/fluentd-aggregator/latest/Chart.yaml
+1
-1
questions.yml
charts/fluentd-aggregator/latest/questions.yml
+12
-4
configmap.yaml
charts/fluentd-aggregator/latest/templates/configmap.yaml
+5
-6
No files found.
charts/fluentd-aggregator/latest/Chart.yaml
View file @
782fa81d
...
@@ -2,7 +2,7 @@ apiVersion: v1
...
@@ -2,7 +2,7 @@ apiVersion: v1
description
:
A Fluentd Aggregator Helm chart Continuously Receive Events From The Log Forwarders.
description
:
A Fluentd Aggregator Helm chart Continuously Receive Events From The Log Forwarders.
icon
:
https://www.fluentd.org/assets/img/miscellany/fluentd-logo.png
icon
:
https://www.fluentd.org/assets/img/miscellany/fluentd-logo.png
name
:
fluentd-aggregator
name
:
fluentd-aggregator
version
:
0.2.
0
version
:
0.2.
1
appVersion
:
v2.3.1
appVersion
:
v2.3.1
home
:
https://www.fluentd.org/
home
:
https://www.fluentd.org/
sources
:
sources
:
...
...
charts/fluentd-aggregator/latest/questions.yml
View file @
782fa81d
...
@@ -106,7 +106,7 @@ questions:
...
@@ -106,7 +106,7 @@ questions:
-
"
%Y."
-
"
%Y."
-
variable
:
env.OUTPUT_SPLUNK_HOST
-
variable
:
env.OUTPUT_SPLUNK_HOST
default
:
"
"
default
:
"
"
description
:
"
e.g.
https://
192.168.1.10"
description
:
"
e.g.
192.168.1.10"
type
:
string
type
:
string
label
:
Splunk Endpoint
label
:
Splunk Endpoint
required
:
true
required
:
true
...
@@ -120,6 +120,14 @@ questions:
...
@@ -120,6 +120,14 @@ questions:
required
:
true
required
:
true
group
:
"
Output
Configs"
group
:
"
Output
Configs"
show_if
:
"
output.type=splunk_hec"
show_if
:
"
output.type=splunk_hec"
-
variable
:
env.OUTPUT_SPLUNK_TOKEN
default
:
"
"
description
:
"
Tokens
are
entities
that
let
logging
agents
and
HTTP
clients
connect
to
the
HEC
input"
type
:
string
label
:
Splunk Token
required
:
true
group
:
"
Output
Configs"
show_if
:
"
output.type=splunk_hec"
-
variable
:
env.OUTPUT_SPLUNK_SOURCE_TYPE
-
variable
:
env.OUTPUT_SPLUNK_SOURCE_TYPE
default
:
"
"
default
:
"
"
description
:
"
A
default
field
that
identifies
the
source
of
an
event,
that
is,
where
the
event
originated"
description
:
"
A
default
field
that
identifies
the
source
of
an
event,
that
is,
where
the
event
originated"
...
@@ -264,19 +272,19 @@ questions:
...
@@ -264,19 +272,19 @@ questions:
# fluentd configs
# fluentd configs
-
variable
:
configMaps.filter\.conf
-
variable
:
configMaps.filter\.conf
default
:
"
"
default
:
"
"
description
:
"
fluentd
filter
config"
description
:
"
fluentd
filter
config
,
https://docs.fluentd.org/v1.0/articles/filter-plugin-overview
"
type
:
multiline
type
:
multiline
label
:
Fluentd Filter Config
label
:
Fluentd Filter Config
group
:
"
Filter
Configs"
group
:
"
Filter
Configs"
-
variable
:
configMaps.parser\.conf
-
variable
:
configMaps.parser\.conf
default
:
"
"
default
:
"
"
description
:
"
fluentd
parser
config"
description
:
"
fluentd
parser
config
,
https://docs.fluentd.org/v1.0/articles/parser-plugin-overview
"
type
:
multiline
type
:
multiline
label
:
Fluentd Parser Config
label
:
Fluentd Parser Config
group
:
"
Fluentd
Parser
Configs"
group
:
"
Fluentd
Parser
Configs"
-
variable
:
configMaps.formatter\.conf
-
variable
:
configMaps.formatter\.conf
default
:
"
"
default
:
"
"
description
:
"
fluentd
formatter
config"
description
:
"
fluentd
formatter
config
,
https://docs.fluentd.org/v1.0/articles/formatter-plugin-overview
"
type
:
multiline
type
:
multiline
label
:
Fluentd Formatter Config
label
:
Fluentd Formatter Config
group
:
"
Formatter
Configs"
group
:
"
Formatter
Configs"
charts/fluentd-aggregator/latest/templates/configmap.yaml
View file @
782fa81d
...
@@ -16,8 +16,11 @@ data:
...
@@ -16,8 +16,11 @@ data:
{{
- end
}}
{{
- end
}}
output.conf
:
|-
output.conf
:
|-
{{- if eq .Values.output.type "elasticsearch" }}
{{- if eq .Values.output.type "custom" }}
{{
.Values.output.customConf | indent 4
}}
{{
- else
}}
<match **>
<match **>
{{- if eq .Values.output.type "elasticsearch" }}
@type elasticsearch
@type elasticsearch
@log_level info
@log_level info
include_tag_key
true
include_tag_key
true
...
@@ -100,7 +103,7 @@ data:
...
@@ -100,7 +103,7 @@ data:
# ssl parameter
# ssl parameter
# use_ssl
true
# use_ssl
true
# ca_file /path/to/ca.pem
# ca_file /path/to/ca.pem
{{- end }}
# fluentd file buffer config
# fluentd file buffer config
<buffer>
<buffer>
@type file
@type file
...
@@ -117,7 +120,3 @@ data:
...
@@ -117,7 +120,3 @@ data:
</buffer>
</buffer>
</match>
</match>
{{- end }}
{{- end }}
{{- if eq .Values.output.type "custom" }}
{{
.Values.output.customConf | indent 4
}}
{{
- end
}}
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment