输入插件有四种,如下:
stdin (一般用于测试)
file
redis
beats (例如filebeat)
1.file插件的用法:
cat A.logs
input {
file {
path => “/var/log/message”
}
}
filter {
}
output {
file {
path => “/tmp/test.log”
}
}
ELK的输入插件的使用
最新推荐文章于 2024-03-08 16:37:35 发布
输入插件有四种,如下:
stdin (一般用于测试)
file
redis
beats (例如filebeat)
1.file插件的用法:
cat A.logs
input {
file {
path => “/var/log/message”
}
}
filter {
}
output {
file {
path => “/tmp/test.log”
}
}