-
Notifications
You must be signed in to change notification settings - Fork 9
/
Copy pathsettings.toml.example
94 lines (80 loc) · 2.32 KB
/
settings.toml.example
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
# Values of true or false in the below settings file should not have quotes around them
[settings]
# Empty means current folder
client_json_folder = ''
# Set to true to enable debug messages
debug = false
# If you have multiple ES clients and need to limit execution to one,
# set the below to the client_name
limit_to_client = ''
# Is password authentication enabled - set to true or false
# Requires the following fields in client.json files: es_user and es_password
password_authentication = false
# Set to true if Elastic requires SSL/TLS - Each SSL setting below is the global
# default. You can override this pert client JSON entry with ssl_enabled inside
# the client JSON document
ssl_enabled = false
# Enforce certificate trust? Can be required, optional, disabled
ssl_certificate = 'disabled'
# Enforce hostname checks? Can be true or false
check_hostname = false
[notification]
smtp = "disabled"
ms-teams = "disabled"
jira = "disabled"
[smtp]
from_email = '[email protected]'
username = '[email protected]'
password = ''
smtp_host = 'smtp.office365.com'
smtp_port = 587
[ms-teams]
webhook = ''
[retention]
enabled = true
minutes_between_run = 60
health_check_level = 'yellow'
# Which notifications to use on failure
ms-teams = true
jira = false
[allocation]
enabled = true
minutes_between_run = 60
# Which notifications to use on failure
ms-teams = true
jira = false
[rollover]
enabled = false
minutes_between_run = 10
shard_minimum_size = 10
health_check_level = 'yellow'
# Which notifications to use on failure
ms-teams = true
jira = false
[backup]
enabled = true
minutes_between_run = 30
backup_repo = 'backup'
health_check_level = 'yellow'
[accounting]
# Needs to be true or false with no quotes
enabled = false
# Run every 4 hours
minutes_between_run = 240
# Empty means current folder - not recommended
output_folder = '/opt/elastic-ilm/accounting'
output_to_es = true
send_copy_to_client_name = ''
# Expected cluster health level (green, yellow, or red)
# Green is recommended otherwise accounting may be inaccurate
health_check_level = 'green'
retry_attempts = 10
retry_wait_in_seconds = 1200
# On final retry, what cluster level is acceptable (yellow is recommended)
fallback_health_check_level = 'yellow'
# Costs are per day based on GB
ssd_cost = 0.03
sata_cost = 0.001
# Which notifications to use on failure
ms-teams = false
jira = false