aboutsummaryrefslogtreecommitdiffstats
path: root/elk/filebeat.yml
blob: ea8fc5dca273bb00b6ba3935c02e18dfcb57361f (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
name: filebeat

filebeat.config:
  modules:
    path: ${path.config}/modules.d/*.yml
    reload.enabled: false

# filebeat.autodiscover:
#   providers:
#     - type: docker
#       hints.enabled: true

filebeat.inputs:
  - type: container
    enabled: true
    paths: 
      - /usr/share/dockerlogs/data/*/*.log
  - type: filestream
    enabled: true
    paths:
      - /usr/share/var/log/*.log

processors:
- add_cloud_metadata: ~

output.elasticsearch:
  enabled: true
  hosts: [ "http://elasticsearch:9200" ]
  username: "elastic"
  password: "changeme"

# output.logstash:
#   enabled: true
#   hosts: [ "http://logstsh:5044" ]

# setup.kibana:
#   host: "http://kibana:5601"

# http:
#   enabled: true
#   host: 0.0.0.0