上一页 1 ··· 31 32 33 34 35 36 37 38 39 ··· 177 下一页
摘要: http { include mime.types; default_type application/octet-stream; log_format main '$remote_addr [$time_local] "$request" ' ... 阅读全文
posted @ 2016-09-01 11:17 czcb 阅读(262) 评论(0) 推荐(0) 编辑
摘要: input { stdin { add_field => { "@timestamp" => "2016-08-31T06:35:18.536Z" } codec=>"plain" tags =>["add"] type=>"std" }}out... 阅读全文
posted @ 2016-09-01 10:59 czcb 阅读(134) 评论(0) 推荐(0) 编辑
摘要: zjtest7-frontend:/usr/local/logstash-2.3.4/bin# ./logstash -e 'input{stdin{}} output{stdout{codec=>rubydebug}}'Settings: Default pipeline workers: 1... 阅读全文
posted @ 2016-08-31 15:33 czcb 阅读(118) 评论(0) 推荐(0) 编辑
摘要: DBHost=192.168.32.55DBName= zabbixDBUser=zabbixuserDBPassword=zabbixpassStartTrappers=20MaxHousekeeperDelete=5000 CacheSize=1024MStartDBSyncer... 阅读全文
posted @ 2016-08-31 14:06 czcb 阅读(263) 评论(0) 推荐(0) 编辑
摘要: DBHost=192.168.32.55DBName= zabbixDBUser=zabbixuserDBPassword=zabbixpassStartTrappers=20MaxHousekeeperDelete=5000 CacheSize=1024MStartDBSyncer... 阅读全文
posted @ 2016-08-31 14:06 czcb 阅读(189) 评论(0) 推荐(0) 编辑
摘要: 阅读全文
posted @ 2016-08-31 13:40 czcb 阅读(1331) 评论(0) 推荐(0) 编辑
摘要: 阅读全文
posted @ 2016-08-31 13:40 czcb 阅读(276) 评论(0) 推荐(0) 编辑
摘要: 启动 kibana# /usr/local/kibana-4.1.1-linux-x64/bin/kibanazjtest7-redis:/usr/local/kibana-4.5.3-linux-x64/bin# ./kibana log [10:50:33.506] [info][o... 阅读全文
posted @ 2016-08-31 11:15 czcb 阅读(322) 评论(0) 推荐(0) 编辑
摘要: 在和 codec/multiline 搭配使用的时候,需要注意一个问题,grok 正则和普通正则一样,默认是不支持匹配回车换行的。就像你需要 =~ //m 一样也需要单独指定,具体写法是在表达式开始位置加 (?m) 标记。如下所示:match => { "message" => "(?m)... 阅读全文
posted @ 2016-08-31 09:31 czcb 阅读(1491) 评论(0) 推荐(0) 编辑
摘要: 看elk 看到一个正则;\s+(?\d+(?:\.\d+)?)\s+回顾下:(?:pattern) 匹 配 pattern 但不获取匹配结果,也就是说这是一个非获取匹配,不进行存储供以后使用。这在使用 “或” 字符 (|) 来组合一个模式的各个部分是很有用。例如, ‘industr(?:y|ie... 阅读全文
posted @ 2016-08-30 22:38 czcb 阅读(1029) 评论(0) 推荐(0) 编辑
上一页 1 ··· 31 32 33 34 35 36 37 38 39 ··· 177 下一页