cisco.dnac.event_series_audit_logs_parent_records_info – Information module for Event Series Audit Logs Parent Records

Note

This plugin is part of the cisco.dnac collection (version 3.1.5).

To install it use: ansible-galaxy collection install cisco.dnac.

To use it in a playbook, specify: cisco.dnac.event_series_audit_logs_parent_records_info.

New in version 1.0.0: of cisco.dnac

Synopsis

  • Get all Event Series Audit Logs Parent Records.

Note

This module has a corresponding action plugin.

Requirements

The below requirements are needed on the host that executes this module.

  • dnacentersdk

Parameters

Parameter Choices/Defaults Comments
category
string
Category query parameter. Audit Log notification's event category. Supported values INFO, WARN, ERROR, ALERT, TASK_PROGRESS, TASK_FAILURE, TASK_COMPLETE, COMMAND, QUERY, CONVERSATION.
context
string
Context query parameter. Audit Log notification's event correlationId.
description
string
Description query parameter. String full/partial search - (Provided input string is case insensitively matched for records).
deviceId
string
DeviceId query parameter. Audit Log notification's deviceId.
domain
string
Domain query parameter. Audit Log notification's event domain.
endTime
integer
EndTime query parameter. End Time in milliseconds since Epoch Eg. 1597961437211 (when provided startTime is mandatory).
eventHierarchy
string
EventHierarchy query parameter. Audit Log notification's event eventHierarchy. Example "US.CA.San Jose" OR "US.CA" OR "CA.San Jose" - Delimiter for hierarchy separation is ".".
eventId
string
EventId query parameter. Audit Log notification's event ID.
headers
dictionary
Additional headers.
instanceId
string
InstanceId query parameter. InstanceID of the Audit Log.
isSystemEvents
boolean
    Choices:
  • no
  • yes
IsSystemEvents query parameter. Parameter to filter system generated audit-logs.
limit
integer
Limit query parameter. Number of Audit Log records to be returned per page.
name
string
Name query parameter. Audit Log notification event name.
offset
integer
Offset query parameter. Position of a particular Audit Log record in the data.
order
string
Order query parameter. Order of the sorted Audit Log records. Default value is desc by timestamp. Supported values asc, desc.
severity
string
Severity query parameter. Audit Log notification's event severity. Supported values 1, 2, 3, 4, 5.
siteId
string
SiteId query parameter. Audit Log notification's siteId.
sortBy
string
SortBy query parameter. Sort the Audit Logs by certain fields. Supported values are event notification header attributes.
source
string
Source query parameter. Audit Log notification's event source.
startTime
integer
StartTime query parameter. Start Time in milliseconds since Epoch Eg. 1597950637211 (when provided endTime is mandatory).
subDomain
string
SubDomain query parameter. Audit Log notification's event sub-domain.
userId
string
UserId query parameter. Audit Log notification's event userId.

See Also

See also

Event Series Audit Logs Parent Records reference

Complete reference of the Event Series Audit Logs Parent Records object model.

Examples

- name: Get all Event Series Audit Logs Parent Records
  cisco.dnac.event_series_audit_logs_parent_records_info:
    dnac_host: "{{dnac_host}}"
    dnac_username: "{{dnac_username}}"
    dnac_password: "{{dnac_password}}"
    dnac_verify: "{{dnac_verify}}"
    dnac_port: "{{dnac_port}}"
    dnac_version: "{{dnac_version}}"
    dnac_debug: "{{dnac_debug}}"
    headers:
      custom: value
    instanceId: string
    name: string
    eventId: string
    category: string
    severity: string
    domain: string
    subDomain: string
    source: string
    userId: string
    context: string
    eventHierarchy: string
    siteId: string
    deviceId: string
    isSystemEvents: True
    description: string
    offset: 0
    limit: 0
    startTime: 0
    endTime: 0
    sortBy: string
    order: string
  register: result

Return Values

Common return values are documented here, the following are the fields unique to this module:

Key Returned Description
dnac_response
list / elements=dictionary
always
A dictionary or list with the response returned by the Cisco DNAC Python SDK

Sample:
[ { "version": "string", "instanceId": "string", "eventId": "string", "namespace": "string", "name": "string", "description": "string", "type": "string", "category": "string", "domain": "string", "subDomain": "string", "severity": 0, "source": "string", "timestamp": 0, "tags": [], "details": {}, "ciscoDnaEventLink": "string", "note": "string", "tntId": "string", "context": "string", "userId": "string", "i18n": "string", "eventHierarchy": "string", "message": "string", "messageParams": "string", "additionalDetails": {}, "parentInstanceId": "string", "network": "string", "childCount": 0, "tenantId": "string" } ]


Authors

  • Rafael Campos (@racampos)