转载请标明出处:
http://blog.csdn.net/qq_27818541/article/details/108836968
本文出自:【BigManing的博客】

Setup ILM

从7.0版开始,Filebeat在连接到支持生命周期管理的群集时默认使用索引生命周期管理。Filebeat自动加载默认策略并将其应用于Filebeat创建的任何索引。

index lifecycle management (ILM) 索引生命管理,如果它启用了,那么会忽略output.elasticsearch.index 里面的设置。

新特性:当现有索引达到指定的大小或期限时,使用索引生命周期策略自动将过渡到新索引

常规配置

setup.ilm.enabled: auto
setup.ilm.rollover_alias: "filebeat"  # 前缀
# filebeat-2020.09.28-000001
setup.ilm.pattern: "{now/d}-000001"   

需要了解Date math

详细配置


# Configure index lifecycle management (ILM). These settings create a write
# alias and add additional settings to the index template. When ILM is enabled,
# output.elasticsearch.index is ignored, and the write alias is used to set the
# index name.# Enable ILM support. Valid values are true, false, and auto. When set to auto
# (the default), the Beat uses index lifecycle management when it connects to a
# cluster that supports ILM; otherwise, it creates daily indices.
setup.ilm.enabled: auto# Set the prefix used in the index lifecycle write alias name. The default alias
# name is 'filebeat-%{[agent.version]}'.
setup.ilm.rollover_alias: "filebeat"# Set the rollover index pattern. The default is "%{now/d}-000001".
# filebeat-2020.09.28-000001
setup.ilm.pattern: "{now/d}-000001"# Set the lifecycle policy name. The default policy name is
# 'filebeat'.
setup.ilm.policy_name: "mypolicy"# The path to a JSON file that contains a lifecycle policy configuration. Used
# to load your own lifecycle policy.
setup.ilm.policy_file:# Disable the check for an existing lifecycle policy. The default is true. If
# you disable this check, set setup.ilm.overwrite: true so the lifecycle policy
# can be installed.
setup.ilm.check_exists: true# Overwrite the lifecycle policy at startup. The default is false.
setup.ilm.overwrite: false

filebeat7.7.0相关详细配置预览- Setup ILM相关推荐

  1. filebeat7.7.0相关详细配置预览- Filebeat inputs

    文章目录 前言 1.Azure eventhub 2.Cloud Foundry 3.Container 4.~~Docker~~ 5.Google Pub/Sub 6.HTTP JSON 7.Kaf ...

  2. filebeat7.7.0相关详细配置预览- processors - add_host_metadata

    转载请标明出处: http://blog.csdn.net/qq_27818541/article/details/108396028 本文出自:[BigManing的博客] add_host_met ...

  3. filebeat7.7.0相关详细配置预览- Paths

    转载请标明出处: http://blog.csdn.net/qq_27818541/article/details/108088261 本文出自:[BigManing的博客] 一.前言 用于定义Fil ...

  4. filebeat7.7.0相关详细配置预览- processors

    文章目录 一.前言 二.processor 1.add_cloud_metadata 2.add_cloudfoundry_metadata 3.add_docker_metadata 4.add_f ...

  5. filebeat7.7.0相关详细配置预览- processors - script

    转载请标明出处: http://blog.csdn.net/qq_27818541/article/details/108500499 本文出自:[BigManing的博客] script 使用Jav ...

  6. filebeat7.7.0相关详细配置预览- processors - add_id

    转载请标明出处: http://blog.csdn.net/qq_27818541/article/details/108396139 本文出自:[BigManing的博客] add_id 自动追加 ...

  7. filebeat7.7.0相关详细配置预览- processors - timestamp

    转载请标明出处: http://blog.csdn.net/qq_27818541/article/details/108501113 本文出自:[BigManing的博客] timestamp 从某 ...

  8. filebeat7.7.0相关详细配置预览- processors - add_cloud_metadata

    转载请标明出处: http://blog.csdn.net/qq_27818541/article/details/108395438 本文出自:[BigManing的博客] add_cloud_me ...

  9. filebeat7.7.0相关详细配置预览- processors - rename

    转载请标明出处: http://blog.csdn.net/qq_27818541/article/details/108476933 本文出自:[BigManing的博客] rename 重命名字段 ...

最新文章

  1. C++、嵌入式软开之数据结构
  2. 英文论文中i.e.,e.g.,etc.的正确用法
  3. 信息论3——信道(单符号离散信道,互信息,各种熵)
  4. Swing应用程序中的CDI事件可将UI与事件处理分离
  5. Flutter AppBar 简述
  6. 实现一个符合标准的Promise
  7. 量子计算会带来什么样的革命?
  8. find和chmod结合来修改权限
  9. eclipse部署Javaweb项目
  10. 淘宝面试常见问题的答案来了,你看了吗?(一面及答案)
  11. 10秒钟的Cat 6A网线认证仪_DSX2-5000 CH
  12. BI解决方案分享:地产BI数据分析系统的建设
  13. 薄板样条插值(Thin Plate Spline)
  14. Using the Hardware Scaler for Performance and Efficiency
  15. 学生用计算机怎么玩俄罗斯方块,计算机专业项目二 俄罗斯方块
  16. 分享一个支持离线下载的免费网盘
  17. ubuntu server 7.04(10.04版也行) 挂载移动硬盘
  18. 【冰点】:重庆“高烧”不退
  19. 关于oracle中utl_http,Oracle使用utl_http访问webservice
  20. webpack代理 host文件 微信小程序公众号开发必配

热门文章

  1. Harris角点检测及数据分析
  2. Linux container hand-crafted
  3. 广色域图片Android,广色域手机很厉害?其实安卓手机屏幕的色彩问题一
  4. 最近很多人问我:saiku下载不下来
  5. jav面试基础(1)
  6. 登录页面(含后台)login.php
  7. VLC模拟TS直播流
  8. 产品经理必看电影:当幸福来敲门
  9. Linux-Socket实现模拟群聊(多人聊天室)
  10. 冰雪复古优化服务器,冰雪复古单职业:最适合长久稳定打金的传奇