Aruba CX icon

Aruba CX

Interact with Aruba CX Switch REST API

Logs → Get Event Logs

AI-generated

Summary

Fetch event logs from Aruba CX switches, optionally filtered and limited.

Inputs

  • hostOverride — Optional: Override the hostname from credentials (useful for loops with multiple switches)
  • domain (required) — Domain of the Aruba CX API
  • returnAll — Whether to return all results or only up to a given limit
  • limit — Max number of results to return (1-1000)
  • filters — Collection of filters to apply to the log query
  • eventFilters — Collection of event-specific filters for the log query

Output shape

array of log entries

Pagination is controlled by limit and returnAll; filters and eventFilters can restrict results; the response may include optional fields such as priority, message, etc.

Examples

Example 1: Fetch system logs from a single switch

Domain=System, leave other settings at defaults

Example 2: Retrieve logs with a specific priority and message

Add filter priority=3 and Message='Interface 1/1/1 is up', set Limit=50

Example 3: Pull all logs from multiple switches using host override

Enable Return All, set Host Override for each switch, Domain=System

Discussion