forked from vkhatri/chef-filebeat
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.kitchen.yml
46 lines (41 loc) · 954 Bytes
/
.kitchen.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
---
driver:
name: vagrant
provisioner:
name: chef_zero
platforms:
- name: ubuntu-14.04
run_list:
- recipe[apt]
- name: centos-6.5
run_list:
- recipe[yum]
suites:
- name: default
require_chef_omnibus: 12.5.1
run_list:
- recipe[filebeat::default]
attributes:
filebeat:
prospectors:
system_logs:
filebeat:
prospectors:
- paths:
- /var/log/messages
- /var/log/syslog
type: log
fields:
type: system_logs
- paths:
- /var/log/*.log
type: log
fields:
type: undefined
exclude_files:
- /var/log/messages
- /var/log/syslog
config:
output:
elasticsearch:
hosts: ["127.0.0.1:9200"]