-
Notifications
You must be signed in to change notification settings - Fork 0
jokerbo1/LogAnalysis
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
目前 log agent 功能基本完成了 logserver 采用iris 来实现 mvc框架 ,也可以暴露部分接口API 框架基本搭建起来了 目前需要实现的是 1.页面展示http code 的列表包括占比 2.页面展示 不同日志文件的 日志列表 3.页面可以实现 不同日志的过滤筛选 以及比较 4.实现日志的常用的统计功能 ,比如说某个日志的 url 访问状态 可以参考sql like 模糊查询 5.实现 日志通过前端触发,来实现动态过滤筛选处理日志,尽量实现效率高的日志 6.支持日志通过关键词查询 7.看看能否对有些日志实现 图表统计 ,可以考虑使用highcharts 或者 html5charts 8.搜集尽可能多的需要关注的参数,并且直观展示,方便作为排查问题的参考 架构采用 telegraf:数据采集 logparser: patterns = ["%{IPV4:remote_addr:tag}\\|%{NGUSER:remote_user:tag}\\|\\[%{HTTPDATE:time_local:tag}\\]\\|%{URIHOST:host:tag}\\|%{VRHT:request:tag}\\|%{INT:status:tag}\\|%{NUMBER:body_bytes_sent:tag}\\|%{NEWHREFER:http_referer}\\|%{DATA:http_user_agent:tag}\\|%{NGUSER:http_x_forwarded_for:tag}\\|%{NUMBER:request_time:tag}\\|%{NUMBER:upstream_response_time:tag}\\|%{NUMBER:upstream_connect_time:tag}\\|%{NUMBER:upstream_header_time:tag}\\|%{DATA:upstream_http_via:tag}\\|%{GREEDYDATA:upstream_addr:tag}\\|%{GREEDYDATA:upstream_http_x_e_reqid}\\|%{GREEDYDATA:upstream_http_x_m_reqid}"] # ## Name of the outputted measurement name. measurement = "nginx_access_log" # ## Full path(s) to custom pattern files. # custom_pattern_files = [] # ## Custom patterns can also be defined here. Put one pattern per line. custom_patterns = ''' VRHT %{WORD} %{URIPATHPARAM} HTTP/%{NUMBER:float} NEWHREFER (%{URI}|-)? ''' influxdb:数据收集 influxdb 支持 正则查询 正则表达式是使用golang 的模式 以及自己开发的这个东西用来作为日志分析 。 。 。 。 。 。 。
About
log
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published