In order to run Insights Inference, there are changes that should be made in server-config.json, and uiConfig.json. Please adhere the following instructions, and make respective changes -
Panel | |
---|---|
On this page:
|
Changes in server-config.json
Browse the following directory inside your Insights Installation directory -
.\Server2\.InSights\server-config.json
or
%INSIGHTS_HOME%\.InSights\serverconfig.json
Info |
---|
%INSIGHTS_HOME% is the path that is set as Environment Variable. |
Add the changes in your local server-config.json as highlighted below.
Panel | ||||
---|---|---|---|---|
| ||||
{ "endpointData": { "elasticSearchEndpoint": "http://localhost:9200" }, "sparkConfigurations": { "appName" : "inSights", "master" : "local[*]", "sparkExecutorMemory" : "8g", "sparkElasticSearchHost": "http://localhost", "sparkElasticSearchPort": "9200", "sparkElasticSearchConfigIndex": "", "sparkElasticSearchResultIndex": "", "kpiSize": "30", "sparkResultSince": 5, "sparkMasterExecutionEndPoint":"http://localhost:4040" }, ... ... ... |
Panel |
---|
Attributes of Spark Configurations: For instance, if the KPIs have been added into Elasticsearch at the following URL - http://localhost:9200/spark-jobs/kpis, and the results at - http://localhost:9200/spark-jobs/results. Then the attributes shall be the following way:
|
Changes in uiConfig.json
Browse the directory - "%WORKSPACE%\devopsplatform\PlatformUI2PlatformUI3.0\app\uiConfig.json"
Info |
---|
%WORKSPACE% is the directory which contains Insights - Development Platform. |
Add the changes in your local uiConfig.json as highlighted below.
Panel | ||
---|---|---|
| ||
{ " showInsightsTabshowBusinessMapping": true, "agentsOsList": { } |