-
Notifications
You must be signed in to change notification settings - Fork 6
/
logstashbeat.yml
78 lines (57 loc) · 2.33 KB
/
logstashbeat.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
################### Logstashbeat Configuration Example #########################
############################# Logstashbeat ######################################
logstashbeat:
# Defines how often an event is sent to the output
period: 5s
urls: ["http://127.0.0.1:9600"]
node:
stats:
events: true
jvm: true
process: true
mem: true
pipeline: true
jvm: true
#================================ 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"]
# Template name. By default the template name is logstashbeat.
template.name: "logstashbeat"
# Path to template file
template.path: "logstashbeat.template.json"
# Overwrite existing template
template.overwrite: false
#----------------------------- Logstash output --------------------------------
#output.logstash:
# The Logstash hosts
#hosts: ["localhost:5044"]
# Optional TLS. By default is off.
# List of root certificates for HTTPS server verifications
#tls.certificate_authorities: ["/etc/pki/root/ca.pem"]
# Certificate for TLS client authentication
#tls.certificate: "/etc/pki/client/cert.pem"
# Client Certificate Key
#tls.certificate_key: "/etc/pki/client/cert.key"
#================================ Logging =====================================
# Sets log level. The default log level is error.
# 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: ["*"]