阿里云文档 2025-04-17

Nginx模式解析插件

Logtail Nginx模式插件支持根据log_format中的定义将日志内容结构化,解析为多个键值对形式。

阿里云文档 2025-04-11

如何使用SPL的正则表达式解析Nginx访问日志

Nginx访问日志记录了用户访问的详细信息,解析Nginx访问日志对业务运维具有重要意义。本文介绍如何使用正则表达式函数解析Nginx访问日志。

阿里云文档 2025-03-20

日志服务主机文本日志采集

本文将介绍在主机场景下手动安装日志服务Logtail采集文本日志的流程,阅读本文将帮助您在主机场景下完成Logtail文本日志的采集。

阿里云文档 2025-01-08

如何部署及查看Nginx Ingress访问日志

阿里云Ingress组件除了提供外部可访问的URL、负载均衡、SSL、基于名称的虚拟主机外,还支持将所有您的HTTP请求日志记录到标准输出中。您可以在创建集群时启用日志服务,在阿里云日志服务SLS查看Nginx Ingress的访问日志分析报表和监控Nginx Ingress实时状态。本文介绍Nginx Ingress访问日志的部署及查看。

问答 2024-05-29 来自:开发者社区

higress 支持像 ingress-nginx-controller 按照域名分割日志么?

higress 支持像 ingress-nginx-controller 按照域名分割日志么?

文章 2022-02-16 来自:开发者社区

nginx分割日志管理

nginx分割日志管理 1.编辑脚本文件cut_nginx_log.sh,添加以下内容: logs_path="/var/log/nginx/" mkdir -p ${logs_path}$(date -d "yesterday" + "%Y")/$(date -d "yesterday" + "%m")/ mv ${logs_path}access.log ${logs_path}$(da...

文章 2021-11-19 来自:开发者社区

【Nginx】如何按日期分割Nginx日志?看这一篇就够了!!

分割Nginx日志首先,我们要创建一个脚本文件,用来分割Nginx日志,具体脚本如下:vim /usr/local/nginx-1.19.1/cutnginxlog.sh脚本内容如下:#!/bin/sh # Program: # Auto cut nginx log script. # nginx日志路径 LOGS_PATH=/usr/local/nginx-1.19.1/logs T...

文章 2014-09-18 来自:开发者社区

nginx 定时分割日志

nginx  是没有自动分割日志的,所以就需要自己实现日志分割 原   站点所有日志都放在一个目录里(文件名即站点名) 分割方式:每个站点一个目录,每天生成一个日志文件,根据文件名称生成目录 呆狐狸.凨 1.lanmps_cut_log.sh  shell文件 #!/bin/bash PATH=/bin:/sbin:/usr/bin:/usr/sbin:/u...

问答 2012-02-16 来自:开发者社区

求 nginx 配置分割网站日志

求 nginx 配置分割网站日志,长期积累日志文件太大了,不便于阅读,应该怎么配置分割成按照日期的日志文件?求解答

本页面内关键词为智能算法引擎基于机器学习所生成,如有任何问题,可在页面下方点击"联系我们"与我们沟通。

产品推荐

{"cardStyle":"productCardStyle","productCode":"aliyun","productCardInfo":{"productTitle":"部署Nginx并通过Ingress暴露和监控服务","productDescription":"在阿里云容器服务(后简称ACK)集群中通过YAML文件快速部署一个Nginx应用并通过Nginx Ingress暴露和监控服务,结合使用ACK、日志服务、专有网络搭建业务部署运维方案。","productContentLink":"https://www.aliyun.com/solution/tech-solution/nginx_ingress","isDisplayProductIcon":true,"productButton1":{"productButtonText":"方案详情","productButtonLink":"https://www.aliyun.com/solution/tech-solution/nginx_ingress"},"productButton2":{"productButtonText":"一键部署","productButtonLink":"https://help.aliyun.com/document_detail/2400022.html"},"productButton3":{"productButtonText":"查看更多技术解决方案","productButtonLink":"https://www.aliyun.com/solution/tech-solution/"},"productPromotionInfoBlock":[{"$id":"0","productPromotionGroupingTitle":"解决方案推荐","productPromotionInfoFirstText":"MSE实现全链路灰度","productPromotionInfoFirstLink":"https://www.aliyun.com/solution/tech-solution/iflgbomse","productPromotionInfoSecondText":"云架构必修课:云上高可用架构","productPromotionInfoSecondLink":"https://www.aliyun.com/solution/tech-solution/hablog"}],"isOfficialLogo":false},"activityCardInfo":{"activityTitle":"","activityDescription":"","cardContentBackgroundMode":"LightMode","activityContentBackgroundImageLink":"","activityCardBottomInfoSelect":"activityPromotionInfoBlock"}}