Skip to content
This repository has been archived by the owner on Mar 31, 2024. It is now read-only.

Commit

Permalink
[Fleet] Do not defined aliases inside datastream template (elastic#89512
Browse files Browse the repository at this point in the history
)

Co-authored-by: spalger <[email protected]>
  • Loading branch information
nchaulet and spalger committed Jan 28, 2021
1 parent ccd058f commit 3ade6ab
Show file tree
Hide file tree
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
Expand Up @@ -314,7 +314,6 @@ export interface IndexTemplate {
template: {
settings: any;
mappings: any;
aliases: object;
};
data_stream: { hidden?: boolean };
composed_of: string[];
Expand Down

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
Expand Up @@ -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,
Expand Down

0 comments on commit 3ade6ab

Please sign in to comment.