Skip to content

Commit

Permalink
Deprecate usage of _type field
Browse files Browse the repository at this point in the history
The type field is potentially removed in the future in elasticsearch: elastic/elasticsearch#15613 There is currently no active use of `_type` features in beats. There is use of `type` which often contains the same value as `_type` but is a normal field.

`_type` is marked deprecated in 5.3 as it will be potentially be removed in the 6.0 release. For queries and dashboards the `_type` field should not be used anymore. Removal of `_type` on the beats side is probably not going to be a breaking change as it mainly affects the elasticsearch output.
  • Loading branch information
ruflin committed Jan 19, 2017
1 parent fb3ad7e commit 9778aad
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -101,6 +101,7 @@ https://github.com/elastic/beats/compare/v5.1.1...master[Check the HEAD diff]
==== Deprecated

*Affecting all Beats*
- Usage of field _type is deprecated. It should not be used in queries or dashboards. {pull}3409[3409]

*Metricbeat*

Expand Down

0 comments on commit 9778aad

Please sign in to comment.