---
schema_version: "1"
id: 3c62c65cdf3a842752d2a314b38dea999e62dcc3175bdcd6f44ec3d2404c4cb4
title: Forward Mule API Analytics Events to External Systems
collection: mulesoft
version: current
locale: en-us
portal_url: https://docs.salesforce.com/mulesoft/current/en-us/api-manager/latest/analytics-event-forward.md
canonical_url: https://docs.mulesoft.com/api-manager/latest/analytics-event-forward
source_site: docs.mulesoft.com
content_type: documentation
content_hash: efe4becdebae9e5e7563a50e238a4e8494fd0118664ae7f02b01871f7972f0b2
description: MuleSoft Documentation Site
release: 2.x
latest: true
---
---
product: API Manager
version: 2.x
is-latest-version: true
---

# Forward Mule API Analytics Events to External Systems

> For the full documentation index, see: https://docs.mulesoft.com/llms.txt

Mule API Analytics event forwarding sends API traffic telemetry to third-party analytics, security,
or operations tools when built-in views are not enough. You can pull events on a schedule with the
Analytics Event API within its retention and throttling rules, configure gateways to POST
GZIP-compressed batches to an HTTPS endpoint you operate, or export through Runtime Manager
integrations. If gateways post only to your endpoint and skip Anypoint Platform ingestion, Mule API
Analytics and API Manager no longer show those calls, so decide visibility requirements before you
rely on that path.

## Paths to export Mule API Analytics events

- Use the [Analytics Event API](https://docs.mulesoft.com/api-manager/latest/analytics-event-api) to pull data on demand. The API enforces limits
  on how often and how many events you can retrieve, and events can arrive up to ten minutes after
  they occur.

- Forward Mule API Analytics events from the gateway to a configured HTTP endpoint. On CloudHub, set
  the `anypoint.platform.analytics_base_uri` gateway property from the **Settings** tab of Runtime
  Manager.

  This property sets the base URL where events are posted.

![Event forwarding configuration in Runtime Manager](/mulesoft/current/en-us/api-manager/latest/_images/analytics-event-forwarding.png)

In the example above, events are published to `http://<your-address-here>/v2/analytics/events` using
the POST method and GZIP for compression.

This approach can skip publishing events to Anypoint Platform, so Mule API Analytics and API Manager
do not display information about those API calls.

- Use Runtime Manager to
  [Export Data to External Analytics Tools](https://docs.mulesoft.com/runtime-manager/sending-data-from-arm-to-external-analytics-software).

## See Also

- [Generate Mule API Analytics Reports with the Event API](https://docs.mulesoft.com/api-manager/latest/analytics-event-api)
