AnalyticsWizard
The Oracle Communications Unified Assurance AnalyticsWizard sets up the Historical database for Observability, Flow, and Log Analytics. This includes starting the MySQL Replication Data Importer service, which imports event and journal data from the Event database into the Historical database.
AnalyticsWizard can also update database templates after you have added custom fields to the Event database. See Adding Custom Fields to the Event Database.
- Enable Audit Log Replication Data Importer to import user activity logs into OpenSearch. See Monitoring Unified Assurance User Activity in Unified Assurance Security Guide and Audit Log Replication Data Importer for more information.
You run AnalyticsWizard from the command line. When configuring the Historical database, you can run it interactively, or headlessly, using the --No-Prompt option described in Administration Details.
You typically run AnalyticsWizard during the initial Unified Assurance setup. You can also run it later, to enable audit logging, or to add new servers to an existing Historical database cluster. When adding new servers:
-
Before running AnalyticsWizard:
-
Confirm that the Historical database cluster is in green or yellow status:
-
From the main navigation menu, select Analytics, then Events, then Administration, and then Console.
-
Enter the following request in the console and click the arrow to run the request:
GET _cluster/healthThe response should contain "status": "green" or "status": "yellow".
-
-
-
After running AnalyticsWizard:
-
Increase the number of replicas for indexes. See Increasing Replicas for Indexes.
-
If you also have an existing microservice cluster, update the configmap for the microservice cluster. See Updating Microservice Cluster Configurations.
-
Administration Details
The following list shows the technical details you will need for advanced administration of the application:
-
Package: historicalProcessing-app
-
Synopsis:
./AnalyticsWizard [OPTIONS] -
Options:
-
Use the following options to run AnalyticsWizard headlessly when setting up the Historical database:
-
--No-Prompt: Set this option to allow AnalyticsWizard to configure the Historical database headlessly. If you do not specify --ClusterName and either --Heap Size or --HeapPercentage, the default values are used. Appropriate servers are automatically selected for the OpenSearch components, including the UI, database, and MySQL Replication Data Importer. -
--HeapSize: Set this to an integer to specify the heap size, in GB, to use for the Historical database. If not specified, the default value of 30 percent of system memory is used. Set either this or --HeapPercentage, not both. -
--HeapPercentage: Set this to an integer to specify percentage of total memory to use for the Historical database. If not specified, the default value of 30 percent of system memory is used. Set either this or --HeapSize, not both. -
--ClusterName: Set this to a string to specify the name to use for the Historical database cluster. If not specified, the default value of opensearch-pri is used for a primary cluster and opensearch-sec is used for a secondary cluster.
-
-
--Update-Templates: Set this option to allow AnalyticsWizard to update the database templates after you have added custom fields to the Event database. -
--Finalize-Update: This option was used for upgrades to version 6.1.1, when migrating the Historical database. It is no longer used. -
--Mode: Set this option to one of the following, to specify the installation mode. Supported values are standard and auditlog. If not specified, the default value of standard is used.-
standard: Installs the Analytics UI, the Historical database, and the MySQL Replication Data Importer. This value is used if you do not set the --Mode option.
-
auditlog: Installs only the Audit Log Replication Data Importer.
-
-
?, -h, --Help: Print usage and exit
-
-
Threaded: Single Threaded