query index=ddos | rex field=_raw "(?<time>.*),(<alert_num>.*),(<error>.*),(<duration>.*)" event 20230112, 1378, error A/B/C, duration 100 20230112, 1378, error A/B, duration 2 20230112, 1379, error A/B/D, duration 300 20230112, 1379, error A/B, duration 4 and then query index=ddos | rex field=_raw "(?<time>.*),(<alert_num>.*),(<error>.*),(<duration>.*)" | eventstats max(duration) as maxDuration | where duration=maxDuration event (only 1) 20230112, 1379, error A/B/D, duration 300 I want to display two event that different alert_num 20230112, 1378, error A/B/C, duration 100 20230112, 1379, error A/B/D, duration 300
... View more