forked from awslabs/amazon-redshift-utils
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathextract.yaml
44 lines (32 loc) · 1.51 KB
/
extract.yaml
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
# Required. Where to save the extracted workload. Either S3 location or local directory.
workload_location: "s3://mybucketname/myworkload"
# Optional. Providing this enables automatic log retrieval from S3 and system
# table information retrieval (which allows query start and end times to be
# extracted, rather than just record times)
source_cluster_endpoint: ""
# Required only if source_cluster_endpoint is given.
master_username: "awsuser"
# Required. Start and end time of the workload to be extracted, e.g. 2020-06-14T21:41:16+00:00
start_time: ""
end_time: ""
# Required only if extraction using ODBC is preferred and installed. Otherwise, Python driver is used.
odbc_driver: ""
# Leave blank to automatically retrieve audit logs from the source cluster.
# You can specify a local location or S3 location to load the audit logs from
# another location.
log_location: ""
#Required only if log location for cloudwatch logs is specified
region: ""
# Location of the SQL file containing queries to unload system tables
unload_system_table_queries: "unload_system_tables.sql"
# If unspecified, system tables will be unloaded to workload_location
source_cluster_system_table_unload_location: ""
# If an IAM role is provided, UNLOAD will occur. If this is blank, UNLOAD of system tables will not occur.
source_cluster_system_table_unload_iam_role: ""
##
## The settings below probably don't need to be modified for a typical run
##
# Set the amount of logging
log_level: info
# Number of simplereplay logfiles to maintain
backup_count: 1