When installing the Datadog Agent on Kubernetes, everything seemed to be working smoothly. However, looking back, I realized a crucial step was overlooked: setting a daily log quota.

Without a log quota in place, my company encountered an huge log spike which caused unexpected costs ($800 🤯) due to excessive log usage. This mistake could have been easily avoided by implementing a daily log quota from the outset.

You can easily add log quota by going to the Log Indexes Configuration page, then edit the desired index. You will have the option to set a daily quota for this index:

Datadog Log Indexes Configuration page screenshot