From 88fd17f8c1d9004691ff7091356d88bbf24838e4 Mon Sep 17 00:00:00 2001 From: doufenghu Date: Sat, 20 Apr 2024 21:29:52 +0800 Subject: [PATCH] add logs by datacenter --- 24.02/tsg_olap_e2e_test/collection.json | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/24.02/tsg_olap_e2e_test/collection.json b/24.02/tsg_olap_e2e_test/collection.json index 52448e5..d084964 100644 --- a/24.02/tsg_olap_e2e_test/collection.json +++ b/24.02/tsg_olap_e2e_test/collection.json @@ -50,7 +50,7 @@ "header": [], "body": { "mode": "raw", - "raw": "{\n \"statement\" : \"select count(*) as cnt from proxy_event where vsys_id=1024 and recv_time >={{Last 5 Minutes Start}}\" ,\n \"output_mode\":\"json\",\n \"exec_mode\": \"oneshot\"\n}", + "raw": "{\n \"statement\" : \"select data_center, count(*) as cnt from proxy_event where vsys_id=1024 and recv_time >={{Last 5 Minutes Start}} group by data_center order by cnt asc\" ,\n \"output_mode\":\"json\",\n \"exec_mode\": \"oneshot\"\n}", "options": { "raw": { "language": "json" @@ -114,7 +114,7 @@ "header": [], "body": { "mode": "raw", - "raw": "{\n \"statement\" : \"select count(*) as cnt from voip_record where vsys_id=1024 and decoded_as='VoIP' and recv_time >={{Last 5 Minutes Start}}\" ,\n \"output_mode\":\"json\",\n \"exec_mode\": \"oneshot\"\n}", + "raw": "{\n \"statement\" : \"select data_center, count(*) as cnt from voip_record where vsys_id=1024 and decoded_as='VoIP' and recv_time >={{Last 5 Minutes Start}} group by data_center order by cnt asc\" ,\n \"output_mode\":\"json\",\n \"exec_mode\": \"oneshot\"\n}", "options": { "raw": { "language": "json" @@ -178,7 +178,7 @@ "header": [], "body": { "mode": "raw", - "raw": "{\n \"statement\" : \"select count(*) as cnt from monitor_event where vsys_id=1024 and recv_time >={{Last 5 Minutes Start}}\" ,\n \"output_mode\":\"json\",\n \"exec_mode\":\"oneshot\"\n}", + "raw": "{\n \"statement\" : \"select data_center, count(*) as cnt from monitor_event where vsys_id=1024 and recv_time >={{Last 5 Minutes Start}} group by data_center order by cnt asc\" ,\n \"output_mode\":\"json\",\n \"exec_mode\":\"oneshot\"\n}", "options": { "raw": { "language": "json" @@ -242,7 +242,7 @@ "header": [], "body": { "mode": "raw", - "raw": "{\n \"statement\" : \"select count(*) as cnt from security_event where vsys_id=1024 and recv_time >={{Last 5 Minutes Start}}\" ,\n \"output_mode\":\"json\",\n \"exec_mode\":\"oneshot\"\n}", + "raw": "{\n \"statement\" : \"select data_center, count(*) as cnt from security_event where vsys_id=1024 and recv_time >={{Last 5 Minutes Start}} group by data_center order by cnt asc\" ,\n \"output_mode\":\"json\",\n \"exec_mode\":\"oneshot\"\n}", "options": { "raw": { "language": "json" @@ -306,7 +306,7 @@ "header": [], "body": { "mode": "raw", - "raw": "{\n \"statement\" : \"select count(*) as cnt from session_record where vsys_id=1024 and recv_time >={{Last 5 Minutes Start}}\" ,\n \"output_mode\":\"json\",\n \"exec_mode\":\"oneshot\"\n}", + "raw": "{\n \"statement\" : \"select data_center, count(*) as cnt from session_record where vsys_id=1024 and recv_time >={{Last 5 Minutes Start}} group by data_center order by cnt asc\",\n \"output_mode\":\"json\",\n \"exec_mode\":\"oneshot\"\n}", "options": { "raw": { "language": "json"