def logs(): topn = request.args.get('topn', 10) topn = int(topn) if str(topn).isdigit() else 10 rt_list = loganalysis.get_topn(topn=topn) return render_template('logs.html', rt_list=rt_list, title="topn_log")
def log_show(): topn=request.args.get('topn',10) topn = int(topn) if str(topn).isdigit() else 10 rt_list = get_topn(topn=topn) return render_template('log_show.html',rt_list=rt_list)
def logs(): topn = request.args.get('topn', 10) topn = int(topn) if str(topn).isdigit() else 10 rt_list = loganalysis.get_topn(topn=topn) return render_template('logs.html', rt_list=rt_list, title='topn log')
def log(): topn = request.args.get('topn',10) topn = int(topn) if str(topn).isdigit() else 10 rt_list = get_topn(topn=topn) return render_template('log.html',rt_list=rt_list,title_log='topn log')