注意:此实例只能通过FTP对文件读取,不是文件夹。愿大神们分享下如何读取文件夹
input {
exec {codec => plain { }command => "curl ftp://192.168.0.4/logs/test.txt"
interval => 3000}
}
output {
stdout { codec => rubydebug }
}
注意:此实例只能通过FTP对文件读取,不是文件夹。愿大神们分享下如何读取文件夹
input {
exec {codec => plain { }