In the current implementation, an error occurs when APIM attempts to push Webhook API analytics to the apim_metrics.log file when ELK analytics is enabled. This issue stems from the lack of handling the scenario where the userName field is null and, this PR fixes this issue by handling the null.
Fix https://github.com/wso2/api-manager/issues/2587
In the current implementation, an error occurs when APIM attempts to push Webhook API analytics to the apim_metrics.log file when ELK analytics is enabled. This issue stems from the lack of handling the scenario where the userName field is null and, this PR fixes this issue by handling the null.