Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[ML] Account for "properties" layer in find_file_structure mappings #77035

Merged
merged 2 commits into from
Sep 9, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 6 additions & 1 deletion x-pack/plugins/ml/common/types/file_datavisualizer.ts
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,12 @@ export interface Settings {
}

export interface Mappings {
[key: string]: any;
_meta?: {
created_by: string;
};
properties: {
jgowdyelastic marked this conversation as resolved.
Show resolved Hide resolved
[key: string]: any;
};
}

export interface IngestPipelineWrapper {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ export function importDataProvider({ asCurrentUser }: IScopedClusterClient) {
_meta: {
created_by: INDEX_META_DATA_CREATED_BY,
},
properties: mappings,
properties: mappings.properties,
},
};

Expand Down