...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
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 Insights Spark 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. |
Info |
---|
server-config.json file is present at "%INSIGHTS_HOME%" environment variable path location. |
...
Click the following link to check sample of server-config.json file -
...
title | server-config.json |
---|
...
Code Block | ||
---|---|---|
| ||
{ "endpointData":{ |
...
"elasticSearchEndpoint":"http://localhost:9200" |
...
}, |
...
"queryCache": |
...
{ "esCacheIndex":"neo4j-cached-results/querycacheresult" |
...
}, |
...
"emailConfiguration":{ |
...
"sendEmailEnabled":true, |
...
"smtpHostServer":"", |
...
"smtpPort":"", |
...
"smtpUserName":"" |
...
, "smtpPassword":"", |
...
"isAuthRequired":true, |
...
"smtpStarttlsEnable":true, |
...
"emailVelocityTemplate":"", |
...
"mailFrom":" ", |
...
"mailTo |
...
":" ", "subject":"QA - Insights inference details", |
...
"logo":"img/Insight.svg", |
...
"line":"img/Line.svg", |
...
"footerLogo":"img/FooterLogo.svg" |
...
}, |
...
"graph": |
...
{ "endpoint":"http://localhost:7474", |
...
"authToken":"", |
...
"boltEndPoint":"bolt://localhost:7687", |
...
"maxIdleConnections":25 |
...
}, |
...
"grafana":{ |
...
"grafanaEndpoint":"http://localhost:3000" |
...
, "grafanaDBEndpoint":"jdbc:postgresql://localhost:5432/grafana", |
...
"adminUserName":"", |
...
"adminUserPassword":"", |
...
"dbUserName":"", |
...
"dbPassword":"" |
...
}, |
...
"postgre": |
...
{ "userName":"", |
...
"password":"", |
...
"insightsDBUrl":"jdbc:postgresql://localhost:5432/insight", |
...
"grafanaDBUrl":"jdbc:postgresql://localhost:5432/grafana" |
...
}, |
...
"messageQueue":{ |
...
"host":"localhost" |
...
, "user":"", |
...
"password":"", |
...
"prefetchCount":5 |
...
}, |
...
"agentDetails":{ |
...
"isOnlineRegistration":true, |
...
"onlineRegistrationMode":"nexus |
...
", "browseRepoUrl":"https://infra.cogdevops.com:8443/nexusrepo/service/rest/repository/browse/docroot/insights_install/release/", |
...
"downloadRepoUrl":"https://infra.cogdevops.com:8443/repository/docroot/insights_install/release/", |
...
"nexusUserName":"", |
...
"nexusPassword":"", |
...
"docrootUrl":"https://platform.cogdevops.com//insights_install/release", |
...
"offlineAgentPath":"D:\\Project\\Insights\\InSights_Windows\\Agents\\offlineAgent" |
...
, "unzipPath":"D:\\Project\\Insights\\InSights_Windows\\Agents\\PlatformAgents\\unzip", |
...
"agentExchange":"iAgent", |
...
"agentPkgQueue":"INSIGHTS.AGENTS.PACKAGE" |
...
}, |
...
"correlations":{ |
...
"correlationWindow":48, |
...
"correlationFrequency":3 |
...
, "batchSize":2000 |
...
}, |
...
"schedulerConfigInMin":{ |
...
"auditEngineInterval":60, |
...
"webhookEngineInterval":10, |
...
"engineAggregatorModuleInterval":10, |
...
"engineCorrelatorModuleInterval":60 |
...
, "projectMapperModuleInterval":10, |
...
"dataPurgingExecutorInterval":300, |
...
"offlineDataProcessingExecutorInterval":10, |
...
"inferenceJobExecutor":20, |
...
"dataArchivalEngineInterval":240 |
...
}, |
...
"singleSignOnConfig" |
...
:{ "entityId":"", |
...
"appId":"", |
...
"metadataUrl":"", |
...
"metdataFilePath":"", |
...
"keyStoreFilePath":"C:\\InSights_Windows\\Server2\\INSIGHTS_HOME\\.InSights\\saml-keystore.jks", |
...
"keyAlias":"mykeyalias |
...
", "keyPass":"mykeypass", |
...
"keyStorePass":"samlstorepass", |
...
"appBaseUrl":"baseURL", |
...
"relayStateUrl":"relayStateUrl", |
...
"defaultTargetUrl":"defaultTargetUrl", |
...
"postLogoutURL":"logoutURL", |
...
"tokenSigningKey":"insights_IDP_CogDevops_SSO_Token_string", |
...
"servicePrincipalKerberos":"", |
...
"keyTabLocationKerberos":"C:\\InSights_Windows\\Server2\\INSIGHTS_HOME\\.InSights\\kerberos_keytab_file.keytab" |
...
}, |
...
"trustedHosts":[ |
...
"localhost", |
...
"hostip" |
...
], "vault":{ |
...
"vaultEndPoint":"http://localhost:3000/v1/", |
...
"secretEngine":"", |
...
"vaultToken":"" |
...
}, |
...
"assessmentReport":{ |
...
"outputDatasource":"NEO4J" |
...
, "maxWorkflowRetries":3, |
...
"fusionExportAPIUrl":"http://localhost:1337/api/v2.0/export" |
...
}, |
...
"workflowDetails":{ |
...
"corePoolSize":8, |
...
"maximumPoolSize":20, |
...
"keepAliveTime": |
...
20, "waitingQueueSize":10, |
...
"workflowExecutorCron":"1 0 0 * * ?", |
...
"workflowRetryExecutorCron":"0 0 */4 ? * *" |
...
}, |
...
"insightsServiceURL":"http://localhost:8080", |
...
"insightsTimeZone":"Asia/Kolkata", |
...
"userId":"" |
...
, "password":"", |
...
"refreshTime":"Jan 22, 2017 5:04:25 PM", |
...
"enableOnlineDatatagging":true, |
...
"enableAuditEngine":true, |
...
"enableWebHookEngine":true, |
...
"enableDataArchivalEngine":false, |
...
"enableOnlineBackup":false, |
...
"autheticationProtocol":"NativeGrafana", |
...
"pdfkey":"" |
...
} |
Components of server-config.json
...
Panel | ||||||||
---|---|---|---|---|---|---|---|---|
|
...
|
...
|