Skip to content

Commit

Permalink
Adding another grok pattern to the filebeats mongo module, ingest pip…
Browse files Browse the repository at this point in the history
…eline.
  • Loading branch information
cwray committed Jul 17, 2018
1 parent 5931d3c commit 069b5e7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions filebeat/module/mongodb/log/ingest/pipeline.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@
"grok": {
"field": "message",
"patterns":[
"%{TIMESTAMP_ISO8601:mongodb.log.timestamp} %{WORD:mongodb.log.severity} %{WORD:mongodb.log.component} *\\[%{WORD:mongodb.log.context}\\] %{GREEDYDATA:mongodb.log.message}",
"%{TIMESTAMP_ISO8601:mongodb.log.timestamp} %{WORD:mongodb.log.severity} - *\\[%{WORD:mongodb.log.context}\\] %{GREEDYDATA:mongodb.log.message}"
"%{TIMESTAMP_ISO8601:mongodb.log.timestamp} %{WORD:mongodb.log.severity} %{WORD:mongodb.log.component} \\s*\\[%{WORD:mongodb.log.context}\\] %{GREEDYDATA:mongodb.log.message}",
"%{TIMESTAMP_ISO8601:mongodb.log.timestamp} %{WORD:mongodb.log.severity} - \\s*\\[%{WORD:mongodb.log.context}\\] %{GREEDYDATA:mongodb.log.message}"
],
"ignore_missing": true
}
Expand Down

0 comments on commit 069b5e7

Please sign in to comment.