-
Notifications
You must be signed in to change notification settings - Fork 4.9k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Always use create op_type with ES 7.5+ (#13936)
Elasticsearch introduces the `create_doc` privilege, which always requires the op_type to be `create`. We would like to take advantage of this, in order to reduces the privileges Beats users have to set for Beats. In the future Elasticsearch will support `op_type == create` if documents without ID are indexed, but older Elasticsearch versions don't. This change always uses `op_type == create` when the Elasticsearch version is 7.5+.
- Loading branch information
Steffen Siering
authored
Oct 14, 2019
1 parent
4be5efe
commit a428d4d
Showing
2 changed files
with
6 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters