当前位置:网站首页>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 <=<=<=<=<=
边栏推荐
- [learning notes] matroid
- web聊天室实现
- Quelles sont les perspectives de l'Internet intelligent des objets (aiot) qui a explosé ces dernières années?
- TechSmith Camtasia studio 2022.0.2 screen recording software
- 怎么判断外盘期货平台正规,资金安全?
- In today's highly integrated chips, most of them are CMOS devices
- 对话龙智高级咨询顾问、Atlassian认证专家叶燕秀:Atlassian产品进入后Server时代,中国用户应当何去何从?
- Unity脚本API—GameObject游戏对象、Object 对象
- Redis 发布和订阅
- 数据库函数的用法「建议收藏」
猜你喜欢
暑期复习,一定要避免踩这些坑!
每周招聘|高级DBA年薪49+,机会越多,成功越近!
力扣刷题01(反转链表+滑动窗口+LRU缓存机制)
Quelles sont les perspectives de l'Internet intelligent des objets (aiot) qui a explosé ces dernières années?
What is the future of the booming intelligent Internet of things (aiot) in recent years?
数据湖治理:优势、挑战和入门
MySQL index optimization
Redis哨兵模式实现一主二从三哨兵
I plan to teach myself some programming and want to work as a part-time programmer. I want to ask which programmer has a simple part-time platform list and doesn't investigate the degree of the receiv
Preliminary exploration of flask: WSGI
随机推荐
MP3是如何诞生的?
Shell 编程基础
Flutter reports an error no mediaquery widget ancestor found
Unity update process_ Principle of unity synergy
MySQL learning notes - data type (numeric type)
LeetCode 35. Search the insertion position - vector traversal (O (logn) and O (n) - binary search)
Redis 發布和訂閱
Preliminary exploration of flask: WSGI
Optimization method of deep learning neural network
[differential privacy and data adaptability] differential privacy code implementation series (XIV)
Unity脚本介绍 Day01
深入JS中几种数据类型的解构赋值细节
MySQL学习笔记——数据类型(2)
夜天之书 #53 Apache 开源社群的“石头汤”
Weekly recruitment | senior DBA annual salary 49+, the more opportunities, the closer success!
对话龙智高级咨询顾问、Atlassian认证专家叶燕秀:Atlassian产品进入后Server时代,中国用户应当何去何从?
Dialogue with ye Yanxiu, senior consultant of Longzhi and atlassian certification expert: where should Chinese users go when atlassian products enter the post server era?
%s格式符
Detailed explanation of MySQL composite index (multi column index) use and optimization cases
Redis publier et s'abonner