Configuring output plugins for analytics offload
In API Connect version 2018.3.7, and later, you can configure output plugins for third-party systems by editing the outputs.yml and offload_output.conf files. In earlier versions, you can configure output plugins for third-party systems in the logstash.conf file to offload the analytics data for API Connect. The output plugins point to one of the following target systems: HTTP, Elasticsearch, Kafka, and Syslog servers. The output plugin for displaying analytics data in the API Manager is included by default.
About this task
Location of customization within logstash.conf file | Type of customization | Customization with new configuration files |
---|---|---|
input | Any customizations | This was unsupported in the previous versions and remains unsupported. |
filter | Enable geoip | In the install/upgrade section of the
extra_values.yaml file, set the
apic-analytics-ingestion.geoIpEnabled value to true. |
filter | Additions to the pipeline (pre-apiconnect changes) | Add these to the 49_apic_filter.conf file. |
filter | Additions to the pipeline (post-apiconnect changes) | Add these to the 69_apic_filter.conf file. |
output | Disable the API Connect native analytics storage. | Set apic_output_enabled to the value of false in the
outputs.yml or set apic-analytics-ingestion.outputApicEnabled
to false in the install/upgrade section of the
extra_values.yaml file. |
output | Add offload configuration | Complete one of the following procedures to add the offload configuration:
|
One of the following roles is required to configure the output plugins for analytics offload:
- Administrator
- Topology Administrator
- Owner
- A custom role with the
topology:manage
permission
Output plugins control the analytics data offload to both the API Manager or to a third-party system. The data will be offloaded to the output plugins that are configured in the offload_output.conf file.
If you are using SSL to secure the communications between API Connect and your offload endpoint, then you will need to include a path to a file containing a list of trusted certificates. Both KeyStore and PEM bundles are available.
Keystore: `/usr/lib/jvm/jre/lib/security/cacerts`
passphrase: `changeit`
type: `JKS`
cacert: `/etc/pki/tls/cert.pem`
Procedure
Complete the following steps to configure analytics offload for your cloud: