filebeat 使用pipeline 收集nginx日志到

1,首先格式化nginx日志格式

2,输入ingest_pipeline自定义模板

3,将自定义template录入es

4,安装并编辑filebeat配置

传送门:https://www.elastic.co/cn/downloads/past-releases[……]

Read more

发表在 ELK日志服务器 | 留下评论

升级confluence导致Application Link (应用程序链接)莫名500

最近将confluence升级到了7.4,发现Application Link 点开莫名其妙报500,没有任何输出信息,后来经过一番检查,原来是license那里的授权信息有问题,server ID $action.sid变成了这样,正常应该是16位数的信息

官方解决方案传送门https://[……]

Read more

发表在 linux | 留下评论

rsyslogd内存占用很高解决方案

解决方法(限制服务内存使用率)

1、修改rsyslogd服务配置文件

在Service配置中添加MemoryAccounting=yes,MemoryMax=80M,MemoryHigh=8M三项如下所示。

通常情况下rsyslogd大小只有5M,所以将内存上限设置为8M,[……]

Read more

发表在 linux | 留下评论

Linux centos7 ssh多次登录失败后锁定用户

1、修改配置文件

增加

各参数解释

解除锁定方法

[……]

Read more

发表在 linux | 留下评论

域名不带 www 跳转到www

[……]

Read more

发表在 nginx | 留下评论