Getting Started with the Mezmo Platform
Manage Source Data
Build Telemetry Pipelines
Monitor Data and Create Alerts
Pipeline Destinations
Pipeline Processors
Reference
Other Mezmo Resources
Title
Message
Create new category
What is the title of your new category?
Edit page index title
What is the title of the page index?
Edit category
What is the new title of your category?
Edit link
What is the new title and URL of your link?
Sudden Increase in Source Volume
Copy Markdown
Open in ChatGPT
Open in Claude
Connect to Cursor
Connect to VS Code
This alert is triggered when there is a 60% increase in data volume compared to a prior window.
General Configuration
| Field | Value |
|---|---|
| Name | Sudden increase in source volume. |
| Description | Triggers when a source volume increases by 60% compared to prior window. |
Evaluation and Condition Configuration
| Field | Value |
|---|---|
| Operation | Custom |
| Window Type | Tumbling |
| Window Duration (minutes) | 30 |
| Group by Field Paths | .source |
| Operation | Custom |
| Window Type | Tumbling |
| Window Duration (minutes) | 30 |
| Conditional Statement | if (.log_volumepercent_change_greater_or_equal 60) |
| Event Timestamp | .timestamp |
Custom Script
Bash
x
// Receives the current event, metadata and an accumulator object. Logic can be performed// on the event properties and added to the accumulator object for later analysis.// The accumulator is persisted, and will become the emitted event when// conditions are true, OR if the time window naturally expires. Those same conditions// will also be evaluated against the emitted event to determine if the alert should// be triggered.function alertAggregation(accum, event, metadata) { let new_accum = accum if (!new_accum.message.log_volume) { const accum_str = JSON.stringify(accum) const accum_length = accum_str.length new_accum = {message: {log_volume: accum_length}} } const event_str = JSON.stringify(event) const event_length = event_str.length new_accum.message.log_volume = new_accum.message.log_volume + event_length return new_accum}Type to search, ESC to discard
Type to search, ESC to discard
Type to search, ESC to discard
Last updated on Aug 22, 2024
Was this page helpful?
Next to read:
Set Up Pipeline DestinationsDiscard Changes
Do you want to discard your current changes and overwrite with the template?
Archive Synced Block
Message
Create new Template
What is this template's title?
Delete Template
Message