The log file outbound plug-in in vRealize Operations Manager captures alert data. To filter the log file data, you can update the TextFilter.xml file to capture only the alerts meeting the filter criteria.

As a vRealize Operations Manager administrator, you want to filter the outbound alert log files based on the alert type and the subtype.

The filters are configured in the TextFile.xml file. The file is in one of the following locations, depending on your operating system:

vApp or Linux. /usr/lib/vmware-vcops/user/plugins/outbound/vcops-textfile-plugin/conf

Windows. C:\vmware\vcenter-operations\vmware-vcops\user\plugins\outbound\vcops-textfile-plugin\conf

In the file, use the following format for the filter rule.

<FilterRule name="AlertType">
  <AlertTypes>
    <AlertType key="AlertType1:AlertSubType1 " />
    <AlertType key="AlertType2:AlertSubType2 " />
  </AlertTypes>
</FilterRule>   

For example, the rule to filter based on the Application type and Availability subtype uses this format.

<FilterRule name="AlertType">
  <AlertTypes>
    <AlertType key="ALERT_TYPE_APPLICATION_PROBLEM:ALERT_SUBTYPE_AVAILABILITY_PROBLEM " />
  </AlertTypes>
</FilterRule>