Settings that are shared across commands are configured in the properties file. The content of the properties file is the same for Windows and Linux. The linefeed code of the properties file is <CR+LF> for both Windows and Linux. The following table describes the configurable settings available in the properties file.
Item | Properties file setting | Description | Value |
---|---|---|---|
REST API connection information | restapi.timeout | Timeout | Configurable value: 1 to 9999 (min.)
Default value: 1 |
restapi.maxRetryCount | Maximum retry count | Configurable value: 0 to 99 (0 indicates that it is tried again without limit)
Default value: 5 |
|
restapi.retryInterval | Retry wait time | Configurable value: 1 to 59 (min.)
Default value: 5 |
|
DUMP API connection information | dumpapi.timeout | Timeout | Configurable value: 1 to 9999 (min.)
Default value: 20 |
dumpapi.maxRetryCount | Maximum retry count | Configurable value: 0 to 99 (0 indicates that it is tried again without limit)
Default value: 10 |
|
dumpapi.retryInterval | Retry wait time | Configurable value: 1 to 59 (min.)
Default value: 1 |
|
Storage connection information | exportdata.protocol | Protocol | Configurable value: HTTP/HTTPS
Default value: HTTPS |
exportdata.portNumber | Port number | Configurable value: 1 to 65535
Default value: 443 |
|
CSV output information | exportdata.isCsvHeader | Header line output | Configurable value: TRUE/FALSE Default value: TRUE Note: When you specify resourceid_on_column as an option of the export data command, set this item to TRUE. If you specify FALSE, an error occurs when the export data command runs. |
log.level | Log level | Configurable value: NORMAL/DEBUG
Default value: NORMAL |
|
Log information | log.directory | Location of log output | Configurable value: A maximum of 150 characters when a full path is specified. To specify "\", specify "\\" (Example: C:\\log). When specifying a relative path, consider the number of characters in a full path. Default value: ./log |
log.keepPeriod | Log retention period | Configurable value: 7 days to 365 days
Default value: 30 |
Settings of the properties file available to you:
- Storage connection information
- CSV output information
- Log information
Example of properties file setting:
# ***Storage Connect properties*** exportdata.protocol=HTTPS exportdata.portNumber=443 # ***CSV properties*** exportdata.isCsvHeader=TRUE # ***Log properties*** log.level=NORMAL log.directory=./log
Example of properties file setting (including API information settings):
# ***REST API properties*** restapi.timeout=1 restapi.maxRetryCount=5 restapi.retryInterval=5 # ***DUMP API properties*** dumpapi.timeout=20 dumpapi.maxRetryCount=5 dumpapi.retryInterval=2 # ***Storage Connect properties*** exportdata.protocol=HTTPS exportdata. portNumber =443 # ***CSV properties*** exportdata.isCsvHeader=TRUE # ***Log properties*** log.level=NORMAL log.directory=./log log.keepPeriod=30