Before you begin
Pre-requisites:
You have to configure
CentraSite
to communicate with
API Gateway
before you select the events for publishing to
CentraSite.
About this task
You have to configure the
CentraSite
destination so that events and performance metrics data of APIs in
API Gateway
can be published to
CentraSite.
However, you will be able to publish the data to
CentraSite
destination only for APIs published from
CentraSite
to
API Gateway.
To configure events for
API Gateway
destination
Procedure
-
Expand the menu options icon
, in the title bar, and
select
Administration.
-
Select
Destinations.
-
Select
CentraSite > Events to configure the
event types for this destination.
-
In
Event types, select the type of events that
you want
API Gateway
to publish to
CentraSite.
The available event types are:
- Error: Occurs each time an API
invocation results in an error.
- Lifecycle: Occurs each time
API Gateway
is started or shut down.
- Policy violation: Occurs each time an
API invocation violates the policy enforcement that was set for the API.
-
Select
Report performance data to publish
performance metrics data.
-
In the
Publish interval box, enter a time interval
(in minutes) to specify how often
API Gateway
must publish performance metrics. Enter a value from 1 through 60. The default
is 60 minutes.
-
Click
Save.
What to do next
Post-requisites:
After performing the event configurations, select
CentraSite as a
Destination in the
Policy Properties page for each policy, to
publish the transaction and monitoring event logs for the assigned policies.
API Gateway
sends these events to
CentraSite
through SNMP.
Important: As a best practice,
Software AG recommends you not to use the
CentraSite
destination for transaction events with large data payloads. This is because,
the SNMP server using which the events are published from
API Gateway
to
CentraSite
does not handle transaction events with large data payloads.