From 0222e79afe45d9fc55aed9a7e62ca239c228ab73 Mon Sep 17 00:00:00 2001 From: 554325746@qq.com <554325746@qq.com> Date: 星期一, 23 十二月 2019 10:24:12 +0800 Subject: [PATCH] add sys comeback sh --- controllers/monitoring.go | 5 +++-- 1 files changed, 3 insertions(+), 2 deletions(-) diff --git a/controllers/monitoring.go b/controllers/monitoring.go index 00068b7..7741c00 100644 --- a/controllers/monitoring.go +++ b/controllers/monitoring.go @@ -72,12 +72,13 @@ linkTagInfoTaskIdStr + linkTagInfoAnalyServerFilterStr + "{\"range\":{\"linkTagInfo.picDate\":{\"gte\":\"now+8h-15s\",\"lt\":\"now+8h\"}}}" + + "]}}" + "]}}," + "\"sort\":[{\"picDate\":{\"order\":\"desc\"}}]," + "\"size\":\"1000\"," + "\"_source\":{\"includes\":[],\"excludes\":[\"*.feature\"]}}" - fmt.Println(prama) - fmt.Println(url) + logger.Debug("monitor param:",prama) + logger.Debug("monitor url:",url) tokenRes := esutil.GetEsDataReq(url, prama, true) /* for _, value := range tokenRes["datalist"].([]interface{}) { if value.(map[string]interface{})["personId"] != nil { -- Gitblit v1.8.0