Skip to content

Commit

Permalink
feat: syslog 过滤功能
Browse files Browse the repository at this point in the history
feat: syslog 过滤功能
  • Loading branch information
jayjiahua authored Mar 14, 2024
2 parents dc2ea57 + f23f68e commit 3f5e370
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 2 additions & 0 deletions filebeat/input/syslog/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,8 @@ import (
"fmt"
"time"

"github.com/dustin/go-humanize"

"github.com/elastic/beats/filebeat/harvester"
"github.com/elastic/beats/filebeat/inputsource"
"github.com/elastic/beats/filebeat/inputsource/tcp"
Expand Down
1 change: 0 additions & 1 deletion filebeat/input/syslog/input.go
Original file line number Diff line number Diff line change
Expand Up @@ -215,7 +215,6 @@ func Filter(data *util.Data, config *config) bool {
if !ok {
return false
}
log := logp.NewLogger("syslog")

syslogFields := parseSyslogField(data)

Expand Down

0 comments on commit 3f5e370

Please sign in to comment.