码迷,mamicode.com
首页 >  
搜索关键字:logstash rsyslog nginx日志    ( 2329个结果
配置Haproxy增加日志记录功能
CentOS 7上yum安装的Haproxy,默认没有记录日志。需要做一下配置才能记录日志。 1.创建日志文件/var/log/haproxy/haproxy.log cd /var/log sudo mkdir haproxy cd haproxy sudo touch haproxy.log sudo chmod a+w haproxy.log 2.开启rsyslog的h...
分类:其他好文   时间:2015-04-08 18:05:57    阅读次数:144
关于阿里云SLB remote addr显示为公网IP分析
nginx日志设置如下log_formataccess‘$remote_addr-$remote_user[$time_local]"$request"‘‘$status$body_bytes_sent"$http_referer"‘‘"$http_user_agent""$request_body""$http_x_forwarded_for"-"$http_soapaction""$request_time"‘;$remote_addr记录的是阿里云SLB内网转发地址..
分类:其他好文   时间:2015-04-04 19:53:52    阅读次数:178
nginx日志配置(cookie,header,post等字段记录)
如果你对nginx日志格式,有这样那样的要求。那么就看一下说明吧。$remote_addr The remote host$remote_user The authenticated user (if any)$time_local The time of...
分类:其他好文   时间:2015-04-03 20:50:29    阅读次数:275
Nginx日志切割
Nginx日志切割
分类:其他好文   时间:2015-04-02 19:08:07    阅读次数:107
单机sudo日志审计
#####################################################本文内容来自《老男孩linux运维实战培训》学生—何旭东如有转载,请务必保留本文链接及本内容版权信息。欢迎广大运维同仁一起交流linux/unix网站运维技术!QQ:345078833E-mail:345078833@qq.com#########################..
分类:其他好文   时间:2015-04-02 16:44:39    阅读次数:195
logstash中的类型
logstash中的类型 array boolean bytes codec hash number password path string arrayAn array can be a single string value or multiple values. If you specify the same setting multiple times, it appends to the...
分类:其他好文   时间:2015-04-01 17:38:19    阅读次数:161
【转载】使用logstash+elasticsearch+kibana快速搭建日志平台
原文链接:http://www.cnblogs.com/buzzlight/p/logstash_elasticsearch_kibana_log.html日志的分析和监控在系统开发中占非常重要的地位,系统越复杂,日志的分析和监控就越重要,常见的需求有:根据关键字查询日志详情监控系统的运行状况统计分...
分类:其他好文   时间:2015-03-21 11:01:45    阅读次数:227
nginx日志切割脚本
1.今天本来想看下nginx的错误日志,结果打开却刷出密密麻麻的日志,因为nginx本身不带有自动切割日志,累积太多的结果。这个时候就很烦了,没办法,我只能写参考一下别人的日志切割,写了自己所想要的日志切割脚本。2.脚本如下:#!/bin/bash#log_path="/usr/local/nginx/logs"p..
分类:其他好文   时间:2015-03-20 18:59:13    阅读次数:155
Tutorial: 使用rsyslog向kafka, elasticsearch推送日志
本文介绍了一种简单易行的使用rsyslog向kafka,elasticsearch推送日志的方法;rsyslog的omkafka插件的安装、使用方法;rsyslog的omelasticsearch插件的安装、使用方法。...
分类:其他好文   时间:2015-03-20 18:41:44    阅读次数:374
rsyslog
http://www.rsyslog.com/http://www.rsyslog.com/doc/v5-stable/troubleshooting/troubleshoot.htmlRSYSLOG is the rocket-fast system for log processing.It o...
分类:其他好文   时间:2015-03-20 18:04:16    阅读次数:171
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!