Commit dfbbca81 authored by litaolemo's avatar litaolemo

update

parent 0e95b4ee
......@@ -296,6 +296,7 @@ def get_hot_crawler_data_count(index, start_ts):
}
}
}
print(search_body)
search_res = es_framework.search(body=search_body, index=index)
platform_count = search_res["aggregations"]["NAME"]["buckets"]
return platform_count
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment