Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Resources | oam | eventLog | filterAdmin

filterAdmin

Filter configuration for each event log type and event class.

Configuration

ParameterPresenceTypeDefaultDescription
ceNameMreference The host name for which these table entries apply.
typeMenumeration The event log type for which these filter table entries apply.
eventClassMenumeration The class of events to which the filter entry applies.
levelOenumerationmajor Events that are at least as severe as the designated level will be logged. noevents suppresses all events of this type from being logged.
stateOenumerationoff On if this filter entry should take precedence over the per-node settings.
REST API: GET Example

curl -kisu 'admin:secret' -X GET https://{SBX-SERVER}/api/config/oam/eventLog/filterAdmin/{ceName},{type},{eventClass}

REST API: POST Example

curl -kisu 'admin:secret' -X POST -H 'Content-Type: application/vnd.yang.data+xml' https://{SBX-SERVER}/api/config/oam/eventLog --data '
<filterAdmin>
     <ceName>{ceName}</ceName>
     <type>{type}</type>
     <eventClass>{eventClass}</eventClass>
</filterAdmin>
'

REST API: DELETE Example

curl -kisu 'admin:secret' -X DELETE https://{SBX-SERVER}/api/config/oam/eventLog/filterAdmin/{ceName},{type},{eventClass}