排序
ELK收集nginx日志并展示来源IP地图
修改Nginx配置文件 # 修改日志模式 # json 为规则名字 escape=json 设置日志文件格式为json log_format json escape=json '{'@timestamp':'$time_iso8601',' ...
从零搭建日志采集报警系统(ELK+FileBeat)
系统选型 Elastic 公司有一套免费开源的日志采集系统(ELK),所以我选择拿来即用。 日志流: 日志文件→FileBeat→Logstash→ElasticSearch→Kibana Filebeat Filebeat是一款轻量级日志采集器...
Zabbix-Grafana图形展示软件
下载grafana rpm包 # 下载Rpm包 wget https://dl.grafana.com/oss/release/grafana-7.4.0-1.x86_64.rpm # 安装grafana sudo yum install -y grafana-7.4.0-1.x86_64.rpm # Grafana安装zabbix插...
Python数据可视化之Matplotlib
matplotlib基本要点 基本使用 from matplotlib import pyplot as plt # 导入pyplot x = range(2,26,2) # 数据在x轴的位置,是一个可迭代对象 y =[15,13,14.5,17,20,25,26,26,24,22,18,15] # 数据...