Before you begin this step you must have an instance of the analytics module installed and running.
Caution: If you follow this process you'll destroy all the existing data.
Default dashboards import is relatively straightforward, we can do this by importing a dump to the cloud9 database.
Please download the database dump from the following link:
Copy it into /tmp folder:
cp -v ./default-dashboards.sql /tmp/.
Before start, stop the module:
- Go to the directory where is the docker-compose.yml definition
- Run:
docker-compose stop analytics
Connect to postgres and recreate the database:
sudo su - postgres
psql
drop database cloud9;
create database cloud9 with owner = 'cloud9';
Exit and connect again using cloud9 user:
psql -U cloud9 -h database.host cloud9
password:
cloud9=> \i /tmp/default-dashboards.sql;
After the database is successfully restored you can start the module again:
- Go to the directory where is the docker-compose.yml definition
- Run:
docker-compose start analytics
You should wait until the module is fully initialized.
If you take a look to the log, you should see output similar to the below:
INFO [main] org.apache.catalina.startup.Catalina.start Server startup in 20520 ms
Now the module is running, you can go to your url:
https://internal.example.com/analytics
It will redirect you to the login page, use the following credentials:
Username: defaultIriusRisk
Password: password
We strongly recommend changing the user's password
Once authenticated you will be able to see the different dashboards by default, remember that for data to be displayed your IriusRisk instance must contain projects.
IMPORTANT
Along with the default dashboard import, it also included the data source properties needed to connect with the IriusRisk database.
If the dashboards do not display any data after the process, it is likely due to a configuration issue. Therefore, you should proceed to the data source and carefully configure it according to your infrastructure.
Now you can invite more users. It is important that the new users belong to the defaultIriusRisk group, otherwise, they will not be able to see the dashboards.
Comments
0 comments
Please sign in to leave a comment.