|
| 1 | +# |
| 2 | +# Licensed to the Apache Software Foundation (ASF) under one or more |
| 3 | +# contributor license agreements. See the NOTICE file distributed with |
| 4 | +# this work for additional information regarding copyright ownership. |
| 5 | +# The ASF licenses this file to You under the Apache License, Version 2.0 |
| 6 | +# (the "License"); you may not use this file except in compliance with |
| 7 | +# the License. You may obtain a copy of the License at |
| 8 | +# |
| 9 | +# http://www.apache.org/licenses/LICENSE-2.0 |
| 10 | +# |
| 11 | +# Unless required by applicable law or agreed to in writing, software |
| 12 | +# distributed under the License is distributed on an "AS IS" BASIS, |
| 13 | +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| 14 | +# See the License for the specific language governing permissions and |
| 15 | +# limitations under the License. |
| 16 | +# |
| 17 | + |
| 18 | +remote-logging: |
| 19 | + # Whether to enable remote logging |
| 20 | + enable: false |
| 21 | + # if remote-logging.enable = true, set the target of remote logging |
| 22 | + target: OSS |
| 23 | + # if remote-logging.enable = true, set the log base directory |
| 24 | + base.dir: logs |
| 25 | + # if remote-logging.enable = true, set the number of threads to send logs to remote storage |
| 26 | + thread.pool.size: 10 |
| 27 | + # required if you set remote-logging.target=OSS |
| 28 | + oss: |
| 29 | + # oss access key id, required if you set remote-logging.target=OSS |
| 30 | + access.key.id: <access.key.id> |
| 31 | + # oss access key secret, required if you set remote-logging.target=OSS |
| 32 | + access.key.secret: <access.key.secret> |
| 33 | + # oss bucket name, required if you set remote-logging.target=OSS |
| 34 | + bucket.name: <bucket.name> |
| 35 | + # oss endpoint, required if you set remote-logging.target=OSS |
| 36 | + endpoint: <endpoint> |
| 37 | + # required if you set remote-logging.target=S3 |
| 38 | + s3: |
| 39 | + # s3 access key id, required if you set remote-logging.target=S3 |
| 40 | + access.key.id: <access.key.id> |
| 41 | + # s3 access key secret, required if you set remote-logging.target=S3 |
| 42 | + access.key.secret: <access.key.secret> |
| 43 | + # s3 bucket name, required if you set remote-logging.target=S3 |
| 44 | + bucket.name: <bucket.name> |
| 45 | + # s3 endpoint, required if you set remote-logging.target=S3 |
| 46 | + endpoint: <endpoint> |
| 47 | + # s3 region, required if you set remote-logging.target=S3 |
| 48 | + region: <region> |
| 49 | + google.cloud.storage: |
| 50 | + # the location of the google cloud credential, required if you set remote-logging.target=GCS |
| 51 | + credential: /path/to/credential |
| 52 | + # gcs bucket name, required if you set remote-logging.target=GCS |
| 53 | + bucket.name: <your-bucket> |
| 54 | + abs: |
| 55 | + # abs account name, required if you set resource.storage.type=ABS |
| 56 | + account.name: <your-account-name> |
| 57 | + # abs account key, required if you set resource.storage.type=ABS |
| 58 | + account.key: <your-account-key> |
| 59 | + # abs container name, required if you set resource.storage.type=ABS |
| 60 | + container.name: <your-container-name> |
| 61 | + |
0 commit comments