Skip to main content

Configuration Files

These configuration properties are provided for reference purposes only. Direct modification of Chariot configuration files is not recommended and may lead to unexpected behavior. Please use the standard configuration tools provided by Chariot.

📁 com.cirruslink.chariot.client​

ParameterTypeDescriptionDefault
serverNamestringName of the MQTT Server to connect to"mosquitto-test-broker-1"
clientIdstringName of the connecting client"client-1"
serverUrlstringMQTT Server URL"test.mosquitto.org"
serverPortintegerMQTT Server portI"1883"
usernamestringUsername credentials for the connecting client""
passwordstringPassword credentials for the connecting client.""
cleanSessionbooleanWhether to enable Clean Session on connectB"true"
keepAliveintegerKeep Alive timeout in secondsI"60"
useTIsbooleanWhether to use secure (TLS/SSL) connectionB"false"

📁 com.cirruslink.chariot.example​

ParameterTypeDescriptionDefault
myIntintegerSample integer valueI"1"
myListlistSample list valuei[ \ "8", \ "200", \ "300", \ ]
myStrstringSample string valuemy-custom-string

📁 com.cirruslink.chariot.http.chariotui​

ParameterTypeDescriptionDefault
pathstringDefault path for Chariot UI"webserver"

📁 com.cirruslink.chariot.mqttuser​

ParameterTypeDescriptionDefault
encryptedPropertiesstringAll encrypted properties[ \ "password", \ ]
algorithmstringEncryption algorithm"SHA-512"
saltSizeintegerThe size of salt to user before hashingI"32"
hashIterationsintegerThe number of times to apply the hashing algorithmI"1"

📁 com.cirruslink.chariot.persistence.h2-default​

ParameterTypeDescriptionDefault
namestring"default"
folderstring"h2/default"
userstring"sa"
passwordstring""
loginTimeoutintegerI"40"
tables.1.namestring"accounts"
tables.1.keys.1string"account"
tables.1.columns.1.namestring"id"
tables.1.columns.1.typestring"INT IDENTITY(1,1)"
tables.1.columns.1.isPrimarybooleanB"true"
tables.1.columns.2.namestring"accountName"
tables.1.columns.2.typestring"VARCHAR (255)"
tables.1.columns.2.isIdbooleanB"true"
tables.1.columns.3.namestring"accountDescription"
tables.1.columns.3.typestring"VARCHAR (255)"
tables.1.columns.4.namestring"meta_createdBy"
tables.1.columns.4.typestring"VARCHAR (255)"
tables.1.columns.5.namestring"meta_createdOn"
tables.1.columns.5.typestring"BIGINT"
tables.1.columns.6.namestring"meta_modifiedBy"
tables.1.columns.6.typestring"VARCHAR (255)"
tables.1.columns.7.namestring"meta_modifiedOn"
tables.1.columns.7.typestring"BIGINT"
tables.1.columns.8.namestring"accountId"
tables.1.columns.8.typestring"VARCHAR (255)"
tables.2.namestring"users"
tables.2.keys.1string"user"
tables.2.columns.1.namestring"id"
tables.2.columns.1.typestring"INT IDENTITY(1,1)"
tables.2.columns.1.isPrimarybooleanB"true"
tables.2.columns.2.namestring"username"
tables.2.columns.2.typestring"VARCHAR (255)"
tables.2.columns.2.isIdbooleanB"true"
tables.2.columns.3.namestring"meta_createdBy"
tables.2.columns.3.typestring"VARCHAR (255)"
tables.2.columns.4.namestring"meta_createdOn"
tables.2.columns.4.typestring"BIGINT"
tables.2.columns.5.namestring"meta_modifiedBy"
tables.2.columns.5.typestring"VARCHAR (255)"
tables.2.columns.6.namestring"meta_modifiedOn"
tables.2.columns.6.typestring"BIGINT"
tables.2.columns.7.namestring"accountId"
tables.2.columns.7.typestring"VARCHAR (255)"
tables.2.columns.8.namestring"password_value"
tables.2.columns.8.typestring"VARCHAR (255)"
tables.2.columns.9.namestring"password_salt"
tables.2.columns.9.typestring"BINARY(32)"
tables.2.columns.10.namestring"password_algorithm"
tables.2.columns.10.typestring"VARCHAR (255)"
tables.2.columns.11.namestring"password_hashIterations"
tables.2.columns.11.typestring"INT"
tables.2.columns.12.namestring"roles"
tables.2.columns.12.typestring"VARCHAR"
tables.2.columns.13.namestring"permissions"
tables.2.columns.13.typestring"VARCHAR"
tables.2.columns.14.namestring"firstName"
tables.2.columns.14.typestring"VARCHAR (255)"
tables.2.columns.15.namestring"lastName"
tables.2.columns.15.typestring"VARCHAR (255)"
tables.2.columns.16.namestring"phoneNumber"
tables.2.columns.16.typestring"VARCHAR (255)"
tables.2.columns.17.namestring"email"
tables.2.columns.17.typestring"VARCHAR (255)"
tables.2.columns.18.namestring"company"
tables.2.columns.18.typestring"VARCHAR (255)"
tables.2.columns.19.namestring"address_number"
tables.2.columns.19.typestring"INT"
tables.2.columns.20.namestring"address_street"
tables.2.columns.20.typestring"VARCHAR (255)"
tables.2.columns.21.namestring"address_city"
tables.2.columns.21.typestring"VARCHAR (255)"
tables.2.columns.22.namestring"address_province"
tables.2.columns.22.typestring"VARCHAR (255)"
tables.2.columns.23.namestring"address_zip"
tables.2.columns.23.typestring"VARCHAR (255)"
tables.2.columns.24.namestring"address_country"
tables.2.columns.24.typestring"VARCHAR (255)"

📁 com.cirruslink.chariot.persistence.h2-logging​

⚠️ information only, do not modify without consulting Cirrus Link

ParameterTypeDescriptionDefault
namestring"logging"
folderstring"h2/logging"
userstring"sa"
passwordstring""
loginTimeoutintegerI"40"
tables.1.namestring"logs"
tables.1.maxRowsintegerI"262144"
tables.1.keys.1string"logentry"
tables.1.indexes.1string"LOGS"
tables.1.columns.1.namestring"id"
tables.1.columns.1.typestring"INT IDENTITY(1,1)"
tables.1.columns.1.isPrimarybooleanB"true"
tables.1.columns.1.isIdbooleanB"true"
tables.1.columns.1.indexstring"LOGS"
tables.1.columns.1.orderstring"DESC"
tables.1.columns.2.namestring"logger"
tables.1.columns.2.typestring"VARCHAR"
tables.1.columns.3.namestring"level"
tables.1.columns.3.typestring"INT"
tables.1.columns.4.namestring"message"
tables.1.columns.4.typestring"VARCHAR"
tables.1.columns.5.namestring"thread"
tables.1.columns.5.typestring"VARCHAR"
tables.1.columns.6.namestring"timestamp"
tables.1.columns.6.typestring"BIGINT"
tables.2.namestring"version"
tables.2.columns.1.namestring"id"
tables.2.columns.1.typestring"INT IDENTITY(1,1)"
tables.2.columns.1.isIdbooleanB"true"
tables.2.columns.2.namestring"chariotVersion"
tables.2.columns.2.typestring"VARCHAR"
tables.2.columns.3.namestring"buildTimestamp"
tables.2.columns.3.typestring"VARCHAR"
tables.2.columns.4.namestring"buildPlatform"
tables.2.columns.4.typestring"VARCHAR"

📁 com.cirruslink.chariot.server​

⚠️ ** indicates property hidden by default

ParameterTypeDescriptionDefault
portintegerThe MQTT Server port for TLS enabled connectionsI"1883"
securePortintegerThe MQTT Server port for plain TCP connectionsI"8883"
webSocketPortintegerChariot Server WebSocket PortI"8090"
webSocketSecurePortintegerChariot Server Secure WebSock PortI"8091"
bindAddressstringThe IP address/hostname the MQTT Server will listen for connections on"0.0.0.0"
enableNonSecurebooleanEnable plain TCP connections for the MQTT ServerB"true"
enableSecurebooleanEnable TLS connections for the MQTT Server (Requires TLS private key and certificates have been uploaded into Chariot)B"false"
webSocketEnablebooleanEnable Enable Chariot Server WebSocketChariot Server WebSocketB"false"
webSocketEnableSecurebooleanEnable Chariot Server Secure WebSocketB"false"
allowAnonymousbooleanAllow anonymous access to the MQTT ServerB"false"
maxMessageSizeintegerMaximum length of MQTT message that can be received in bytesI"268435455"
maxConnectSizeintegerMaximum length of MQTT connect message that can be received in bytesI"268435455"
maxClientIdLengthintegerMaximum number of characters in Client IDI"100"
maxTopicLengthintegerMaximum number of characters in topicI"1024"
maxTopicLevelsintegerMaximum number of topic levelsI"10"
connectTimeoutintegerMaximum timeout of a client finishing connectingI"10000"
enforceUniqueLwtTopicbooleanWhether to enforce unique LWT topic checks on connecting clientsB"false"
uniqueLwtTopicFiltersstringA comma-separated list of topic filters to match topics that must pass unique LWT topic checks""
messageThreadsintegerNumber of message handler threadsI"2"
clientAuthPolicystringThe client-side authentication policy ("none", "required", or "accepted")"none"
subscriptionManager.targetstringThe subscription manager implementation"(type=default)"
** redeliveryIntervalintegerThe interval (in milliseconds) that message re-delivery is attemptedI"1000"
** keepAliveCheckIntervalintegerThe interval (in milliseconds) that the client keep alive timeouts are checkedI"1000"
** maxActiveClientsintegerMaximum number of active client connections. Additional client connections will be rejected with "Server Unavailable".I"2147483647"
** anonymousAuthUsernamestringThe username that authorization checks should be applied to for anonymous users.
** allowEmptyClientIdbooleanWhether to allow connections from clients with no client IDB"true"
** sslHandShakeTimoutintegerSSL Handshake timeout in msI"20000"
** maxOutboundQueueSizeintegerMaximum outbound message queue sizeI"16384"

📁 com.cirruslink.chariot.security​

ParameterTypeDescriptionDefault
tokenTimeoutstringThe UI session token timeout5400000
ticketTimeoutstringThe UI session ticket timeout"3000"
defaultRealmEnabledbooleanWhether to enable the Chariot internal User realmB"true"

📁 com.cirruslink.chariot.sparkplug​

ParameterTypeDescriptionDefault
enabledbooleanEnable Chariot as an MQTT 3.1.1 compliant serverB"true"

📁 com.cirruslink.chariot.system​

ParameterTypeDescriptionDefault
chariotServerNamestringThe name of the Chariot server
httpEnabledbooleanEnable HHTP AccessB"true"
httpPortintegerPort to make HTTP availableI"8080"
httpsEnabledbooleanEnable HTTPS AccessB"false"
httpsPortintegerPort to make HTTPS availableI"8443"
keyPasswordstringThe password for keys in the KeyStore"secretpassword"
keyStoreFilestringThe Java KeyStore filename"security/ssl.jks"
keyStorePasswordstringThe Java KeyStore password"secretpassword"
trustStoreFilestringThe Java TrustStore filename"security/clientcerts.jks"
trustStorePasswordstringThe Java TrustStore password"secretpassword
chariotVersionFilestringThe file containing the Chariot version"version.properties"

📁 com.cirruslink.chariot.upload​

ParameterTypeDescriptionDefault
maxFileSizeintegerMaximum file size to upload to ChariotI"1048576"
maxMemSizeintegerMaximum memory size allocated for file uploadI"4096"
uploadFolderNamestringThe folder where the uploaded file will be placed"upload-folder"

📁 com.cirruslink.chariot.user​

ParameterTypeDescriptionDefault
encryptedPropertiesstringAll properties to be encrypted[ \ "password", \ ]
algorithmstringEncryption algorithm"SHA-512"
saltSizeintegerThe size of salt to user before hashingI"32"
hashIterationsintegerThe number of times to apply the hashing algorithmI"1"
usernameRegexstringRegex applied to username"^[a-zA-Z0-9._-]+$"
usernamePolicyMsgstringUsername Policy"May only contain alphanumeric, '.', '_', and '-' characters"