...
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 | Server Configuration Without Vault |
---|
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. |
Introduction :
This is most important file in Insights Application which contain all necessary configuration to run product
Configuration from UI :
Go to section Configuration –> server configuration
Update all value and save the record
check mandatory field in Mandatory Fields/Sections mentioned below
...
Expand | |||||||
---|---|---|---|---|---|---|---|
| |||||||
Sample Server Config Json file
|
Expand | |||||
---|---|---|---|---|---|
| |||||
|
Expand | ||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| ||||||||||||||||
|
Expand | ||
---|---|---|
| ||
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" | autheticationProtocol- This property is used to set particular authentication protocol . For Native Grafana use "NativeGrafana", For SAML use "SAML"
]
} |
Make sure that isVaultEnable = true with correct vault token, Vault is started and unsealed
Start Tomcat application
Login Insights UI with basic grafana credential using user ‘admin’ most probably password is ‘admin’
On successful login, It will load server configuration on UI, do the respective changes copy detail from your backup server config
Save the changes, It will store all your configuration in vault in encrypted format
If you want to edit any field in server configuration then use Insights UI
With Native Grafana authentication there is no need to restart tomcat, it automatically loads server config changes.
In case of SSO, initial login will be with initial grafana credential, do respective changes and restart tomcat.
Info |
---|
Upgrade Agent Changes with Vault |
If existing application have agent configured with vault then it is mandatory to upgrade it using following steps
Login to Insights UI , go to Agent Configuration
Changes Agent version >= 7.3
Update all your secret again so that it will store in new vault
Restart agent
New Agent Registration will affect with these changes
Expand | ||||
---|---|---|---|---|
| ||||
Another way is to configure server config directly on file system INSIGHTS_HOME\.InSights\server-config.json and restart tomcat and other services |
Expand | ||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| ||||||||||||||||||||||||||||||||||
|
...