Skip to content

Commit

Permalink
[Fleet] Do not defined aliases inside datastream template (#89512)
Browse files Browse the repository at this point in the history
Co-authored-by: spalger <spalger@users.noreply.github.com>
  • Loading branch information
nchaulet and spalger committed Jan 28, 2021

Verified

This commit was signed with the committer’s verified signature.
stanhu Stan Hu
1 parent 228666c commit d2cef2b
Showing 3 changed files with 3 additions and 9 deletions.
1 change: 0 additions & 1 deletion x-pack/plugins/fleet/common/types/models/epm.ts
Original file line number Diff line number Diff line change
@@ -326,7 +326,6 @@ export interface IndexTemplate {
template: {
settings: any;
mappings: any;
aliases: object;
};
data_stream: { hidden?: boolean };
composed_of: string[];

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Original file line number Diff line number Diff line change
@@ -335,8 +335,6 @@ function getBaseTemplate(
properties: mappings.properties,
_meta,
},
// To be filled with the aliases that we need
aliases: {},
},
data_stream: { hidden },
composed_of: composedOfTemplates,

0 comments on commit d2cef2b

Please sign in to comment.