I created a diagnostics setting in azure apim and send logs to event hub.
But now the requirement is I need to pass only the error logs from azure api management to event hub.Current setting passes all the success and failure logs into event hub.
is there any way to filter logs before sending it into event hub or log only errors.