-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathfilebeat.yml
63 lines (51 loc) · 1.2 KB
/
filebeat.yml
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
55
56
57
58
59
60
61
62
63
# logging.level: debug
filebeat.config.modules:
enabled: true
path: /usr/share/filebeat/modules.d/*.yml
filebeat.inputs:
- type: filestream
id: default-filestream
paths:
- ingest_data/*.log
# - type: netflow
# max_message_size: 10KiB
# host: "0.0.0.0:2056"
# protocols: [ v5, v9, ipfix ]
# expiration_timeout: 30m
# queue_size: 8192
# detect_sequence_reset: true
# filebeat.inputs:
# - type: syslog
# format: rfc3164
# protocol.udp:
# host: "localhost:9528"
# - type: udp
# max_message_size: 10KiB
# tags: ["json"]
# host: "localhost:8080"
# - type: udp
# enabled: true
# # host: "0.0.0.0:2055" # Porta padrão para NetFlow, altere conforme necessário
# fields:
# source: "netflow"
# fields_under_root: true
filebeat.autodiscover:
providers:
- type: docker
hints.enabled: true
processors:
- add_docker_metadata: ~
setup.kibana:
host: ${KIBANA_HOSTS}
username: ${ELASTIC_USER}
password: ${ELASTIC_PASSWORD}
ssl:
enabled: true
certificate_authorities: ${CA_CERT}
output.elasticsearch:
hosts: ${ELASTIC_HOSTS}
username: ${ELASTIC_USER}
password: ${ELASTIC_PASSWORD}
ssl:
enabled: true
certificate_authorities: ${CA_CERT}