search cancel

Spectrum SSAPI getEventListByAttrFilter throttling

book

Article ID: 230099

calendar_today

Updated On:

Products

CA Spectrum

Issue/Introduction

the SSAPI method "getEventListByAttrFilter" returns events in sets to 10,000 events 

Is there a way to increase this throttling or is this hard-coded?

This takes more than 2 hours because there are ~3.2 million events in this time frame and the event retrieval process is very slow - it takes between 20 to 40 seconds for each event set.

Retrieving these events via mysql directly takes a few seconds, so there's a huge performance gap between using the SSAPI versus direct mysql queries.

Environment

Release :

Component :

Resolution

That's a CORBA API for retrieving the events. Default limit is hard-coded to 10007.

 You can change it through configrc option 

record_search_limit= 

Additional Information

https://techdocs.broadcom.com/us/en/ca-enterprise-software/it-operations-management/spectrum/21-2/programming/development-api-reference/event-management-in-ca-spectrum.html