0
這是我logstash配置文件:Logstash sincedb文件不被創建
input {
file {
type => "SystemError"
path => "/path/to/file/systemerr/**/*"
start_position => "beginning"
sincedb_path => "/data/sincedb"
codec => multiline {
pattern => "^\s"
what => "previous"
}
}
}
我甚至試過在所有進入sincedb_path並使用默認路徑
input {
file {
type => "SystemError"
path => "/path/to/file/systemerr/**/*"
start_position => "beginning"
codec => multiline {
pattern => "^\s"
what => "previous"
}
}
}
但是,即使不工作。我的用戶有權訪問sincedb文件應寫入的文件夾。我也嘗試作爲root用戶。但沒有任何工作。
請幫忙。