01 2017 档案
摘要:#!/bin/bashif [ -n "$1" ]; theneth_name=$1elseeth_name="eth0"fi i=0 send_o=`ifconfig $eth_name | grep bytes | awk '{print $6}' | awk -F : '{print $2}'
阅读全文
摘要:1.Logstash收集tomcat日志时报错warn: log4j:WARN No appenders could be found for logger (org.apache.http.client.protocol.RequestAuthCache).log4j:WARN Please in
阅读全文
摘要:log_format logstash "remote_addr | $time_local | $request | $status | $body_bytes_sent | " "$request_body | $content_length | $http_referer | $http_us
阅读全文