mirror of
https://github.com/helm/charts.git
synced 2026-08-23 22:37:45 +00:00
127 lines
3.0 KiB
YAML
127 lines
3.0 KiB
YAML
image:
|
|
repository: docker.elastic.co/beats/filebeat-oss
|
|
tag: 6.4.2
|
|
pullPolicy: IfNotPresent
|
|
|
|
config:
|
|
filebeat.config:
|
|
prospectors:
|
|
# Mounted `filebeat-prospectors` configmap:
|
|
path: ${path.config}/prospectors.d/*.yml
|
|
# Reload prospectors configs as they change:
|
|
reload.enabled: false
|
|
modules:
|
|
path: ${path.config}/modules.d/*.yml
|
|
# Reload module configs as they change:
|
|
reload.enabled: false
|
|
|
|
processors:
|
|
- add_cloud_metadata:
|
|
|
|
filebeat.prospectors:
|
|
- type: log
|
|
enabled: true
|
|
paths:
|
|
- /var/log/*.log
|
|
- /var/log/messages
|
|
- /var/log/syslog
|
|
- type: docker
|
|
containers.ids:
|
|
- "*"
|
|
processors:
|
|
- add_kubernetes_metadata:
|
|
in_cluster: true
|
|
- drop_event:
|
|
when:
|
|
equals:
|
|
kubernetes.container.name: "filebeat"
|
|
|
|
output.file:
|
|
path: "/usr/share/filebeat/data"
|
|
filename: filebeat
|
|
rotate_every_kb: 10000
|
|
number_of_files: 5
|
|
|
|
# When a key contains a period, use this format for setting values on the command line:
|
|
# --set config."http\.enabled"=true
|
|
http.enabled: false
|
|
http.port: 5066
|
|
|
|
# Upload index template to Elasticsearch if Logstash output is enabled
|
|
# https://www.elastic.co/guide/en/beats/filebeat/current/filebeat-template.html
|
|
# List of Elasticsearch hosts
|
|
indexTemplateLoad: []
|
|
# - elasticsearch:9200
|
|
|
|
# List of beat plugins
|
|
plugins: []
|
|
# - kinesis.so
|
|
|
|
# pass custom command. This is equivalent of Entrypoint in docker
|
|
command: []
|
|
|
|
# pass custom args. This is equivalent of Cmd in docker
|
|
args: []
|
|
|
|
# A list of additional environment variables
|
|
extraVars: []
|
|
# - name: TEST1
|
|
# value: TEST2
|
|
# - name: TEST3
|
|
# valueFrom:
|
|
# configMapKeyRef:
|
|
# name: configmap
|
|
# key: config.key
|
|
|
|
# Add additional volumes and mounts, for example to read other log files on the host
|
|
extraVolumes: []
|
|
# - hostPath:
|
|
# path: /var/log
|
|
# name: varlog
|
|
extraVolumeMounts: []
|
|
# - name: varlog
|
|
# mountPath: /host/var/log
|
|
# readOnly: true
|
|
|
|
extraInitContainers: []
|
|
# - name: echo
|
|
# image: busybox
|
|
# imagePullPolicy: Always
|
|
# args:
|
|
# - echo
|
|
# - hello
|
|
|
|
resources: {}
|
|
# We usually recommend not to specify default resources and to leave this as a conscious
|
|
# choice for the user. This also increases chances charts run on environments with little
|
|
# resources, such as Minikube. If you do want to specify resources, uncomment the following
|
|
# lines, adjust them as necessary, and remove the curly braces after 'resources:'.
|
|
# limits:
|
|
# cpu: 100m
|
|
# memory: 200Mi
|
|
# requests:
|
|
# cpu: 100m
|
|
# memory: 100Mi
|
|
|
|
priorityClassName: ""
|
|
|
|
nodeSelector: {}
|
|
|
|
annotations: {}
|
|
|
|
tolerations: []
|
|
# - operator: Exists
|
|
|
|
affinity: {}
|
|
|
|
rbac:
|
|
# Specifies whether RBAC resources should be created
|
|
create: true
|
|
|
|
serviceAccount:
|
|
# Specifies whether a ServiceAccount should be created
|
|
create: true
|
|
# The name of the ServiceAccount to use.
|
|
# If not set and create is true, a name is generated using the fullname template
|
|
name:
|