Skip to content

Commit

Permalink
Fix #140: Convert offest and line to long fields to prevent overflow
Browse files Browse the repository at this point in the history
  • Loading branch information
ruflin committed Oct 28, 2015
1 parent 5dd6574 commit 7d2c126
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ All documentation about Filebeat can be found here.

### Bugfixes
- Omit 'fields' from event JSON when null. #126
- Make offset and line value of type long in elasticsearch template to prevent overflow #140

### Added

Expand Down
4 changes: 2 additions & 2 deletions etc/filebeat.template.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,11 +29,11 @@
"index": "analyzed"
},
"line": {
"type": "integer",
"type": "long",
"doc_values": "true"
},
"offset": {
"type": "integer",
"type": "long",
"doc_values": "true"
}
}
Expand Down

0 comments on commit 7d2c126

Please sign in to comment.