当前位置:网站首页>Logstash ~ how logstash works
Logstash ~ how logstash works
2022-04-21 17:49:00 【EuropeanSheik】
LogStash The event processing pipeline has three stages :input->filter->output.input Generate an event ,filter Modify them ,output Send them elsewhere .input and output Support codec , It can encode or decode data when it enters or exits the pipeline , Instead of using a separate filter
1.input
input Official documentation of plug-ins
Use input to enter data LogStash, Some common inputs include :
file: Read from a file on the file systemsyslog: stay 514 Listening on the port syslog News and according to RFC3164 Formatbeats: Handle Beats Events sent
2.filter
filter yes LogStash Intermediate processing equipment in the pipeline . If the event meets certain conditions , You can combine filters with conditions to perform actions on events . Some common filters include :
grok: Parsing and constructing arbitrary text .Grok At present, it is LogStash The best way to parse unstructured log data into structured and queryablemutate: Perform a general conversion on the event field . You can rename 、 Delete 、 Replace and modify fields in eventsdrop: Completely delete the event , For example, debug eventsclone: Copy an event , Fields may be added or removedgeoip: Add something about IP The information system of address and geographical location
3.output
output yes LogStash The final stage of . An event can pass through multiple outputs , But once all the output processing is complete , The event completes its execution . Some common outputs include :
elasticsearch: Send event data to ElasticSearch.file: Write event data to a file on diskgraphite: Send event data to Graphite, Used to store and draw indicatorsstatsd: Send event data to statsd, This is a “ Monitoring statistics , Such as counters and timers , adopt UDP Send and send aggregation to one or more pluggable back-end services ” Service for
4.codec
codec Is the basic flow filter , It can be operated as part of the input or output . The encoder can separate the transmission of messages from the serialization process .
json: With JSON Format encodes or decodes datamultiline: Merge multiple lines of text events into a single event
版权声明
本文为[EuropeanSheik]所创,转载请带上原文链接,感谢
https://yzsam.com/2022/04/202204211745593635.html
边栏推荐
- Onnx efficiency: comparison with module & dataparallel
- 【C语言重难点突破】——动态内存管理
- Logstash ~ logstash one-stop tutorial (continuously updated)
- The difference between MSIL static class and non static class in IL definition
- "Method breakpoints may drastically slow down debugging" will be prompted during idea debugging
- 林肯Z对比奥迪A4L:产品力差距,其实是两个时代的缩影
- 【AI与食品】北工商中科院计算所最新《基于视觉分析的膳食评估》综述性论文
- Variable ‘err‘ is accessed from within inner class, needs to be final or effectively final
- MATLAB中的图形绘制
- Structure malloc bug
猜你喜欢

京准GPS北斗卫星校时系统助力南亚电子生产管理系统

In cabin visual AI application front loading "increased by nearly 200% year-on-year". Which suppliers lead the Chinese market
![[machine learning] gating cycle unit](/img/21/8e162efeb790eb62ee93ddea66f0d6.png)
[machine learning] gating cycle unit

胸部X光图像-数据集
![[AI and food] a review paper on the latest](/img/c3/eb91dbcd2b60c6706b0c6f021267cb.png)
[AI and food] a review paper on the latest "dietary assessment based on visual analysis" by the Institute of computing, Chinese Academy of industry and Commerce

Addition, deletion, modification and query of MySQL advanced table

Ase35p03-asemi FET 35p03

Laxcus distributed operation redundancy and fault tolerance node

Plug - in de date de téléphone mobile (ajouter ce que vous aimez)

【AI与食品】北工商中科院计算所最新《基于视觉分析的膳食评估》综述性论文
随机推荐
MATLAB中的图形绘制
Plug - in de date de téléphone mobile (ajouter ce que vous aimez)
手機日期插件 (轉加上自己喜歡的)
Mobile date plug-in (add your favorite)
Beijing quasi GPS Beidou satellite timing system helps South Asia electronic production management system
修改van-dropdown-menu默认高度
Spark SQL底层执行流程详解
智能遍历测试在回归测试与健壮性测试的应用
查询2021年入职的非业务科员工的员工信息,各位同志们这个怎么编写SQL语句啊,求解
众昂矿业:萤石资源新的活跃应用领域
【C语言重难点突破】——动态内存管理
About riched32 DLL Trojan horse
C# ODBC将一个文件夹的文件装载到PostgreSQL数据库BLOB列,并将BLOB列下载到另一个文件夹
ASE35P03-ASEMI场效应管35P03
How to turn on the undisturbed time with win10 memo how to set the message of rest day to be undisturbed
Linux~libc.so.6(GLIBC_2.28)(64bit) 被 redis-5.0.3-1.nfs.x86_64 需要
漏洞检测与防御:Redis未授权访问漏洞复现
为什么基础设施工程师更喜欢MySQL?
动态规划:硬币题目总结
AI+临床试验|拜耳探索创建“虚拟”对照组