Step - by - step guide on how to Install Insights Enterprise - Auditing Module.
Step 1 : INSIGHTS_HOME environment variable:
Ensure that the INSIGHTS_HOME environment variable is set, if not set it using the following commands(for RHEL)
- export INSIGHTS_HOME=/usr/INSIGHTS_HOME (change the directory accordingly)
or
- vi /etc/environment
- Add the line: INSIGHTS_HOME=/usr/INSIGHTS_HOME (change the directory accordingly)
- save the file
- Run the command: source /etc/environment
Step 2 : Configuration:
Copy the blockchainConfig.json from PlatformAuditing/src/main/resources/ into $INSIGHTS_HOME and make the necessary changes
Refer here for sample blockchainConfig,json