摘要: 1. # -*- coding: utf-8 -*- import time from elasticsearch import Elasticsearch import datetime def create_snapshot(es): # 保存时间戳计算 # now nowtime = date 阅读全文