-
Notifications
You must be signed in to change notification settings - Fork 10
/
libbeat.yml
130 lines (104 loc) · 4.16 KB
/
libbeat.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
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
################### Connbeat Configuration Example #########################
# This file is an example configuration file highlighting only some common options.
# The connbeat.full.yml file in the same directory contains all the supported options
# with detailed comments. You can use it for reference.
#
# You can find the full configuration reference here:
# https://github.com/raboof/connbeat
############################# Connbeat ######################################
connbeat:
# Expose information about processes associated with connections at all
expose_process_info: true
# When exposing information about processes associated with connections,
# also include the command-line with which the process was started
expose_cmdline: false
# When exposing information about processes associated with connections,
# also include the environment variables passed to this process
expose_environ: true
# The same connection will not be published again
# within the aggregation interval
aggregation: 10s
# Connections will be polled on this interval
poll_interval: 2s
# Enable monitoring local connections. Can be disabled when you only
# want to monitor via docker.
enable_local_connections: true
# Use the netlink tcp_diag kernel interface to retrieve
# connections. More performant but less portable.
enable_tcp_diag: true
# Use docker to monitor connections from docker containers.
# For connections from docker containers process metadata
# will never be collected.
enable_docker: false
# When publishing a connections from a docker container,
# expose these environment variables if passed to that
# container.
docker_environment: ["PATH"]
#-------------------------- HTTP output ------------------------------
#output.http:
# hosts: ["${STSURL}connbeat?api_key=${APIKEY}"]
#
# Optional further settings:
# protocol: "https"
# path: "foo"
# parameters: "xyz"
# proxy_url: "xyz"
# loadbalance: true
# compression_level: 9
# max_retries: 3
# timeout: 90 seconds
# tls:
# enabled: false
# verification_mode: "full"
# supported_protocols: [...]
# cipher_suites: [...]
# curve_types: [...]
# certificate_authorities: [...]
# certificate: ...
# key: ...
# key_passphrase: ...
#
# BASIC authentication:
# username: "alice"
# password: "secret"
#================================ General =====================================
# The name of the shipper that publishes the network data. It can be used to group
# all the transactions sent by a single shipper in the web interface.
#name:
# The tags of the shipper are included in their own field with each
# transaction published.
#tags: ["service-X", "web-tier"]
# Optional fields that you can specify to add additional information to the
# output.
#fields:
# env: staging
#================================ Outputs =====================================
# Configure what outputs to use when sending the data collected by the beat.
# Multiple outputs may be used.
#-------------------------- Elasticsearch output ------------------------------
output.elasticsearch:
# Array of hosts to connect to.
hosts: ["localhost:9200"]
# Optional protocol and basic auth credentials.
#protocol: "https"
#username: "elastic"
#password: "changeme"
#----------------------------- Logstash output --------------------------------
#output.logstash:
# The Logstash hosts
#hosts: ["localhost:5044"]
# Optional SSL. By default is off.
# List of root certificates for HTTPS server verifications
#ssl.certificate_authorities: ["/etc/pki/root/ca.pem"]
# Certificate for SSL client authentication
#ssl.certificate: "/etc/pki/client/cert.pem"
# Client Certificate Key
#ssl.key: "/etc/pki/client/cert.key"
#================================ Logging =====================================
# Sets log level. The default log level is info.
# Available log levels are: critical, error, warning, info, debug
#logging.level: debug
# At debug level, you can selectively enable logging only for some components.
# To enable all selectors use ["*"]. Examples of other selectors are "beat",
# "publish", "service".
#logging.selectors: ["*"]