发布时间:2019-09-17 07:44:29编辑:auto阅读(2132)
os
json
datetime datetime
django.http HttpResponse
re
elasticsearch Elasticsearch
es = Elasticsearch(
[]=)
res8 = es.search(
==={
:{
:{
:{
::}
}
}
}
)
statistic():
():
hit res8[][]:
a= (%hit + %hit[])
a= re.split(a);
a
row a:
id = row[]
= row[]
id
HttpResponse(a)
上一篇: Python与Cisco的事儿之三
下一篇: python学习之认识fabric
51967
51768
42052
38894
33390
30355
28994
24013
23926
22286
480°
2651°
3347°
2766°
2758°
3537°
2718°
3547°
5848°
5634°