zoomdata.properties Properties
The zoomdata.properties file can be edited in the /etc/zoomdata
directory. Each property is described in the table below.
Some situations where the zoomdata.properties
file needs to be updated include:
- Add an SSL Certificate
- Disable the SSL Certificate in Composer
- Set Up the Screenshot Microservice
- Create a Symmetric Key to Encrypt Data Source Passwords
- About Scheduled Dashboard Reports
For information on editing configuration files, see Edit a Composer Configuration File.
Property | Default Value | Description |
---|---|---|
access.control.allow.origin | * |
By default, CORS is set to --- in the Composer Server. You can set CORS to restrict access:
For more information, see Enable Composer Component Access From Other Sites Using Cross-Origin Resource Sharing (CORS). |
logs.dir | <ZD_install_directory> /logs |
Path to Composer logs. The placeholder <ZD_install_directory> is replaced with the actual location where Composer is installed. Verify that this log directory has all the necessary permissions and that the owner of the directory is set to The Example: |
saml.maxAuthAge | 86400 |
Sets the timeout for SAML, in seconds. The default is 24 hours.
Example:
|
server.compression.enabled | true |
Enables gzip compression for http requests.
Example:
|
server.port | 8080 |
The default server port, which is set to use http. Prior releases used http.port
|
server.servlet.context-path | /composer |
Example:
|
server.session-timeout | 1800 seconds |
Sets when your Composer session will timeout (in seconds).
Example:
If you alter this value, also alter the value of the zoomdata.server.ws.idle.timeout property to match it. |
source.attribute.values.limit | 1000 |
Sets the limit for the number of attribute values that can be displayed in the Filter list.
Example:
|
spring.servlet.multipart.max-file-size | 500Mb |
Example:
|
spring.servlet.multipart.max-request-size | 500Mb |
Example:
|
zoomdata.server.ws.idle.timeout | 1800000 ms | Idle time that allows the WebSocket to be still valid. If you alter this value, also alter the value of the server.session-timeout property to match it. |
http.response.header.content-security-policy |
frame-ancestors *; |
Add appropriate values to override the default values and support your business needs, such as Secure your implementation by including values for these resources using appropriate source URLs. Example:
|
Source Metadata Properties | ||
zoomdata.source.refresh.metadata.cache.timeout.minutes | 10080 (one week) | Sets the default time-to-live for cache values, in minutes. |
zoomdata.source.refresh.values.maxDistinctValues | 100000 | Sets the number of queried distinct values that can be stored in cache. |
Encryption Properties | ||
security.encryption.algorithm | The encryption algorithm used for file encryption. |
|
security.encryption.key.algorithm | The algorithm type of the encryption key used for file encryption. |
|
Keystore Properties | ||
keystore.location | classpath:security/zoomkeystore.jks |
Composer uses symmetric encryption. You can point to a new keystore to strengthen security. Example: See Create a Symmetric Key to Encrypt Data Source Passwords for further guidance. |
keystore.password | zoomkey |
Lets you set up a unique password for the keystore. Example: |
keystore.key.alias | zoomkey | Example: |
keystore.key.password | zoomkey | Example: |
Server SSL Properties | ||
server.ssl.key-store | <Composer_install_directory>/conf/keystore |
Sets the path for the keystore location. Example: |
server.ssl.key-store-password | changeit |
Stores the keystore password. Example: |
SAML Configuration Properties | ||
saml.artifactBindingDefault | true | Example: |
saml.useMultiValueList | true |
Example:
|
saml.stringDelimiter | , | Example: |
Kerberized PostgreSQL Properties | ||
spring.datasource.url | jdbc:postgresql://<IP_address>:<port>/zoomdata |
The URL of the
Example: |
spring.datasource.username | zoomdata |
The user name for the
Example:
|
spring.datasource.password | --- | The password associated with the user name for the |
keyset.destination.params.jdbc_url | jdbc:postgresql://<IP_address>:<port>/zoomdata-keyset |
The URL of the
Example: |
keyset.destination.params.user_name | zoomdata |
The user name for the
Example:
|
keyset.destination.params.password | --- | The password associated with the user name for the |
upload.destination.params.jdbc_url | jdbc:postgresql://<IP_address>:<port>/zoomdata-upload |
The URL of the
Example:
|
upload.destination.params.user_name | zoomdata |
The user name for the
Example:
|
upload.destination.params.password | --- | The password associated with the user name for the |
Source Sampling Properties | ||
source.sampling.rows | 1000 |
Example:
|
source.attribute.values.limit | 1000 |
Example:
|
Logging Properties | ||
logging.unified.host | 127.0.0.1 |
Sets the host IP address for Fluentd server message logging. For more information, see Set Up Unified Logging Using Fluentd. Example: |
logging.unified.level |
OFF |
Sets the log level for messages logged to the Fluentd server. The following options are available for this property: TRACE, DEBUG, INFO, WARN, ERROR, and OFF. If set to OFF, Fluentd unified logging is disabled. For more information, see Set Up Unified Logging Using Fluentd. Example: |
logging.unified.port | 24224 |
Sets the port for Fluentd server message logging. For more information, see Set Up Unified Logging Using Fluentd. Example: |
logging.unified.tag | zoomdata-server |
Sets the microservice tag name for messages logged to the Fluentd server. This is important because the tag identifies the microservice to which the log messages apply. Valid values are For more information, see Set Up Unified Logging Using Fluentd. Example: |
syslog.host | 127.0.0.1 |
Sets the host IP address for Syslog server message logging.
Example:
|
syslog.log.level | OFF |
Sets the syslog log level for messages logged to the Syslog server. The following options are available for this property: TRACE, DEBUG, INFO, WARN, ERROR, and OFF.
Example: |
syslog.port | 1514 |
Sets the port for Syslog server message logging.
Example:
|
syslog.suffix | local |
Specifies a suffix that is appended at the end of the Syslog server log entry that Composer generates.
Example:
|
Password Policy | ||
auth.password.policy.specialCharacters | !@#$%^&*()-_=+,.:;<> | |
auth.password.policy.minCharacters | 9 | |
auth.password.policy.maxCharacters | 255 | |
auth.password.policy.minLowercaseCharacters | 1 | |
auth.password.policy.minUppercaseCharacters | 1 | |
auth.password.policy.minNumericCharacters | 1 | |
auth.password.policy.minSpecialCharacters | 1 | |
auth.password.policy.helpMessage | Password must contain at least 9 characters including 1 lowercase, 1 uppercase, 1 number and 1 special (!@#$%^&*()-_=+,.:;<>). |
Text is not enclosed in quotation marks. |
Data Export Properties | ||
zoomdata.export.data.max.cols | 1000 columns |
Use this property to define the maximum number of columns that can be exported for two-dimensional visuals (such as a pivot table). Composer enforces this limit for visual data, but does not enforce it for raw data. The distributed default for this setting is 1000 columns. Valid values can range from 0 through 2147483647 columns. |
zoomdata.export.data.max.rows | 100000 rows |
Use this property to define the maximum number of rows that can be exported for visuals. Composer enforces this limit for visual data. However, for raw data, Composer produces an error if the number of rows requested for export exceeds this setting. The distributed default for this setting is 100000 rows. Valid values can range from 0 through 2147483647 rows. |
zoomdata.export.visualdata.max.rows | 100000 rows |
Use this property to define the maximum number of rows that can be exported for visuals. Composer enforces this limit for visual data. However, for raw data, Composer produces an error if the number of rows requested for export exceeds this setting. The distributed default for this setting is 100000 rows. Valid values can range from 0 through 2147483647 rows. |
Screenshot Microservice Client & Dashboard Scheduling Properties | ||
screenshot.service.name | screenshot-service | |
screenshot.service.url | http://localhost:8083/ |
|
screenshot.service.http.client.connect.timeout.milliseconds | 10000 milliseconds | Specifies the number of milliseconds that can elapse before Composer stops trying to connect to the screenshot microservice client. |
screenshot.service.http.client.read.timeout.milliseconds | 60000 milliseconds |
Specifies the number of milliseconds that can elapse before Composer stops trying to read from the screenshot microservice client.
Note: If you increase the time set by the
dashboard.scheduling.screenshot.timeout property, make sure that you increase the value of this property as well. The total time set by screenshot.service.http.client.read.timeout.milliseconds should always be greater than or equal to the time set by the dashboard.scheduling.screenshot.timeout property. Bear in mind that this property is specified in milliseconds, but the dashboard.scheduling.screenshot.timeout property is specified in seconds. |
screenshot.service.http.client.write.timeout.milliseconds | 60000 milliseconds | Specifies the number of milliseconds that can elapse before Composer stops trying to write to the screenshot microservice client. |
dashboard.scheduling.screenshot.png.height | 720 pixels | Identifies the height (in pixels) of the screenshot PNG file that will be sent. |
dashboard.scheduling.screenshot.png.width | 1280 pixels | Identifies the width (in pixels) of the screenshot PNG file that will be sent. |
dashboard.scheduling.screenshot.timeout | 60 seconds |
Specifies the timeout (in seconds) to take a screenshot for a dashboard email report.
Note: The time specified by this property must be less than or equal to the time set by the
screenshot.service.http.client.read.timeout.milliseconds property. If you increase the value of this property, make sure that you increase the value of the screenshot.service.http.client.read.timeout.milliseconds property accordingly. Bear in mind that this property is specified in seconds, but the screenshot.service.http.client.read.timeout.milliseconds property is specified in milliseconds. |
mail.from | Specifies the email address identifying where the email comes from. |
|
mail.login | Specifies the email login to use to access the mail server. |
|
mail.password | Specifies the password associated with the email login identified in the |
|
In addition, JavaMail API properties (Composer supports both IMAP and SMTP protocols) should be added to the | ||
Field Settings | ||
zoomdata.detect.type.attribute.max.length | 200 characters | Use this property to set the maximum character length of attribute fields. If this limit is exceeded, the field will be recognized as a Text field. |
Comments
0 comments
Please sign in to leave a comment.