Merge "the call chian only return the orign data"

This commit is contained in:
Zuul 2021-06-03 02:34:32 +00:00 committed by Gerrit Code Review
commit 967924a363

View File

@ -68,12 +68,12 @@ class ESSearchObj(object):
} }
result = self.es.search(index="flog*", body=doc) result = self.es.search(index="flog*", body=doc)
log_list = self.parse_result(result) log_list = self.parse_result(result)
self.sort_result_by_time(log_list) # self.sort_result_by_time(log_list)
data = {} data = {}
data["log_size"] = len(log_list) data["log_size"] = len(log_list)
data["global_id"] = global_id data["global_id"] = global_id
data["analysis"] = self.analysis_log(log_list) data["analysis"] = log_list
return data return data