elasticsearch按月建索引,定时删除3个月前索引
<p><span style="text-wrap: nowrap;">1.建模板</span></p><p><span style="text-wrap: nowrap;"><br/></span></p><p><...
51工具盒子
<p><span style="text-wrap: nowrap;">1.建模板</span></p><p><span style="text-wrap: nowrap;"><br/></span></p><p><...
<p>nginx $request_time</p> <p><a href="https://blog.csdn.net/zzhongcy/article/details/105819628">Nginx - request_time和upstream_response_time详解-CSDN博客</a&...
<p>nginx root alias proxy_pass的区别</p> <p><strong>1、alias 路径匹配时,不会自动带上location uri部分,且alias后要加上"/"结尾</strong></p> <p><strong>...
<p>client_max_body_size 用于设置客户端请求体的最大大小限制</p> <p>默认值是1m(即1兆字节)。这个指令用于限制客户端向服务器发送的请求体的最大大小。</p> <p>当客户端发送的请求体超过这个限制时,Nginx将会返回一个"413 Request Entity Too ...
<h3>0-针对Nginx SSL协议进行安全加固</h3> <p>Nginx SSL协议采用TLSv1.2: 1、打开<code>conf/nginx.conf</code>配置文件(or include file in the main configuration file); 2、配置</p> <...
<p>logstash 启动慢,有的需要等1分钟左右。 filebeats 就很快</p> <p>记录读取文件:</p> <pre><code>/usr/share/logstash/data/plugins/inputs/file </code></pre> <h2>1...
<p>elasticsearch-curator</p> <p>项目地址:<a href="https://gitcode.com/elastic/curator?utm_source=artical_gitcode">https://gitcode.com/elastic/curator</a>&...
<p>1- 运行</p> <pre><code>docker run -e CEREBRO_PORT=8080 -p 8080:8080 lmenezes/cerebro </code></pre> <p>2- 官网</p> <p><a href="htt...
发现 rpm 安装的 没有日志输出,只能用二进制的方式, (生产环境建议用二进制方式) 官方文档 :[连接](https://www.elastic.co/guide/en/beats/filebeat/7.17/filebeat-installation-configuration.html) 各个版本: [连接](https://www.elastic.co/guide...
es 日志 保持7天 待完善 在Elasticsearch中,你可以通过索引生命周期管理(ILM)和索引模板来设置只保留最近7天的日志。以下是一个基本的设置示例: 首先,创建一个索引模板,指定所有索引的命名规则,并设置生命周期策略为"log_policy": ``` PUT _template/logs_template { "inde...