-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathfilebeat.yml
More file actions
54 lines (45 loc) · 1.11 KB
/
filebeat.yml
File metadata and controls
54 lines (45 loc) · 1.11 KB
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
47
48
49
50
51
52
53
54
filebeat.inputs:
- type: container
paths:
- '/var/lib/docker/containers/*/*.log'
processors:
- add_docker_metadata:
host: "unix:///var/run/docker.sock"
processors:
- add_docker_metadata:
host: "unix:///var/run/docker.sock"
- decode_json_fields:
fields: ["message"]
target: ""
overwrite_keys: true
setup.kibana:
host: ${KIBANA_HOSTS}
username: ${ELASTIC_USER}
password: ${ELASTIC_PASSWORD}
output.elasticsearch:
hosts: ${ELASTIC_HOSTS}
username: ${ELASTIC_USER}
password: ${ELASTIC_PASSWORD}
ssl.enabled: true
ssl.certificate_authorities: "certs/ca/ca.crt"
# filebeat.inputs:
# - type: filestream
# id: default-filestream
# paths:
# - ingest_data/*.log
# filebeat.autodiscover:
# providers:
# - type: docker
# hints.enabled: true
# processors:
# - add_docker_metadata: ~
# setup.kibana:
# host: ${KIBANA_HOSTS}
# username: ${ELASTIC_USER}
# password: ${ELASTIC_PASSWORD}
# output.elasticsearch:
# hosts: ${ELASTIC_HOSTS}
# username: ${ELASTIC_USER}
# password: ${ELASTIC_PASSWORD}
# ssl.enabled: true
# ssl.certificate_authorities: "certs/ca/ca.crt"