Welcome to the Microsoft Q&A Platform. Thank you for reaching out & I hope you are doing well.
You can follow this article to enable WAF bot protection.
In case there are any hits, the logs will look like the below.
To view the logs, make sure you have enabled the logs in Azure Diagnostic.
Refer : Enable logging through the Azure portal
Refer to this on How to display and query the logs.
Here, for BotProtection Logs, the ruleSetType will be "MicrosoftBotProtection"
Kindly let us know if this helps or you need further assistance on this issue.
Thanks,
Kapil
Please don’t forget to close the thread by clicking "Accept the answer" wherever the information provided helps you, as this can be beneficial to other community members.