Configuration files for analytics offload customization
Beginning with API Connect version 2018.3.7, settings for analytics offload customization are maintained in the offload_output.conf, 19_filter.conf, 39_filter.conf, 49_apic_filter.conf, and 69_apic_filter.conf files.
outputs.yml file
The outputs.yml file is where you set the values for enabling and disabling the settings for where your analytics events are maintained. You can offload the data to a third-party collection repository, maintain the data on the API Connect internal collection repository, enable both methods to collect the data internally and externally, or disable them both to collect no analytics data. To enable the offloading of data, the value for the offload_output_enabled setting must be set to true. If the offload_output_enabled is set to false, no data is offloaded to an external repository. To maintain the data in the internal API Connect analytics data collection repository, the apic_output_enabled setting must be set to true.
apic_output_enabled: true
offload_output_enabled: falseoffload_output.conf file
You can specify outputs in the offload_output.conf file to identify which API events that you want to offload. The API events that are not offloaded are either collected in the API Connect if internal analytics data collection is enabled, or discarded if it is not enabled.
output {
if "apicapievent" in [tags] {
}
}19_filter.conf
filter {
if "apicapievent" in [tags] {
}
}39_filter.conf
filter {
if "apicapievent" in [tags] {
}
}49_apic_filter.conf
filter {
if "apicapievent" in [tags] {
}
}69_apic_filter.conf
You can specify filters in the 69_apic_filter.conf file to that apply to the data after it is filtered according to the settings in the 19_filter.conf file, the 39_filter file, and the 49_apic_filter.conf file. The filter settings in this file only affect the analytics data that is stored on the internal API Connect analytics data collection. It cannot be used to filter offloaded data.
You can filter the events in this file based on the event record fields that are described in API event record fields.
filter {
if "apicapievent" in [tags] {
}
}