[feature branch] index pattern => data view for user facing content (#109821)

* [index pattern management] index pattern => data view for user facing content (#109577)
This commit is contained in:
Matthew Kime 2021-10-20 18:53:39 -05:00 committed by GitHub
parent ee3c0c447e
commit 64f1dddcb0
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
249 changed files with 881 additions and 1307 deletions

View file

@ -29,7 +29,7 @@ export const transformStateSchema = schema.oneOf([
]);
export const indexPatternTitleSchema = schema.object({
/** Title of the index pattern for which to return stats. */
/** Title of the data view for which to return stats. */
indexPatternTitle: schema.string(),
});

View file

@ -45,7 +45,7 @@ export const API_BASE_PATH = '/api/transform/';
// - dest index: monitor (applied to df-*)
// - cluster: monitor
//
// Note that users with kibana_admin can see all Kibana index patterns and saved searches
// Note that users with kibana_admin can see all Kibana data views and saved searches
// in the source selection modal when creating a transform, but the wizard will trigger
// error callouts when there are no sufficient privileges to read the actual source indices.

View file

@ -15,7 +15,7 @@ describe('index_pattern', () => {
expect(isIndexPattern({})).toBe(false);
expect(isIndexPattern({ attribute: 'value' })).toBe(false);
expect(
isIndexPattern({ fields: [], title: 'Index Pattern Title', getComputedFields: () => {} })
isIndexPattern({ fields: [], title: 'Data View Title', getComputedFields: () => {} })
).toBe(true);
});
});