Cato Networks Integration for Elastic

Version 0.5.0 (View all)
Managed integration release status
Subscription level
What's this?
Basic
Developed by
What's this?
Elastic
Ingestion method(s) API
Minimum Kibana version(s) 9.1.0
8.19.0
Important - Managed integrations on Elastic Cloud Hosted

You can use this integration as an Elastic Managed integration on Elastic Cloud Hosted deployments running this version or later.

The Cato Networks integration v0.5.0 is in technical preview

To use pre-release integrations, go to the Integrations page in Kibana, scroll down, and toggle on the Display beta integrations option.

Cato Networks is a cloud-native, global SD-WAN provider that delivers a secure, optimized, and agile global network for businesses of all sizes. Cato's cloud-based platform converges multiple network and security functions into a unified solution that includes SD-WAN, network security, cloud security, and secure access service edge (SASE) capabilities.

The Cato Networks integration for Elastic collects Events Feed and Audit Feed from the API and visualizes them in Kibana.

The Cato Networks integration is compatible with graphQL API version v1.

This integration periodically queries the Cato Networks GraphQL API to retrieve logs.

This integration collects log messages of the following type:

  • Events Feed: Collects Events Feed logs from the Cato Networks API (endpoint: /api/v1/graphql2).

  • Audit Feed: Collects Audit Feed logs from the Cato Networks API (endpoint: /api/v1/graphql2).

Audit data stream: The audit dataset contains administrative and configuration activities from the Cato Management Application (CMA), which manages the broader Cato SASE Cloud Platform.

Integrating Cato Networks with Elastic SIEM provides centralized visibility into both administrative activities and security events through the Audit and Event data streams, enabling efficient monitoring, investigation, and compliance tracking within Kibana dashboards.

The Audit data stream delivers insights into configuration changes, administrative actions, and policy modifications. Dashboards highlight metrics such as Audit by Event Type over Time and Top Admins, helping administrators monitor operational changes, track privileged activity, and support governance requirements.

The Event data stream focuses on security monitoring and threat investigation. Dashboards provide views such as Top Hosts and Events over Time, enabling analysts to detect activity spikes, identify suspicious behavior, and monitor evolving threat patterns across the environment.

Interactive filtering controls allow users to drill down across dimensions such as event type, affected models, geographic location, traffic direction, threat type, and authentication type. This supports streamlined compliance auditing, faster investigations, and a unified operational view across administrative and security data.

To collect data through the Cato Networks API, you need to provide an API Key and Account ID. Authentication is handled using the API Key, which serves as the required credential.

  1. Log in to the Cato Management Application.
  2. In the navigation menu, click Resources → Admin API Keys.
  3. Click New. The Create API Key panel opens.
  4. Provide a descriptive name for the API key (for example, "Elastic Integration").
  5. Select the appropriate permissions for the API key.
  6. Click the button to copy the API Key that is generated by the CMA and save it to a secure location.
  7. Note your Cato Networks Account ID, which can be found in the Cato Management Application under Administration → Account → General Info.
Note

For more information on generating API keys, refer to the Generating API Keys for the Cato API.

This integration supports both Elastic Managed and Agent-based installations.

Elastic Managed integrations are only supported on Elastic Cloud Serverless and Elastic Cloud Hosted deployments. An Elastic Managed integration lets you ingest data from a cloud source while avoiding the orchestration, management, and maintenance associated with standard ingest infrastructure. Elastic runs the collector for you, so you can focus on your data instead of the infrastructure that collects it. This functionality is in beta and is subject to change. Beta features are not subject to the support SLA of official GA features.

For more information, refer to Elastic Managed integrations and the Elastic Managed integrations FAQ.

Elastic Agent must be installed. For more details, check the Elastic Agent installation instructions. You can install only one Elastic Agent per host.

  1. In the top search bar in Kibana, search for Integrations.

  2. In the search bar, type Cato Networks.

  3. Select the Cato Networks integration from the search results.

  4. Select Add Cato Networks to add the integration.

  5. Enable and configure only the collection methods which you will use.

    • To Collect Cato Networks logs via API, you'll need to:

      • Configure URL (the base URL of the Cato Networks API, for example, https://api.catonetworks.com).
      • Configure Account IDs.
      • Configure API Key.
      • Adjust the integration configuration parameters if required, including the Interval, Preserve original event etc. to enable data collection.
  6. Select Save and continue to save the integration.

  1. In the top search bar in Kibana, search for Dashboards.
  2. In the search bar, type Cato Networks.
  3. Select a dashboard for the dataset you are collecting, and verify the dashboard information is populated.

For help with Elastic ingest tools, check Common problems.

  • The Cato Networks EventsFeed API enforces rate limiting of 100 requests per minute (approximately 1.66 requests per second). For detailed information, refer to the official documentation.

  • The Cato Networks AuditFeed API enforces rate limiting of 5 requests per minute (approximately 0.083 requests per second). For detailed information, refer to the official documentation.

  • If you encounter rate limiting errors, consider decreasing the Resource Rate Limit parameter or increasing the Interval value.

  • Maximum Pages Per Cycle (max_executions) and rate limiting: this setting does not change how fast requests are sent, so raising it does not increase the request rate. The request rate stays bounded by the API response time (about 43 requests per minute at 1.4 seconds per request) and by Resource Rate Limit (default 1.6 requests per second, below the 100 requests per minute limit). However, Cato Networks applies this limit per query to the whole account, shared across all of its API keys, as described in Understanding Cato API Rate Limiting. Every other consumer of the EventsFeed API on the same account (other Elastic Agents or integration instances, other SIEM connectors, scripts) draws from the same budget. If more than one consumer queries the account, lower Resource Rate Limit on each so that the total stays under 100 requests per minute. Any API error, including rate limiting, makes the input report an error and retry at the next Interval.

The event data stream collects events sequentially: each request returns at most 3000 events (a limit of the Cato Networks API that automatically enables pagination when more than 3000 events are present in the API server queue, see Cato API - EventsFeed), and the next request needs the marker from the previous response, so requests cannot be issued in parallel. The maximum sustained collection rate is therefore bounded by:

3000 events / (API response time + processing time)

For example, at about 1.4 seconds per request the integration can collect roughly 2100 events per second. If your Cato Networks account produces events faster than that, the integration falls behind and the difference between @timestamp and event.ingested keeps growing, without any errors in Fleet or Elasticsearch. Slower API response times, for example during busy periods, lower this ceiling.

If your account produces more than roughly 2000 events per second, the default mode, where one request collects all events, cannot catch up. Between about 2000 and about 5000 events per second, you can split collection across several integration policies, each with its own Filters. Above that, the rate limit shared by the whole account is the ceiling. See Splitting collection across multiple instances, including the checks to run before you enable filters.

  • Maximum Pages Per Cycle (max_executions): limits how many pages the integration requests back to back in one cycle (default 1000, up to 3000000 events). When the limit is reached, the Elastic Agent logs a warning containing maximum number of CEL executions, and the next cycle starts at the next Interval tick, which is immediately if the cycle took longer than the Interval. A full-Interval pause therefore only happens on the first cycle after the input starts or restarts (for example after a policy change or an Elastic Agent restart), or when cycles are shorter than the Interval. Raising this value does not raise the throughput ceiling described above.
  • Processors such as drop_event run after events have been fetched. They reduce the volume indexed in Elasticsearch, but not the number of events fetched per second, so they do not reduce the delay.
  • Filters are applied by the Cato Networks API before events are returned, so they reduce the volume fetched by an instance. Combined with several integration policies, they let you split collection (see Splitting collection across multiple instances).
  • Elasticsearch and Elastic Agent output tuning does not help when the bottleneck is retrieval from the Cato Networks API.

A delay that keeps growing should be addressed promptly: the marker expires after 3 days (see Limitation), after which events that were not yet collected are permanently lost.

An instance fetches events sequentially: each request returns at most 3000 events, and when the queue holds more than 3000, Cato Networks paginates the results in batches of 3000. Each instance keeps its own marker, so several instances that collect disjoint sets of events can run in parallel. To improve performance when one request for all events cannot keep up, add the integration once per filter, each as its own integration policy, and set the Filters advanced option of the event data stream to a different filter in each. One agent policy is enough: all the integration policies can be attached to it, so a single Elastic Agent runs them. Use separate agent policies only if you want them on separate agents. The value is a list of EventFeedFieldFilterInput objects sent as the filters argument of the EventsFeed query:

  • fieldName: event_type or event_sub_type.
  • operator: in, not_in, is, or is_not.
  • values: exact event type or subtype strings, as returned by Cato Networks.

Leave Filters empty to collect all events. A value that contains only comments or whitespace, or the YAML value null, is treated as empty. Fleet checks only that the value is valid YAML. Cato Networks checks the content: it rejects an unknown fieldName or operator (both are case-sensitive) with an error that the input reports. Unquoted numbers and booleans in values are sent as strings.

For example, to collect WAN Firewall events, Internet Firewall events, and all remaining events with three instances:

Instance 1:

- fieldName: event_sub_type
  operator: in
  values:
    - WAN Firewall
		

Instance 2:

- fieldName: event_sub_type
  operator: in
  values:
    - Internet Firewall
		

Instance 3:

- fieldName: event_sub_type
  operator: not_in
  values:
    - WAN Firewall
    - Internet Firewall
		

All instances share the eventsFeed limit of 100 requests per minute per account (Understanding Cato API Rate Limiting). Together they collect at most about 100 x 3000 / 60, roughly 5000 events per second, however many you run. That is about 2.4 times one instance at 1.4 seconds per request. If your account produces more, splitting cannot catch up.

Cato Networks starts rolling out a new API gateway on December 1, 2026. It replaces the per-minute limit with cost-based budgets shared by the whole account, and eventsFeed can also have its own budget. Cato Networks has not published the values, so the 5000 events per second above may change (FAQ: Upcoming API Gateway and Rate Limiting Changes).

If your account produces more events than splitting can collect, the alternative is a push-based feed. Cato Networks describes its event integrations for cloud storage, Integrating Cato Events with AWS S3 and Integrating Cato Events with Azure Storage, as a high-scale feed (Getting Started with Event Integrations). Its own Elastic integration (Integrating Cato Data with Elastic) is developed and maintained by Cato Networks separately from this integration, is currently a preview, and pushes events instead of polling. Cato Networks has indicated that its Elastic integration can support up to 14000 events per second.

Splitting an instance that is already behind. Instances you add have no marker, so they start at the current position of the queue and do not collect older events (API reference, Cato API Potentially Breaking Changes and EoL). If the instance that is behind gets a narrower filter, the events it has not collected yet, in slices that no other instance covers, are lost. To cover them, keep the existing unfiltered instance running until the @timestamp of its newest events reaches the time the new instances started, then remove it or change its filter. Until then both collect the same events, and duplicates are rejected only within one backing index (see below). If you can do without those events, no extra step is needed.

Warning

Check the event volume before you enable Filters. When filters are applied, Cato Networks scans its event queue until matching events are found or a search limit is reached, and it does not publish that limit. A filter that matches a small share of a busy queue can return short or empty pages while the scan is still working through the queue. The integration treats a page with fewer than 3000 events as the end of a cycle and waits for the next Interval, so such an instance scans the queue once per Interval, and how far behind it gets depends on the total number of events the account produces, not only on how many match the filter.

To check the volume, run the following query against the Cato Networks API, for example from the GraphQL Playground with an API key. It returns the number of events per time bucket.

query EventsTimeSeries($accountID: ID!, $timeFrame: TimeFrame!, $buckets: Int!, $filters: [EventsFilter!]) {
  eventsTimeSeries(
    accountID: $accountID
    timeFrame: $timeFrame
    measures: [{fieldName: event_id, aggType: count}]
    filters: $filters
  ) {
    from
    to
    granularity
    timeseries(buckets: $buckets) {
      label
      sum
      data
    }
  }
}
		

Variables:

{
  "accountID": "<your account ID>",
  "timeFrame": "last.P3D",
  "buckets": 72,
  "filters": [
    {"fieldName": "event_sub_type", "operator": "in", "values": ["WAN Firewall"]}
  ]
}
		

data is a list of [timestamp in milliseconds, number of events] pairs, one per bucket. With last.P3D and 72 buckets, each bucket covers one hour. Run the query twice: once with "filters": null to get the total for the account, and once with the filter you plan to use. The counts come from Cato Networks' analytics and can differ slightly from the number of records the EventsFeed API returns.

  • Look at the busiest buckets, not the average, and divide by the bucket length in seconds to get events per second. If the total for the account is close to or above the ceiling in Throughput and ingestion delay, a single instance cannot catch up, even with filters on one instance.
  • Interval is the main setting for a filtered instance. Because a page with fewer than 3000 events ends a cycle, the instance scans the queue once per Interval. If a filter matches a small share of a busy queue, a shorter Interval lets the instance scan further per minute and reduces the delay. Every request counts against the documented limit of 100 requests per minute per account, shared by all instances and all other consumers of the account. An instance that reads full pages back to back at about 1.4 seconds per request makes about 43 requests per minute, so two busy instances already use about 86 of the 100 and leave little room for a shorter Interval on a third. Add up the requests of all instances before you shorten it (see Rate Limiting).
  • Splitting a filter across more instances does not reduce scan-limit delays: each instance still scans the account queue, and all instances draw on the same request budget. Split collection when the volume of matching events is too high for one instance to keep up.
  • After enabling filters, compare @timestamp and event.ingested for each instance. If the difference keeps growing, the instance is falling behind.

Keep the following in mind:

  • Nothing validates the combined scope of the filters of all your instances. As long as each filter is valid, its instance runs, whatever the other instances collect. Two things can go wrong:
    • Duplicates (low risk). Overlapping filters make several instances fetch the same events. The ingest pipeline sets a deterministic document ID. Elasticsearch enforces ID uniqueness only within a single backing index, so it rejects a second copy only when it targets the same backing index. Elastic Agent counts such a rejection as a duplicate event (libbeat.output.events.duplicates in the output metrics) instead of indexing it twice. A growing duplicate count suggests that filters overlap. A zero duplicate count does not prove that they are disjoint: instances that write to different namespaces use different data streams, and events fetched on either side of a data stream rollover land in different backing indices, so in both cases both copies can be indexed without increasing the duplicate count.
    • Gaps (medium risk). Events that match no instance's filter are never collected. Nothing in Fleet or Elasticsearch flags them, and they cannot be recovered once they leave the Cato Networks event queue, about 3 days after they were generated. The only check is manual: compare the total number of events Cato Networks reports for a time range (the eventsTimeSeries query above, without a filter) with the number of documents in Elasticsearch for the same range, and with the counts for each instance's filter.
  • When filters are applied, Cato Networks scans its event queue until matching events are found or a search limit is reached, so a request can return fewer than 3000 events even when more matching events are pending. The integration does not try to tell this apart from the end of the queue: a page with fewer than 3000 events ends the cycle, and the next request starts at the next Interval. For unfiltered requests, Cato Networks documents that the marker is empty when there are no new events in the queue (Cato API Potentially Breaking Changes and EoL, 2025-04-27). For filtered requests, it documents only that the marker is the position where the scan stopped (API reference), and not how to tell that apart from the end of the queue or whether the empty marker applies, so the integration does not rely on it.
  • All instances share the account rate limit described in Rate Limiting. Lower Resource Rate Limit on each instance so that the total stays under 100 requests per minute.
  • The EventsFeed API operates with a time-based data retrieval mechanism. On the initial API call, no data will be returned as it establishes a baseline marker. Subsequent requests will retrieve events that occurred between the current request and the previous one. Due to this behavior, data ingestion begins only after the first interval has elapsed, so it is expected to have a delay equal to the configured interval before seeing the first events in Elasticsearch.

  • The Cato Networks EventsFeed API uses a marker-based pagination with a 3-day expiration period. If the Elastic Agent or Elasticsearch instance experiences downtime exceeding 3 days, the marker becomes invalid and any events generated during this outage will be permanently lost and cannot be recovered.

  • The Cato Networks API rate limit quota is shared across all integration instances that use the same API credentials, which can impact data collection when running multiple instances simultaneously.

  • The Cato Networks AuditFeed API contains certain fields with inconsistent data types across different events. These type conflicts can cause indexing failures in Elasticsearch, resulting in discrepancies between the document count stored in Elasticsearch and the total number of events returned by the API. Users can observe that not all events from the API response are successfully indexed due to these type mapping conflicts.

For more information on architectures that can be used for scaling this integration, check the Ingest Architectures documentation.

This input is used in the integration:

This integration uses the following Cato Networks API:

Events Feed: Cato Networks Events Feed API documentation. Audit Feed: Cato Networks Audit Feed API documentation.

This integration includes one or more Kibana dashboards that visualizes the data collected by the integration. The screenshots below illustrate how the ingested data is displayed.