An Azure service that provides serverless Kubernetes, an integrated continuous integration and continuous delivery experience, and enterprise-grade security and governance.
That's correct ! That is the easiest way with an interval of 5 minutes frequency and which by default eliminates/excludes kube-system, gatekeeper-system, azure-arc
But you might also want to explore couple of more options mentioned below:-
For example you have the flexibility of setting the frequency interval between [1min to 30 mins] depending upon how much logging you need !
You can configure the datacollectionsetting.json with your custom frequency and update it accordingly , play around with them. You can also exclude couple of other namespaces if you customize using datacollectionrulesettings !
Also take a look at the custom configMaps
Regards,
Shiva.