Skip to content

Network Data Detection


Current Document Scope

This document is the second step in the detection rule configuration process. After completing the configuration, return to the main document to continue to Step 3: Event Notification.

Used to monitor network performance metrics in the workspace, allowing users to set threshold ranges and trigger alerts when metrics exceed these thresholds. Supports configuring alert rules for individual metrics and allows customization of alert severity levels.

Data scope: Supports metric data from the netflow and httpflow data sources.

Applicable to monitoring key network-level performance metrics. For example:

  • Monitor network-layer metrics such as TCP connections, retransmissions, and latency from the netflow Host data source
  • Monitor application-layer metrics such as requests, errors, error rate, and response time from the httpflow data source

Detection Configuration

Detection Frequency

Set the time interval for executing detection.

  • Preset options: 1 minute, 5 minutes (default), 15 minutes, 30 minutes, 1 hour, 6 hours, 12 hours, 24 hours

  • Crontab mode: Click "Switch to Crontab Mode" to configure a custom interval. Supports configuring scheduled task execution based on intervals such as seconds, minutes, hours, days, months, and weeks.

Detection Interval

Set the data time range queried for each detection (❗️The detection interval should be greater than or equal to the detection frequency and must match the actual data reporting interval to avoid missed or false alerts).

Detection Frequency Detection Interval (dropdown options)
30s 1m/5m/15m/30m/1h/3h
1m 1m/5m/15m/30m/1h/3h
5m 5m/15m/30m/1h/3h
15m 15m/30m/1h/3h/6h
30m 30m/1h/3h/6h
1h 1h/3h/6h/12h/24h
6h 6h/12h/24h
12h 12h/24h
24h 24h
  • Custom format: Enter a custom detection interval, e.g., 20m (last 20 minutes), 2h (last 2 hours), 1d (last 1 day).

Detection Metrics

Set the metrics for detection data. You can set metric data within a specified time range for all services or a single service in the workspace service list (❗️Avoid selecting high-cardinality fields as detection dimensions. Improper configuration with overly broad trigger conditions may cause frequent alerts. The current query returns a maximum of 100,000 records).

Configuration Elements

Configuration Item Description
Data Source Supports selecting:
• netflow: Network traffic data (TCP-layer metrics)
• httpflow: HTTP traffic data (application-layer metrics)
Metric Displays the corresponding metrics based on the selected data source:

netflow metrics:
• Bytes Sent
• Bytes Received
• TCP Latency
• TCP Jitter
• TCP Connection Count
• TCP Retransmission Count
• TCP Close Count

httpflow metrics:
• Request Count
• Error Count
• Error Rate
• Average Response Time
• P99 Response Time
• P95 Response Time
• P75 Response Time
• P50 Response Time
Filter Conditions Filter the detection metric data based on metric tags to limit the data scope for detection; supports adding one or more tag filters; supports fuzzy match and fuzzy non-match filter conditions
Detection Dimensions All corresponding string (keyword) fields in the configuration data can be selected as detection dimensions. Currently, up to three fields can be selected as detection dimensions. By combining fields from multiple detection dimensions, you can identify a specific detection object. The system determines whether the statistical metric corresponding to a detection object meets the trigger condition threshold, and generates an event if the condition is met.

(For example, if you select the detection dimensions host and host_ip, the detection object can be {host: host1, host_ip: 127.0.0.1}.)

Trigger Conditions

Configure trigger conditions and severity levels. When the query result contains multiple values, an event is generated if any value meets the trigger condition.

Supports configuring four threshold levels—Fatal, Critical, Major, Warning—and a Normal recovery condition.

Level Configuration Description
Fatal When Result >= [value] Highest-severity alert; requires immediate action
Critical When Result >= [value] High-severity alert; requires priority handling
Major When Result >= [value] Medium-severity alert; requires attention
Warning When Result >= [value] Low-severity alert; keep an eye on it
Normal [N] detections with no event generated After the detection rule takes effect, if the data detection result recovers from an abnormal state (Fatal, Critical, Major, or Warning) to normal within the configured custom number of detections, a recovery alert event is triggered.
❗️ Recovery alert events are not subject to Alert Mute. If the number of detections for recovery alert events is not set, the alert event will not recover and will remain in Events > Unrecovered Events List

For more details, see Event Severity Description.

Advanced Options

Consecutive Trigger Check

When enabled, an event is generated only when the trigger condition is continuously met, preventing false alerts caused by transient fluctuations (❗️The maximum configuration limit is 10 consecutive times).

Bulk Alert Protection

Enabled by default.

When the number of alerts generated by a single detection exceeds the preset threshold, the system automatically switches to a status-based aggregation policy: it no longer processes alert targets one by one; instead, it generates and pushes a small number of summary alerts based on event status.

This ensures timely notifications while significantly reducing alert noise and avoiding timeout risks caused by processing too many alerts.

When this switch is enabled, the Event Details of such events generated after the monitor subsequently detects an anomaly will not display history records or related events.

No Data

Processing policy when the query result for the detection metric within the detection interval is empty:

Option Description
Do not trigger an event (default) Does not trigger an event when there is no data; suitable for scenarios where data gaps are allowed.
Treat query result as 0 Treats empty data as a value of 0 and continues to determine whether to generate an abnormal event according to the configured trigger conditions.
Trigger No Data event Generates one no-data event for each round of no data for the same object; if data recovers and then becomes unavailable again, a new event can be generated.
Continuously trigger No Data events When the same object continuously meets the no-data condition, generates no-data events at the detection frequency until data recovers. For configuration, see No Data.
Trigger Fatal event Triggers a Fatal-severity event when there is no data.
Trigger Critical event Triggers a Critical-severity event when there is no data.
Trigger Major event Triggers a Major-severity event when there is no data.
Trigger Warning event Triggers a Warning-severity event when there is no data.
Trigger Recovery event Triggers a recovery event when there is no data.

After selecting an action that triggers an event, enter the no-data duration. It is recommended to set it to ≥ the detection interval. When the no-data condition and an abnormal condition are met at the same time, the system applies the no-data processing result first.

When Trigger Conditions, No Data, and Information Generation are configured at the same time, triggers are evaluated in the following priority: No Data > Trigger Conditions > Information Event Generation.

That is, it first determines whether there is no data, then whether the threshold is triggered, and finally whether to generate an information event.

Information Generation

After enabling this option, you must configure Information Generation Conditions. The system writes an "Information" event only when the detection result does not trigger any of the "Fatal", "Critical", "Major", or "Warning" thresholds and meets the information generation conditions.

Suitable for scenarios that require recording normal status changes or low-priority information.

Subsequent Configuration

After completing the above detection configuration, continue with the following:

  1. Event Notification: Define the event title, content, notification members, no-data handling, and associated incidents;

  2. Alert Configuration: Select an alert policy, set notification targets and mute periods;

  3. Relate: Associate a dashboard for quick navigation to view data;

  4. Permissions: Set operation permissions to control who can edit or delete this monitor.