I'm trying to provision a device with Azure IoT DPS via an X.509 certificate. This currently fails with a 401 status code so I would like to consult the DPS logs to determine what is going on.
I have followed the troubleshooting instructions and created diagnostic settings for my DPS, selecting "allLogs" and "Send to Log Analytics workspace".
Now, after trying to provision the device (and receive the 401 status code) once again, I try to query the logs:
but they are empty! However, when I check attestation attempts under "Metrics" my provisioning attempts do show up. Why are the logs empty?