How to set a Log Analytics Daily Data Cap
· One min read
This is just an additional configuration that may help with sizing and pricing Log Analytics, you can set a 'Daily cap' for the amount of Data you ingest per day, to help restrict cost.
The downside of this is if you reach the cap, you will no longer collect any data, until the following day, meaning you may miss key events or issues.
This is something that I would recommend ONLY to do if you run into any financial constraints, giving you more time time to work through, of course, situation depending.
This is a pretty quick 'How To' so let's get straight into it:
- Log in to the Azure Portal
- Search for your Log Analytics Workspace
- Select Usage and estimated costs
- Click on Daily Cap
- Set your cap in GB (I put 0.166 as my thinking was 5GB per free each month, so 166MB a day, should cap my Log Analytics workspace, although useful for this demo/lab, it's not a number I would recommend for Production)
- Click Ok