This repository has been archived by the owner on Jan 10, 2025. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 1.2k
/
Copy pathfilebeat.example.yml
58 lines (46 loc) · 1.82 KB
/
filebeat.example.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
#===================== Filebeat inputs ===================
filebeat.inputs:
#==================== Filebeat modules ===================
filebeat.config.modules:
# Glob pattern for configuration loading
path: ${path.config}/modules.d/*.yml
# Set to true to enable config reloading
reload.enabled: false
#============== Elasticsearch template setting ===========
# Please see these resources to size your cluster and
# determine the settings that should go here.
# https://www.elastic.co/elasticon/conf/2016/sf/quantitative-cluster-sizing
# https://www.elastic.co/webinars/elasticsearch-scaling-best-practices
# https://www.elastic.co/consulting/design-services
# https://www.elastic.co/webinars/using-rally-to-get-your-elasticsearch-cluster-size-right
# https://www.elastic.co/videos/pro-tips-from-elastic-support-engineers
setup.template.settings:
index.number_of_shards: 2
#============== Index Lifecycle Management (ILM) =========
#
# setup.ilm.check_exists should be set to false in
# order to limit the privs required by the publish
# role and to ensure that the ILM policy is not
# overwritten once customized by the admin
setup.ilm.check_exists: false
#====================== Elastic Cloud =====================
cloud.id: "${CLOUD_ID}"
cloud.auth: "${ES_WRITER_USER}:${ES_WRITER_PASSWORD}"
#======================= Processors =======================
processors:
- add_host_metadata:
netinfo.enabled: true
- add_cloud_metadata: ~
- add_docker_metadata: ~
- add_kubernetes_metadata: ~
- add_fields:
target: ''
fields:
service.name: 'Online Banking'
service.id: 'ob-canada'
#==================== Spool to Disk =======================
queue.spool: ~
#======================== Logging =========================
logging.level: error
#====================== Monitoring ========================
monitoring.enabled: true