-
Notifications
You must be signed in to change notification settings - Fork 6
/
Copy pathconnbeat.yml
51 lines (40 loc) · 1.18 KB
/
connbeat.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
connbeat:
expose_process_info: true
expose_cmdline: true
expose_environ: false
aggregation: 60s
poll_interval: 10s
enable_tcp_diag: false
enable_local_connections: true
enable_docker: false
docker_environment: ["PATH", "MESOS_TASK_ID"]
processors:
- add_cloud_metadata:
output:
http:
hosts: ["${STSURL}connbeat?api_key=${APIKEY}"]
compression_level: 6
#kafka:
# hosts: ["localhost:9092"]
# topic: connbeat
#elasticsearch:
# hosts: ["localhost:9200"]
#template:
# name: "connbeat"
# path: "connbeat.template.json"
#console:
# pretty: false
# Logging to rotating files files. Set logging.to_files to false to disable logging to
# files.
logging.to_files: true
logging.files:
# Configure the path where the logs are written. The default is the logs directory
# under the home path (the binary location).
#path: /var/log/connbeat
# The name of the files where the logs are written to.
#name: connbeat
# Configure log file size limit. If limit is reached, log file will be
# automatically rotated
rotateeverybytes: 10485760 # = 10MB
# Number of rotated log files to keep. Oldest files will be deleted first.
keepfiles: 2