Log Analytics allows you to develop specific queries using the data in your Log Analytics workspace. With Configuration Manager, you can use the Configuration Manager Sync dataset to tailor queries around nearly all aspects of your tenant configurations.
Understand and build custom queries
To understand how Log Analytics works and how to start building custom queries, see this guide.
Sample queries
You can use Configuration Manager's sample queries as well.