当前位置:网站首页>Logstash ~ detailed explanation of logstash configuration (logstash.yml)
Logstash ~ detailed explanation of logstash configuration (logstash.yml)
2022-07-04 15:27:00 【Fly link】
File path logstash/config/logstash.yml
# ---------- Node identity ----------
# The name of the node , Default hostname
node.name: test
# ---------- Data path ----------
# Data storage path , Default LOGSTASH_HOME/data
path.data:
# ---------- Pipeline Settings ----------
# pipeline ID, Default main
pileline.id: main
# Operation of output channel workers Data volume , Default cpu The core number
pipeline.workers:
# The maximum number of events that a single worker thread will input from the phone before trying to execute its filter and output , Default 125
pipeline.batch.size: 125
# Before dispatching smaller batches to the pipeline , The number of milliseconds to wait , Default 50ms
pipeline.batch.delay: 50
# This value is true when , Even if there are still running events in memory , It will also enforce. Logstash Exit during shutdown
pipeline.unsafe_shutdown: false
# Pipeline event sequencing
# optional : auto,true,false, Default auto
pipeline.ordered: auto
# ---------- Pipeline Configuration Settings ----------
# Profile path
path.config:
# Pipeline configuration string of the main pipeline
config.string:
# The value is true when , Check if the configuration is valid , And then quit , Default false
config.test_and_exit: false
# The value is true when , Periodically check whether the configuration has changed , And reload the configuration after the change , Default false
config.reload.automatic: false
# Time interval for checking configuration file changes , Default 3s
config.reload.interval: 3s
# The value is true when , Display the fully compiled configuration as debug log messages , The default is false
config.debug: false
# The value is true when , Open transfer
config.support_escapes: false
# ---------- HTTP API Settings ----------
# Open or not htp visit , Default true
http.enabled: true
# Bind host address , It can be ip, Host name , Default 127.0.0.1
http.host: 127.0.0.1
# Service listening port , It can be a single port , It can also be a range port , Default 9600-9700
http.port: 9600-9700
# ---------- Module Settings ----------
# Module definition , Must be an array
# The format of module variable name must be var.PLUGIN_TYPE.PLUGIN_NAME.KEY
modules:
- name: MODULE_NAME
var.PLUGINTYPE1.PLUGINNAME1.KEY1: VALUE
var.PLUGINTYPE1.PLUGINNAME1.KEY2: VALUE
var.PLUGINTYPE2.PLUGINNAME1.KEY1: VALUE
var.PLUGINTYPE3.PLUGINNAME3.KEY1: VALUE
# ---------- Queuing Settings ----------
# Internal queuing model of event buffer , optional :memory,persisted, Default memory
queue.type: memory
# Enable persistent queues (queue.type: persisted) The directory path where the data file will be stored
# Default path.data/queue
path.queue:
# Enable persistent queues (queue.type: persisted) after , The maximum number of unread events in the queue
# Default 0
queue.max_events: 0
# Enable persistent queues (queue.type: persisted) after , The total capacity of the queue , Unit byte , Default 1024mb
queue.max_bytes: 1024mb
# Enable persistent queues (queue.type: persisted) after , The maximum before the mandatory checkpoint ACKed Number of events , Default 1024
queue.checkpoint.acks: 1024
# Enable persistent queues (queue.type: persisted) after , Maximum written time before mandatory checkpoint , Default 1024
queue.checkpoint.writes: 1024
# Enable persistent queues (queue.type: persisted) after , The interval between checkpoints , Company ms, Default 1000ms
queue.checkpoint.interval: 1000
# ---------- Dead-Letter Queue Settings ----------
# Whether to enable plug-in support DLQ Signs of function , Default false
dead_letter_queue.enable: false
# dead_letter_queue.enable by true when , The maximum size of each dead letter queue
# If the size of the dead letter queue exceeds this value , Is deleted , Default 1024mb
dead_letter_queue.max_bytes: 1024mb
# Dead letter queue storage path , Default path.data/dead_letter_queue
path.dead_letter_queue:
# ---------- Debugging Settings ----------
# Log output level , Options :fatal,error,warn,info,debug,trace, Default info
log.level: info
# Log format , Options :json,plain, Default plain
log.format:
# Log path , Default LOGSTASH_HOME/logs
path.logs:
# ---------- Other Settings ----------
# Plug in storage path
path.plugins: []
# Whether to enable log separation of each pipeline in different log files
# Default false
pipeline.separate_logs: false
=>=>=>=>=> Source of the article <=<=<=<=<=
边栏推荐
- 都在说DevOps,你真正了解它吗?
- Quick introduction to automatic control principle + understanding
- 2022年九大CIO趋势和优先事项
- 這幾年爆火的智能物聯網(AIoT),到底前景如何?
- .Net之延迟队列
- C implementation defines a set of intermediate SQL statements that can be executed across libraries
- 干货 | fMRI标准报告指南新鲜出炉啦,快来涨知识吧
- Redis publish and subscribe
- 文本挖掘工具的介绍[通俗易懂]
- %f格式符
猜你喜欢
Redis shares four cache modes

Redis publish and subscribe

Optimization method of deep learning neural network

They are all talking about Devops. Do you really understand it?

函数式接口,方法引用,Lambda实现的List集合排序小工具

中国主要城市人均存款出炉,你达标了吗?

lnx 高效搜索引擎、FastDeploy 推理部署工具箱、AI前沿论文 | ShowMeAI资讯日报 #07.04

Guitar Pro 8win10 latest guitar learning / score / creation

C1 certification learning notes 3 -- Web Foundation

What is the future of the booming intelligent Internet of things (aiot) in recent years?
随机推荐
Korean AI team plagiarizes shock academia! One tutor with 51 students, or plagiarism recidivist
Understand the context in go language in an article
Unity脚本生命周期 Day02
Luo Gu - some interesting questions 2
MySQL~MySQL给已有的数据表添加自增ID
MYSQL索引优化
Dry goods | fMRI standard reporting guidelines are fresh, come and increase your knowledge
左右对齐!
. Net applications consider x64 generation
Who the final say whether the product is good or not? Sonar puts forward performance indicators for analysis to help you easily judge product performance and performance
Ffmpeg Visual Studio development (IV): audio decoding
03 storage system
Redis 發布和訂閱
flutter 报错 No MediaQuery widget ancestor found.
输入宽度!
C1 certification learning notes 3 -- Web Foundation
.Net 应用考虑x64生成
夜天之书 #53 Apache 开源社群的“石头汤”
宽度精度
案例分享|金融业数据运营运维一体化建设