LogStash采集Nginx日志到Kafka操作手册
nginx配置编辑nginx配置文件vim /usr/local/nginx/conf/nginx.conf定义日志格式为json,修改http模块http { include mime.types; default_type application/octet-stream; log_format logstash_json '{ "@timestamp": "$time_iso8601", ' ...
原创
2021-09-03 17:28:17 ·
555 阅读 ·
0 评论