Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Anchor
top70
top70

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:


Table of Contents

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
titleBGColor#ddfade
titleserver-config.json

{

  "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:

  • "sparkElasticSearchHost": "http://localhost"
  • "sparkElasticSearchPort":"9200"
  • "sparkElasticSearchConfigIndex":"spark-jobs/kpis"
  • "sparkElasticSearchResultIndex": "spark-jobs/results"

Changes in uiConfig.json


Browse the directory - "%WORKSPACE%\devopsplatform\PlatformUI2.0\app\uiConfig.json"

Info

%WORKSPACE%  is the directory which contains Insights - Development Platform.


Add the changes in your

local

local uiConfig.json

as

 as highlighted below.

#ddfade
Panel
titleBGColor
titleuiConfig.json

{
"showInsightsTab" : true,

"showOptionsPanel" : true
}