--- title: "Cato API - EventsFeed (Large Scale Event Monitoring)" slug: "cato-api-eventsfeed-large-scale-event-monitoring" updated: 2026-11-02T18:24:30Z published: 2026-11-02T18:24:30Z canonical: "knowledge.catonetworks.com/cato-api-eventsfeed-large-scale-event-monitoring" --- > ## Documentation Index > Fetch the complete documentation index at: https://knowledge.catonetworks.com/llms.txt > Use this file to discover all available pages before exploring further. # Cato API - EventsFeed (Large Scale Event Monitoring) We strongly recommend that before you start using the Cato API, please review the [Support Policy for the Cato API](/v1/docs/support-policy-for-the-cato-api). ## Overview of eventsFeed The eventsFeed query helps you analyze events generated by activities related to networking, security, Sockets, Cato Clients, and more. The event data that this query returns is similar to the **Monitoring > Events** page in the Cato Management Application. For reseller accounts, you can create separate API keys inside each customer account that you are connecting to the Cato API. For more about rate limiting and the eventsFeed API query, see [Understanding Cato API Rate Limiting](/v1/docs/understanding-cato-api-rate-limiting). ## Understanding Fetched Events The eventsFeed API call is designed for high-volume analysis and monitoring of events in your account. The data for this API query is updated in near real-time. Cato stores event data for the previous three days. Every 24 hours, data that is older than three days is deleted. When there are more than 3000 events in the API server queue, the results are paginated. This lets you iteratively fetch events until they reach the end of the queue. These fields are related to the pagination for the events: marker, and fetchedCount. See below for explanations of these fields. ## Enabling eventsFeed for Your Account Enable your account to send events to the Cato API server from the Integrations Catalog. After you enable eventsFeed, wait about 30 minutes for the API server to collect enough events to return data for the query. ![](https://cdn.document360.io/81d0367c-2b69-4ba8-b412-1c8f46ce677e/Images/Documentation/image(296).png?sv=2026-02-06&spr=https&st=2026-11-15T11%3A56%3A00Z&se=2026-11-15T12%3A56%3A00Z&sr=c&sp=r&sig=e28Af%2BnHncmDre2CcZ4IE7%2B8TJrLeGCXsBbgPoW20xo%3D) **To enable eventsFeed for your account:** 1. In the navigation pane, select **Resources > Integrations** and click the **Configured Integration** tab. 2. From the drop-down, select **Data Pull (Event Feed API)**. 3. Add a name and click **Save**. ## Details for the eventsFeed Fields These are the details that the eventsFeed fields can show for the query: - marker - The marker field is a unique identifier for the last event that the API query returned - fetchedCount - number of events fetched (maximum 3000 events per fetch) - accounts (eventsFeedAccountRecords) - event data for the account (array with nested queries and fields) ## eventsFeed Marker When there are more than 3000 events in the API server queue, the Marker field shows an identifier that indicates the start of a new iteration to fetch events. For example, if the query returns 7500 events, then these are the results over the fetch iterations: - first iteration - fetchedCount = 3000 (events), marker = 1234abc - second iteration - fetchedCount = 3000 (events), marker = 4567def - third iteration - fetchedCount = 1500 (events), marker = 8901xyz You can ignore the marker value for the final iteration Markers can point to the events queue for up to the previous three days. ## eventsFeed fetchedCount The fetchedCount field shows the total number of events in the current fetch action. The maximum value for this field is 3000. ## eventsFeed Accounts The Accounts (eventsFeedAccountRecords) fields show the account IDs and event data for this query. Use the eventsFeedAccountsRecords > EventRecord > EventFieldName argument to filter the event data that is displayed for the query. For more about the EventRecords, see [Cato API - EventsFeed > EventRecord](/v1/docs/cato-api-eventsfeed-eventrecord-large-scale-event-monitoring). ### eventsFeed > records > EventFieldName For more information about the EventFieldName enum values for the different types of events, see the [Cato Networks GraphQL API Reference](https://api.catonetworks.com/documentation/#definition-EventFieldName). ## Arguments for the eventsFeed These are the arguments that you can pass and define the data that is returned by the query: - accountIDs - account IDs (for multiple accounts, enter the IDs as an array) - filters (EventFieldFilterInput) - filter the event and audit log data that is queried (array with nested queries) - marker - only show events for a specific fetch iteration according to the marker value ## eventsFeed ID Argument Enter one or more Cato account IDs for the data that the query returns. This argument is mandatory. This account ID isn't shown in the Cato Management Application, instead it is the number in the URL for the Cato Management Application. For example, the account ID is 26 for the following URL: https://cc2.catonetworks.com/#!/**26**/topology. ## eventsFeed filters Argument The filters (EventFieldFilterInput) argument lets you define the specific events that are included in the query. These are the arguments you can define: - fieldName > EventFeedFilterFieldName - define the event type or subtype from Event Discovery - operator - define how to activate the values to filter the event data - values - define the filter value that is used with the operator The following filter syntax is an example of a query that is filtered to show event types with the value **Security**: ```plaintext "filters": [ { "fieldName": "event_type", "operator": "is", "values": ["Security"] } ] ``` The following filter syntax is an example of a query that is filtered to only show event subtypes with the value **Internet Firewall**: ```plaintext "filters": [ { "fieldName": "event_sub_type", "operator": "is", "values": ["Internet Firewall"] } ] ``` ## eventsFeed marker Argument The marker argument is mandatory and lets you limit the query to the events for a specific fetch iteration. For example, if the query returns 10500 events, then these are the results over the first three fetch iterations: - first iteration - fetchedCount = 3000 (events), marker = 1234abc - second iteration - fetchedCount = 3000 (events), marker = 4567def - third iteration - fetchedCount = 3000 (events), marker = 8901xyz To show only the events in the second iteration, set the marker argument to **4567def**. To fetch all the queued events, run the query with an empty marker argument (marker:"") with the initial GraphQL query.