aboutsummaryrefslogtreecommitdiff
path: root/app/telemetry/config/filebeat.yml
blob: 310afd1bd721ea1b9fc86d571564c7426ba2971c (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
# see https://github.com/elastic/beats/blob/master/filebeat/filebeat.reference.yml
filebeat.modules:
- module: system
  syslog:
    enabled: true
  auth:
    enabled: true

#filebeat.inputs:
#- type: container
#  enabled: true
#  paths:
#    -/var/lib/docker/containers/*/*.log
#  stream: all # can be all, stdout or stderr

#========================== Filebeat autodiscover ==============================
filebeat.autodiscover:
  providers:
    - type: docker
      # https://www.elastic.co/guide/en/beats/filebeat/current/configuration-autodiscover-hints.html
      # This URL alos contains instructions on multi-line logs
      hints.enabled: true

#================================ Processors ===================================
processors:
# - add_cloud_metadata: ~
- add_docker_metadata: ~
- add_locale:
    format: offset
- add_host_metadata:
    netinfo.enabled: true

#========================== Elasticsearch output ===============================
output.elasticsearch:
  hosts: ["localhost:9200"]
  username: elastic
  password: {{ key "secrets/telemetry/elastic_passwords/elastic" }}

#============================== Dashboards =====================================
setup.dashboards:
  enabled: false

#============================== Xpack Monitoring ===============================
xpack.monitoring:
  enabled: true
  elasticsearch: