forked from saltstack-formulas/beats-formula
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpillar.example
42 lines (42 loc) · 1.29 KB
/
pillar.example
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
beats:
filebeat:
config:
filebeat.prospectors:
- input_type: log
paths:
- /var/log/*.log
output.elasticsearch:
hosts: ["localhost:9200"]
logging.to_files: true
logging.files:
path: /var/log/filebeat
name: filebeat
rotateeverybytes: 10485760
keepfiles: 7
metricbeat:
config:
cbeat.config.modules:
path: ${path.config}/conf.d/*.yml
reload.period: 10s
reload.enabled: false
metricbeat.modules:
- module: system
metricsets:
- cpu
- load
- filesystem
- fsstat
- memory
- network
- process
enabled: true
period: 10s
processes: ['.*']
output.elasticsearch:
hosts: ["localhost:9200"]
logging.to_files: true
logging.files:
path: /var/log/metricbeat
name: metricbeat
rotateeverybytes: 10485760
keepfiles: 7