The following examples show how you can use the normalize event action to perform custom mappings of raw event properties to USM alert properties.
Example: Normalize Windows Event Log security events to make them easier to categorize
This example illustrates how to normalize events from the Security log in the Windows Event Log. The default policy for Windows Event Log events does not map vital information to USM alerts such as the following:
The normalization action in this example makes this information a part of the resultant alert, and you can organize the normalized alerts into queues.
syslog_source='Security'
Maps the Assignee property to the internal Windows user information. This information does not appear in alerts that the default policy normalizes.
Maps the User Attribute 1 property to the Windows Event Log source event log. This information does not appear in alerts that the default policy normalizes. You can use it to assign all security events to a specialized queue.
Maps the User Attribute 2 property to the internal event category. This information does not appear in alerts that the default policy normalizes.
Use the Service right-click menu to assign the AlertedMdr properties to a managed service so that the normalized event appears on that service CI.
All other properties obtain their values from the default connector policy.
Example: Normalize CA Workload Automation traps to assign variable bindings to USM properties
This example normalizes SNMP traps from CA Workload Automation to include important variable binding information in properties. The properties appear on the Operations Console when the event becomes an alert. Default policy for SNMP sources includes all trap varbind values in one property. Event Management splits variable bindings and their values into separate properties in the Event Store. You can map each varbind to its appropriate USM alert property.
Note: This normalization is similar to the default policy for the SNMP connector, which is written for CA Workload Automation traps as an example.
snmp_enterprise="1.3.6.1.4.1.11203"
This search returns traps with an enterprise OID that indicates the traps are from CA Workload Automation.
Maps the MdrElementID property to a combination of the varbinds that indicate the source server, application name, and job name.
Maps the Severity property to the varbind that indicates the job status. Map the values for varbind-1.3.6.1.4.11203.6 to valid Severity values using the Map function:
Value column: USM Value column
Note: The Preview cell does not support map values that are derived through regular expressions. If the map value uses a regular expression, the Preview cell displays a message 'Mapping not found by preview'. However, the mapping itself occurs as expected in actual event policy.
Maps the summary property to the trap job status message.
Maps the Message property to the following statement: 'jobstatus alert on jobname that is scheduled on agentserver'.
Maps the User Attribute 1 property to the source application name.
Use the Service right-click menu to assign the AlertedMdr properties to a managed service so that the normalized event appears on that service CI.
All other properties obtain their values from the default connector policy.
Example: Normalize Windows operating system traps
This example normalizes traps that are collected from the Windows operating system and are related to services starting and stopping.
Note: For this example to work, configure Windows to generate traps for Event ID 7036. Use the Windows Event to Trap Translator and send the traps to the SNMP connector system.
snmp_specificTrap="1073748860"
This search returns traps that Windows generates for starting and stopping operating system services.
Maps the MdrElementID property to the specific trap ID and the affected Windows service.
Maps the Severity property to the service status. Right-click the cell, select Map, and map the values for varbind-1.3.6.1.4.1.311.1.13.1.9999.7.0 to valid Severity values using the Map function:
Maps the Summary and Message properties to the service message.
Maps the AlertType property to a static value of Risk.
Maps the required time-based USM properties to the current time. Find this value by right-click the cell and selecting Functions, fx:xsdateTime-now.
Use the Service right-click menu to assign the AlertedMdr properties to a managed service so that the normalized event appears on that service CI.
|
Copyright © 2013 CA.
All rights reserved.
|
|