filebeat is used to ship Kubernetes and host logs to multiple outputs.
- Kubernetes 1.9+
By default this chart only ships a single output to a file on the local system. Users should set config.output.file.enabled=false and configure their own outputs as documented
To install the chart with the release name my-release
:
$ helm install --name my-release stable/filebeat
The following table lists the configurable parameters of the filebeat chart and their default values.
Parameter | Description | Default |
---|---|---|
image.repository |
Docker image repo | docker.elastic.co/beats/filebeat-oss |
image.tag |
Docker image tag | 6.7.0 |
image.pullPolicy |
Docker image pull policy | IfNotPresent |
image.pullSecrets |
Specify image pull secrets | nil |
config.filebeat.config.prospectors.path |
Mounted filebeat-prospectors configmap |
${path.config}/prospectors.d/*.yml |
config.filebeat.config.prospectors.reload.enabled |
Reload prospectors configs as they change | false |
config.filebeat.config.modules.path |
${path.config}/modules.d/*.yml |
|
config.filebeat.config.modules.reload.enabled |
Reload module configs as they change | false |
config.processors |
- add_cloud_metadata |
|
config.filebeat.prospectors |
see values.yaml | |
config.output.file.path |
"/usr/share/filebeat/data" |
|
config.output.file.filename |
filebeat |
|
config.output.file.rotate_every_kb |
10000 |
|
config.output.file.number_of_files |
5 |
|
config.http.enabled |
false |
|
config.http.port |
5066 |
|
overrideConfig |
If overrideConfig is not empty, filebeat chart's default config won't be used at all. | {} |
data.hostPath |
Path on the host to mount to /usr/share/filebeat/data in the container. |
/var/lib/filebeat |
indexTemplateLoad |
List of Elasticsearch hosts to load index template, when logstash output is used | [] |
command |
Custom command (Docker Entrypoint) | [] |
args |
Custom args (Docker Cmd) | [] |
plugins |
List of beat plugins | [] |
extraVars |
A list of additional environment variables | [] |
extraVolumes |
Add additional volumes | [] |
extraVolumeMounts |
Add additional mounts | [] |
extraInitContainers |
Add additional initContainers | [] |
resources |
{} |
|
priorityClassName |
priorityClassName | nil |
nodeSelector |
{} |
|
annotations |
{} |
|
tolerations |
[] |
|
affinity |
{} |
|
rbac.create |
Specifies whether RBAC resources should be created | true |
serviceAccount.create |
Specifies whether a ServiceAccount should be created | true |
serviceAccount.name |
the name of the ServiceAccount to use | "" |
podSecurityPolicy.enabled |
Should the PodSecurityPolicy be created. Depends on rbac.create being set to true . |
false |
podSecurityPolicy.annotations |
Annotations to be added to the created PodSecurityPolicy: | "" |
privileged |
Specifies wheter to run as privileged | false |
Specify each parameter using the --set key=value[,key=value]
argument to helm install
.
Alternatively, a YAML file that specifies the values for the parameters can be provided while installing the chart. For example,
$ helm install --name my-release -f values.yaml stable/filebeat