Aruba CX icon

Aruba CX

Interact with Aruba CX Switch REST API

Logs → Get Accounting Logs

AI-generated

Summary

Get Accounting Logs

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) when Return All is false
  • filters — Time-based filters for the logs

Output shape

array

Each element is an accounting log entry object returned by the Aruba CX API.

Examples

Example 1: Fetch the most recent 50 accounting logs

Set Limit to 50, Return All to false

Example 2: Get all accounting logs from yesterday

Set Return All to true, Filters.Since to 'yesterday'

Discussion