Aruba CX icon

Aruba CX

Interact with Aruba CX Switch REST API

Logs → Get Audit Logs

AI-generated

Summary

Fetch Aruba CX audit logs with optional time ranges and session filters

Inputs

  • hostOverride — Override the hostname from credentials, useful for looping over multiple switches
  • domain (required) — API domain to query; must be System
  • returnAll — Include all results instead of respecting the limit
  • limit — Maximum number of results to return (1‑1000) when returnAll is false
  • filters — Time‑based filters for logs; supports 'since' and 'until' values
  • auditFilters — Additional filters such as session type, username, user group, or config flag

Output shape

array of audit log entries

Result may be truncated by the limit parameter; if returnAll is true the full set is returned

Examples

Example 1: Retrieve recent system logs for the default domain

Set Domain to System, Limit to 100, Since to '1 day ago', Return All false

Example 2: Get all audit logs matching a specific username and session type

Set Username to admin, Session to ssh, Domain to System, Return All true

Example 3: Override host while querying logs

Set Host Override to 10.0.0.5, Domain to System

Discussion