Hi Charles,
Thanks for the response, but we have an external gateway DB.
And, using audit sink means to create another external db which might be a performance impact on the gateway.
Because, gateway would then start writing audits in 2 DBs for every service execution.
What I am thinking is to have a Replica of my gateway DB, which will be in sync with gateway DB.
And I can create a Gateway Service to query this Replica DB, for audit details.
This way, I would not be creating any impact on my gateway DB with my sql queries and I can play with Replica DB.
Kindly let us know your point of view on this,
Regards,
Amit Jaiswal
Original Message:
Sent: 12-18-2019 03:37 PM
From: Charles L
Subject: CA API Gateway Monitoring : Monitor Error Logs & Trigger Alert Email
If you are looking to do this on 1 specific error and an audit which is written to the local db. You could simply revise a kb (and policy we have) which montiors for the audit message of certificate expiration. You do this in a audit sink policy.
Here is 1 sample communities post on it.
https://community.broadcom.com/communities/community-home/digestviewer/viewthread?MID=755709
Charlie
Original Message:
Sent: 11-21-2019 07:44 AM
From: Amit Jaiswal
Subject: CA API Gateway Monitoring : Monitor Error Logs & Trigger Alert Email
Hi,
We have a requirement to Monitor a Particular kind of error in Audit Logs, consolidate them and send email.
It is like checking the frequency of such errors in a particular timeframe and report it to business.
This should be an automated process.
I could not find any in-built mechanism for such monitoring in CA API Gateway.
1. Is this possible inside CA API Gateway ?
2. Shall we use an external monitoring tool, free or paid, any idea which one is good ?
3. Shall we write a job/service to poll Audit data from Gateway MySQL database, consolidate and send email ?
Please advise.