Skip to content

Commit

Permalink
Merge pull request #2 from gxglls/master
Browse files Browse the repository at this point in the history
adapt filebeat 7.x version
  • Loading branch information
chennqqi authored Jan 20, 2020
2 parents 45f1626 + e30a9dd commit 900046a
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 8 deletions.
16 changes: 8 additions & 8 deletions filebeat.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,25 +12,25 @@

#=========================== Filebeat prospectors =============================

filebeat.prospectors:
filebeat.inputs:

- type: log
- type: log

enabled: true
enabled: true

paths:
- /var/log/elasticsearch/*
paths:
- /var/log/elasticsearch/*

fields:
myfield: myvalue
fields:
myfield: myvalue


#================================ Outputs =====================================

#---------------------------- nsq output ---------------------------------
output.nsq:

nsqd: ["127.0.0.1:4150"]
nsqd: "127.0.0.1:4150"

# The mongodb database to push to
topic: "nsqbeat"
Expand Down
1 change: 1 addition & 0 deletions nsqout/nsq.go
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ func init() {
}

func makeNsq(
_ outputs.IndexManager,
beat beat.Info,
observer outputs.Observer,
cfg *common.Config,
Expand Down

0 comments on commit 900046a

Please sign in to comment.