Skip to content

Commit 453ff7f

Browse files
authored
Merge pull request DataDog#8747 from DataDog/nils/daily-quota-event-logs
Log index daily quota and events
2 parents a226608 + 39d1a4f commit 453ff7f

File tree

5 files changed

+16
-0
lines changed

5 files changed

+16
-0
lines changed

content/en/logs/guide/logs-monitors-on-volumes.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,16 @@ Get notified if the indexed log volumes in any scope (`service`, `availability-z
7777

7878
{{< img src="logs/guide/example_notification.png" alt=" example notification" style="width:70%;">}}
7979

80+
### Alert on indexes reaching their daily quota
81+
8082
It is also possible to [set up a daily quota on indexes][9] to prevent indexing more than a given number of logs per day. When doing this, Datadog recommends that you set the above monitor to alert when 80% of this quota is reached within the past 24 hours.
83+
An event is generated when the daily quota is reached. Set up a monitor to be notified when this happens:
84+
85+
{{< img src="logs/guide/daily_quota_monitor.png" alt="Daily quota Monitor" style="width:70%;">}}
86+
87+
Here is an example of what the notification would look like in Slack:
88+
89+
{{< img src="logs/guide/daily_quota_notification.png" alt="Notification on daily quota" style="width:70%;">}}
8190

8291
## Further Reading
8392

content/en/logs/indexes/_index.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -132,6 +132,12 @@ Update or remove this quota at any time when editing the Index:
132132

133133
**Note**: Indexes daily quotas reset automatically at 2:00pm UTC (4:00pm CET, 10:00am EDT, 7:00am PDT).
134134

135+
An event is generated when the daily quota is reached:
136+
137+
{{< img src="logs/indexes/index_quota_event.png" alt="index quota notification" style="width:70%;">}}
138+
139+
Follow our [Log Usage guide][19] to see how to monitor and alert on your usage.
140+
135141
## Further Reading
136142

137143
{{< partial name="whats-next/whats-next.html" >}}
@@ -156,3 +162,4 @@ Update or remove this quota at any time when editing the Index:
156162
[16]: /logs/processing/processors/?tab=ui#trace-remapper
157163
[17]: /help/
158164
[18]: /logs/live_tail/#overview
165+
[19]: /logs/guide/logs-monitors-on-volumes/#monitor-indexed-logs-with-fixed-threshold
207 KB
Loading
166 KB
Loading
122 KB
Loading

0 commit comments

Comments
 (0)