- Created by Akshay Sharma (Unlicensed) , last modified by Gaurav on Dec 22, 2020
You are viewing an old version of this page. View the current version.
Compare with Current View Page History
« Previous Version 51 Next »
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.
server-config.json file is present at "%INSIGHTS_HOME%"\.InSights environment variable path location.
Sample Server Config Json file
{ "vault":{ "isVaultEnable":false, "vaultEndPoint":"http://localhost:3000/v1/", "secretEngine":"", "vaultToken":"" }, "grafana":{ "grafanaEndpoint":"http://localhost:3000", "grafanaDBEndpoint":"jdbc:postgresql://localhost:5432/grafana", "adminUserName":"", "adminUserPassword":"" }, "trustedHosts":[ "localhost" ], "graph":{ "endpoint":"http://localhost:7474", "authToken":"", "boltEndPoint":"bolt://localhost:7687", "maxIdleConnections":25 }, "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/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" }, "endpointData":{ "elasticSearchEndpoint":"http://localhost:9200" }, "queryCache":{ "esCacheIndex":"neo4j-cached-results/querycacheresult" }, "emailConfiguration": { "sendEmailEnabled": false, "smtpHostServer": "", "smtpPort": "", "smtpUserName": "", "smtpPassword": "", "isAuthRequired": true, "smtpStarttlsEnable": true, "mailFrom": "onedevops@cogdevops.com", "mailTo": "", "subject": "Health Status - {TimeOfReportGeneration}", "emailBody": "Hi Team, Attaching the report File", "systemNotificationSubscriber": "" }, "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" }, "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 ? * *" }, "mlConfiguration":{ "h2oEndpoint":"" }, "insightsServiceURL":"http://localhost:8080", "insightsTimeZone":"UTC", "userId":"", "password":"", "refreshTime":"Jan 22, 2017 5:04:25 PM", "enableOnlineDatatagging":true, "enableAuditEngine":true, "enableWebHookEngine":true, "enableDataArchivalEngine":false, "enableOnlineBackup":false, "autheticationProtocol":"NativeGrafana", "pdfkey":"", "applicationLogLevel": { "updateLevelTransitiveDependency": false, "serviceLogLevel": { "PlatformService": "DEBUG", "PlatformEngine": "DEBUG", "PlatformReport": "DEBUG", "PlatformRegressionTest": "DEBUG" } } }
Component | Significance |
---|---|
"endpointData": { |
|
"sparkConfigurations": { |
|
"ldapConfiguration": { |
|
"graph": { |
|
"grafana": { |
|
"postgre": { |
|
"messageQueue": { } |
|
"agentDetails": { "docrootUrl": "https://infra.cogdevops.com:8443/repository/docroot/insights_install/release", } |
|
"queryCache": |
|
"insightsServiceURL": "https://localhost:8080" |
|
"disableAuth": false |
|
"enableNativeUsers": true |
|
"insightsTimeZone": "US/Central" |
|
"enableOnlineDatatagging": true |
|
"enableOnlineBackup": true |
|
"autheticationProtocol":"NativeGrafana" |
|
- No labels