forked from duplocloud/filebeat
-
Notifications
You must be signed in to change notification settings - Fork 0
/
filebeat.yml
33 lines (29 loc) · 898 Bytes
/
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
######################## Filebeat Configuration ############################
name: <HOSTNAME>
#=========================== Filebeat prospectors =============================
# List of prospectors to fetch data.
filebeat.prospectors:
#------------------------------ Log prospector --------------------------------
- input_type: log
enabled: true
paths:
- "/logs/*/*.log"
scan_frequency: 5s
harvester_buffer_size: 16384
#-------------------------- Elasticsearch output -------------------------------
output.elasticsearch:
enabled: true
hosts: [<HOSTS>]
protocol: "https"
timeout: 180
bulk_max_size: 2
#----------------------------- Logstash output ---------------------------------
#output.logstash:
#enabled: true
#hosts: ["localhost:5044"]
logging.to_files: true
logging.files:
path: ./templogs
name: filebeat
rotateeverybytes: 10485760 # = 10MB
keepfiles: 7