Anchor
Tip |
---|
This is the most important configuration file in Insights product. It is required to run WAR file, Platform engine jar as well as Report jar. It is important to keep the server-config.json updated with the latest changes. Find the various components of server-config.json on this page. |
...
title | Sample Server Config Json file |
---|
Info |
---|
server-config.json file is present at "%INSIGHTS_HOME%"\.InSights environment variable path location. |
Sample Server Config Json file
...
language | json |
---|
...
Anchor | ||||
---|---|---|---|---|
|
Tip |
---|
This is the most important configuration file in Insights product. It is required to run WAR file, Platform engine jar as well as Report jar. It is important to keep the server-config.json updated with the latest changes. Find the various components of server-config.json on this page. |
Expand | |||||||
---|---|---|---|---|---|---|---|
| |||||||
Sample Server Config Json file
|
...
title | Components of server-config.json |
---|
...
Component
...
Significance
...
"endpointData": {
"elasticSearchEndpoint": "http://localhost:9200"
}
...
endpointData - It has the configuration for Elaticsearch database.
elasticSearchEndpoint - It is the server path, where Elasticsearch database is hosted.
...
"sparkConfigurations": {
"appName" : "inSights",
"master" : "local[*]",
"sparkExecutorMemory" : "8g",
"sparkElasticSearchHost": "http://localhost",
"sparkElasticSearchPort": "9200",
"sparkElasticSearchConfigIndex": "spark-jobs-conf/configs",
"sparkElasticSearchResultIndex": "spark-jobs-conf/kpiresults",
"kpiSize": "30",
"sparkResultSince": 5,
"sparkMasterExecutionEndPoint":"http://localhost:4040"
}
...
sparkConfigurations - This section has the configurations for Insights Inference Engine. This is an optional section, however, it is must for running Insights Inference Engine and to show messages on UI (server-config.json where tomcat is running).
appName - It refer to the application name.
master - It specifies the master URL for a distributed cluster, or local to run locally with as many worker threads as logical cores on your machine.
sparkExecutorMemory - It specifies the memory that should be allocated for Spark execution.
sparkElasticSearchHost - It is host name of Elaticsearch where Spark executions would be made.
sparkElasticSearchPort - It is the port number of Elasticsearch.
sparkElasticSearchConfigIndex - it is the index on Elasticsearch, where Insights Inference - KPIs are configured and stored.
sparkElasticSearchResultIndex - It is the index on Elasticsearch, where the calculated results from Insights Inference
Engine is stored.kpiSize - It is the number of results that would be consumed by Insights Inference Engine for calculation.
sparkResultSince - It is the number of previous results that has to be considered for Inferences calculation.
sparkMasterExecutionEndPoint - It is host, where Apache Spark tracks the Insights Inference - KPI jobs.
...
"ldapConfiguration": {
"ldapUrl" : "ldap://ldaphost:389",
"bindDN": "BindDN",
"bindPassword": "Passwd",
"searchBaseDN": "DC=XX,DC=XX",
"searchFilter": "(sAMAccountName={0})",
"ldapAttributes": {
"name": "givenname",
"surname": "sn",
"memberOf": "",
"email": "mail",
"username": "sAMAccountName"
}
}
ldapConfiguration - This section has the configuration for LDAP/AD connectivity. This is an optional section(Only if LDAP/AD needs to be configured with Insights Application).
...
ldapUrl - It is the URL to connect LDAP/AD server
...
bindDN - The bindDN is the credential that is used to authenticate against an LDAP connection.
...
bindPassword - It is the password for the corresponding bindDN credential.
...
searchBaseDN - It defines the location in the directory from which the LDAP search begins.
...
searchFilter - It is the filter applied on searchBaseDN.
...
|
Expand | ||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| ||||||||||||||||||||||||||||||
|
...