-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy pathtopbeat.yml
67 lines (50 loc) · 2.02 KB
/
topbeat.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
################### Topbeat Configuration Example #########################
############################# Input ############################################
input:
# In seconds, defines how often to read server statistics
period: 10
# Regular expression to match the processes that are monitored
# By default, all the processes are monitored
procs: [".*"]
############################# Output ##########################################
output:
logstash:
enabled: true
# The list of downstream Logstash servers.
hosts:
- your_elk_host_ip:5045
tls:
# The path to your client ssl certificate
certificate: /etc/filebeat/logstash-beats.crt
# The path to your client ssl key
certificate_key: /etc/filebeat/logstash-beats.key
# The path to your trusted ssl CA file. This is used
# to authenticate your downstream server.
certificate_authorities:
- /etc/filebeat/logstash-beats.crt
# Network timeout in seconds.
timeout: 15
############################# Shipper #########################################
shipper:
# 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.
# If this options is not defined, the hostname is used.
#name:
# The tags of the shipper are included in their own field with each
# transaction published. Tags make it easy to group servers by different
# logical properties.
tags: ["topbeat_this_client_hostname"]
# Uncomment the following if you want to ignore transactions created
# by the server on which the shipper is installed. This option is useful
# to remove duplicates if shippers are installed on multiple servers.
#ignore_outgoing: true
############################# Shipper #########################################
logging:
# enable file rotation with default configuration
to_files: true
# do not log to syslog
to_syslog: false
files:
path: /var/log/topbeat/
name: topbeat.log
keepfiles: 7