diff --git a/CHANGELOG.asciidoc b/CHANGELOG.asciidoc index 0456b06dc4cd..2bef87f4bef4 100644 --- a/CHANGELOG.asciidoc +++ b/CHANGELOG.asciidoc @@ -29,6 +29,7 @@ https://github.com/elastic/beats/compare/v1.1.2...master[Check the HEAD diff] *Filebeat* - Default config for ignore_older is now infinite instead of 24h, means ignore_older is disabled by default. Use close_older to only close file handlers. - Scalar values in used in the `fields` configuration setting are no longer automatically converted to strings. {pull}1092[1092] +- Count field was removed from event as not used in filebeat {issue}778[778] *Winlogbeat* diff --git a/filebeat/input/file.go b/filebeat/input/file.go index 49c9df9611eb..7c654949efae 100644 --- a/filebeat/input/file.go +++ b/filebeat/input/file.go @@ -64,7 +64,6 @@ func (f *FileEvent) ToMapStr() common.MapStr { "message": f.Text, "type": f.DocumentType, "input_type": f.InputType, - "count": 1, } return event diff --git a/libbeat/tests/system/beat/beat.py b/libbeat/tests/system/beat/beat.py index 2977144757f6..cccdf1797a81 100644 --- a/libbeat/tests/system/beat/beat.py +++ b/libbeat/tests/system/beat/beat.py @@ -215,8 +215,7 @@ def read_output(self, output_file=None): jsons.append(self.flatten_object(json.loads(line), [])) self.all_have_fields(jsons, ["@timestamp", "type", - "beat.name", "beat.hostname", - "count"]) + "beat.name", "beat.hostname"]) return jsons def copy_files(self, files, source_dir="files/"):