API ReferenceNew CentralGuidesMRT APIConfiguration API
GithubAirheads Developer Community
API Reference

Create a new logging by unique name

Defines a single Logging profile, specifying parameters for log message handling, destinations,
and severity filtering. Each entity is identified by name. Use these APIs to create, modify,
or delete an instance.

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Path Params
string
required
length ≤ 9999

Unique name for the Logging profile. Required to
reference this profile in device or system configurations.

Query Params
string

LOCAL - To create local objects. SHARED - To create shared objects. Default - Defaults to SHARED if not provided

string

Scope at which local object needs to be created. Mandatory if object-type = LOCAL. Should not be provided for object-type = SHARED.

string

Device function for which the local object needs to be created. Mandatory if object_type = LOCAL. Should not be provided for object_type = SHARED.

Body Params

profilebody object

boolean
Defaults to false

Enable sending audit log messages to the syslog server in Linux format.
If it is not enabled, then it sends in ArubaOS-CX defined log format.

console
object

console-logging related configuration.

string
enum

Debug log destination.

Show Details
BUFFERDebug log destination buffer.
CONSOLEDebug log destination console.
FILEDebug log destination file.
SYSLOGDebug log destination syslog.
Allowed:
boolean
Defaults to true

This command enables/disables the notification of the events to be sent as traps.

string
enum
Defaults to LOCAL7

Syslog facility to be used for remote syslog messages.

Show Details
AUTHFacility AUTH
CRONFacility CRON
DAEMONFacility DAEMON
KERNFacility KERN
LOCAL0Facility LOG_LOCAL0
LOCAL1Facility LOG_LOCAL1
LOCAL2Facility LOG_LOCAL2
LOCAL3Facility LOG_LOCAL3
LOCAL4Facility LOG_LOCAL4
LOCAL5Facility LOG_LOCAL5
LOCAL6Facility LOG_LOCAL6
LOCAL7Facility LOG_LOCAL7
LPRFacility LPR
MAILFacility MAIL
NEWSFacility NEWS
SYS10Facility SYS10
SYS11Facility SYS11
SYS12Facility SYS12
SYS13Facility SYS13
SYS14Facility SYS14
SYS9Facility SYS9
SYSLOGFacility SYSLOG
USERFacility USER
UUCPFacility UUCP
local-file
object

Local file

notification-threshold
object

Threshold percentage relative to the size of the
log buffer. Once the utilization has reached this threshold, a
log notification will be generated.

string
enum

Minimum severity for logging.
For AP devices, Range: EMERGENCY, ALERT, CRITICAL, ERROR, WARNING, NOTICE, INFO, DEBUG.
For PVOS devices, Range: MAJOR, INFO, WARNING, DEBUG, ERROR.

Show Details
ALERTImmediate action needed.
CRITICALCritical Condition
DEBUGDebug Messages
EMERGENCYSystem is unusable
ERRORError condition in the system
INFOInformational Messages
MAJORMajor condition
NOTICENormal bug significant condition
WARNINGWarning condition
module
array of objects
length ≤ 2147483647

List of module type, module and sub-module.

module
remote-syslog
array of objects
length ≤ 2147483647

Remote syslog details.

remote-syslog
filter
array of objects
length ≤ 2147483647

Filter name.

filter
boolean

Enable local command logging.

string
length between 1 and 256

Logging profile description.

string
length between 1 and 256

Unique name for the Logging profile. Required to
reference this profile in device or system configurations.

string
enum

Origin Id for the syslog message.

Show Details
HOSTNAMEHostname of the device as the origin-id.
IP_ADDRESSIP address of the outgoing interface as the origin-id.
NONEDisable origin-id in the Syslog message.
Allowed:
string
length between 1 and 48

Add a string to the message content. The string may contain upto 48 US ASCII printable characters except for space.

string
length between 1 and 255

A text string associated with the values of facility, severity, and
system-module.

boolean

Notification about changes in running configuration will
be sent to the syslog server(s).

string
enum

Name of the system-module.

Show Details
ACCTEvent log for system-module acct
ACLEvent log for system-module acl
ACTIVATEEvent log for system-module activate
ADDRMGREvent log for system-module addrmgr
ALL_PASSEvent log for system-module all-pass
AMP_SERVEREvent log for system-module amp-server
ARPTEvent log for system-module arpt
ARP_PROTECTEvent log for system-module arp-protect
AUTHEvent log for system-module auth
AUTHORDEREvent log for system-module authorder
AUTORUNEvent log for system-module autorun
BFDEvent log for system-module bfd
BGPEvent log for system-module bgp
BPDUEvent log for system-module bpdu
BRIDGEEvent log for system-module bridge
BYOD_REDIRECTEvent log for system-module byod-redirect
CADOWNLOADEvent log for system-module cadownload
CAPTIVE_PORTALEvent log for system-module captive-portal
CDPEvent log for system-module cdp
CENTRALEvent log for system-module central
CFGRESTOREEvent log for system-module cfgrestore
CHASSISEvent log for system-module chassis
CONNFILTEvent log for system-module connfilt
CONSOLEEvent log for system-module console
COSEvent log for system-module cos
CRYPTOEvent log for system-module crypto
DCAEvent log for system-module DCA
DCBXEvent log for system-module dcbx
DEV_ONBOARDEvent log for system-module dev-onboard
DFPEvent log for system-module dfp
DHCPEvent log for system-module dhcp
DHCPREvent log for system-module dhcpr
DHCPV6CEvent log for system-module dhcpv6c
DHCPV6REvent log for system-module dhcpv6r
DHCP_SERVEREvent log for system-module dhcp-server
DHCP_SNOOPEvent log for system-module dhcp-snoop
DIPLDEvent log for system-module dipld
DIPLDV6Event log for system-module dipldv6
DLDPEvent log for system-module dldp
DMAEvent log for system-module dma
DOWNLOADEvent log for system-module download
DSNOOPV6Event log for system-module dsnoopv6
DTEvent log for system-module dt
ESATPROXYEvent log for system-module esatproxy
ESTCEvent log for system-module estc
FAULTEvent log for system-module fault
FFIEvent log for system-module FFI
FIPSEvent log for system-module fips
GARPEvent log for system-module garp
GVRPEvent log for system-module gvrp
HPECMEvent log for system-module hpecm
HPESPEvent log for system-module hpesp
HPESP_CMEvent log for system-module hpesp-cm
HPESP_IPEvent log for system-module hpesp-ip
HPSMEvent log for system-module hpsm
HTTPEvent log for system-module http
HTTPPROXYEvent log for system-module httpproxy
IDMEvent log for system-module idm
IEEE802_1XEvent log for system-module 802.1x
IGMPEvent log for system-module igmp
INST_MONEvent log for system-module inst-mon
INSYSPROGEvent log for system-module insysprog
IPEvent log for system-module ip
IPADDRMGREvent log for system-module ipaddrmgr
IPLOCKEvent log for system-module iplock
IPSLAEvent log for system-module ipsla
IPXEvent log for system-module ipx
JOBEvent log for system-module job
KMSEvent log for system-module kms
LACPEvent log for system-module lacp
LDBALEvent log for system-module ldbal
LICENSINGEvent log for system-module licensing
LLDPEvent log for system-module lldp
LLDPMADEvent log for system-module lldpmad
LOOP_PROTECTEvent log for system-module loop-protect
MACLOCKEvent log for system-module maclock
MACSECEvent log for system-module macsec
MDNSEvent log for system-module mdns
MGREvent log for system-module mgr
MLDEvent log for system-module mld
MOBILITYEvent log for system-module mobility
MSATPROXYEvent log for system-module msatproxy
MTMEvent log for system-module mtm
MVRPEvent log for system-module mvrp
NDSNOOPEvent log for system-module ndsnoop
NETINETEvent log for system-module netinet
NTPEvent log for system-module ntp
OOBMEvent log for system-module oobm
OPENFLOWEvent log for system-module openflow
OSPFEvent log for system-module ospf
OSPF3Event log for system-module ospf3
PAGPEvent log for system-module pagp
PIMEvent log for system-module pim
POLICYEvent log for system-module policy
PORTSEvent log for system-module ports
PROFILE_MANAGEREvent log for system-module profile-manager
PSDETECTEvent log for system-module psdetect
QINQEvent log for system-module Q-in-Q
RADIUSEvent log for system-module radius
RATELIMEvent log for system-module ratelim
RA_GUARDEvent log for system-module ra-guard
RFSEvent log for system-module rfs
RIPEvent log for system-module rip
RIPNGEvent log for system-module ripng
SECUREMODEEvent log for system-module securemode
SFLOWEvent log for system-module sflow
SFTPEvent log for system-module sftp
SI_TUNNELEvent log for system-module si-tunnel
SLPEvent log for system-module slp
SMART_LINKEvent log for system-module smart-link
SNMPEvent log for system-module snmp
SNTPEvent log for system-module sntp
SRCIPEvent log for system-module srcip
SSHEvent log for system-module ssh
SSLEvent log for system-module ssl
STACKEvent log for system-module stack
STACKINGEvent log for system-module stacking
STPEvent log for system-module stp
SYSTEMEvent log for system-module system
TACACSEvent log for system-module tacacs
TCPEvent log for system-module tcp
TELNETEvent log for system-module telnet
TESTMODEEvent log for system-module testmode
TFTPEvent log for system-module tftp
TIMEPEvent log for system-module timep
TLSEvent log for system-module tls
TRMODEEvent log for system-module trmode
TR_069Event log for system-module tr-069
TUNNELED_NODEEvent log for system-module tunneled-node
UDLDEvent log for system-module udld
UDPFEvent log for system-module udpf
UFDEvent log for system-module ufd
UPDATEEvent log for system-module update
USBEvent log for system-module usb
USERTNODEEvent log for system-module usertnode
VLANEvent log for system-module vlan
VLANMADEvent log for system-module vlanmad
VRRPEvent log for system-module vrrp
VSFEvent log for system-module vsf
VXLAN_TUNNELEvent log for system-module vxlan-tunnel
WEBMACAUTHEvent log for system-module webmacauth
WSMEvent log for system-module wsm
XMODEMEvent log for system-module xmodem
XRRPEvent log for system-module xrrp
ZTPIPSECEvent log for system-module ztpipsec
int64
0 to 4294967295

Egress rate limit for sending notifications.

Responses

Language
Credentials
OAuth2
URL
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json