Ejemplo n.º 1
0
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")
Ejemplo n.º 2
0
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)
Ejemplo n.º 3
0
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')
Ejemplo n.º 4
0
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')