API Connect on VMware
An overview of the analytics VM, and how to configure analytics features.
Analytics data storage
The disk size for analytics data is specified at installation when you deploy your analytics OVA file, see Deploying the analytics subsystem OVA file.
Managing the analytics subsystems VMs
apicup subsys set <analytics subsystem> <key> <value>Other
analytics settings are configured in a YAML file that is called
analytics-extra-values.yaml, see Analytics extra-values file.- Use an SSH client to login as the
apicadmuser:ssh apicadm@<analytics VM FQDN> - If you need root user access,
sudoto root:sudo -i
Analytics extra-values file
- Logstash persistent queue
- Offload to third-party systems
- Customizing data with ingestion filters
- Disable local storageNote: If you want to disable local storage, you must configure it before installation. You cannot change this setting after installation.
To create and apply the analytics-extra-values.yaml file, follow these steps:
- Create a file called analytics-extra-values.yaml in your project directory.
- The analytics-extra-values.yaml contains a single object called
spec. Set the first line of the file to:
Define your analytics features inside thespec:specobject. Use 2 spaces for indentation. For example, to disable local storage, set your analytics-extra-values.yaml as follows:spec: external: offload: # enable offload to third-party system enabled: true output: | http { url => "example.com" http_method => "post" codec => "json" content_type => "application/json" headers => { "x-acme-index" => "8" "x-acme-key" => "0d5d259f-b8c5-4398-9e58-77b05be67037" } id => "offload_http" storage: enabled: false # disable local storageNote: You can define one or more analytics features in thespecobject. Do not leave the analytics-extra-values.yaml with an emptyspecsection. - Use the apicup command to assign your
analytics-extra-values.yaml file to the
extra-values-fileproperty:apicup subsys set <analytics subsystem> extra-values-file analytics-extra-values.yamlNote: Ifextra-values-fileis already set to analytics-extra-values.yaml, you do not need to rerun this command every time you edit analytics-extra-values.yaml. - Apply the analytics-extra-values.yaml file to your analytics subsystem with
apicup
install:
apicup subsys install <analytics subsystem>Warning: Do not apply an empty analytics-extra-values.yaml file, or one that contains just thespec:line.
Configuring management-ca for analytics subsystem
To enable engagement email destination functionality in the analytics subsystem on an OVA stack, complete the following steps to make the Management CA available:
- Run the following commands to extract the required certificates:
apicup certs get <management-cluster-name> platform-api -t cert > platform-api.crt apicup certs get <management-cluster-name> platform-api -t key > platform-api.key apicup certs get <management-cluster-name> platform-api -t ca > platform-api-ca.crt - Run the following command to set the extracted certificates:
apicup certs set <analytics-subsystem-name> mgmt-platform-api platform-api.crt platform-api.key platform-api-ca.crt - After setting the certificates, install the Analytics subsystem:
apicup subsys install <analytics-subsystem-name>
Firewall requirements
Your analytics VMs must be reachable on the ports that are described in API Connect firewall requirements.
Analytics subsystem TLS certificates
No certificate-related sysadmin operations are normally required on your analytics VMs. The analytics subsystem has no user-facing certificates. For more information about certificates on VMware deployments, see API Connect TLS certificates best practices.