Skip to content

/AWS1/CL_CWL=>TESTMETRICFILTER()

About TestMetricFilter

Tests the filter pattern of a metric filter against a sample of log event messages. You can use this operation to validate the correctness of a metric filter pattern.

Method Signature

IMPORTING

Required arguments:

IV_FILTERPATTERN TYPE /AWS1/CWLFILTERPATTERN /AWS1/CWLFILTERPATTERN

filterPattern

IT_LOGEVENTMESSAGES TYPE /AWS1/CL_CWLTESTEVENTMSGS_W=>TT_TESTEVENTMESSAGES TT_TESTEVENTMESSAGES

The log event messages to test.

RETURNING

OO_OUTPUT TYPE REF TO /AWS1/CL_CWLTESTMETRICFILTRSP /AWS1/CL_CWLTESTMETRICFILTRSP