mirror of
https://github.com/elastic/kibana.git
synced 2025-04-25 02:09:32 -04:00
Closes https://github.com/elastic/kibana/issues/178534 Replaces the pattern analysis flyout in Discover with a tab which sits alongside the Documents and Field statistics tabs.  **Field selection** Lists all of the text fields in the index. Auto selects `message`, then `error.message`, then `event.original` and if none of these fields are available, it just selects the first field in the list.  The Options menu provides some configuration options: **Minimum time range** Sets the minimum time range used for the pattern analysis search. The pattern matching results results will be more accurate the more data it sees, so if the user has selected e.g. last 15mins in the time picker, this settings will ensure a wider time range is used to improve the accuracy of the patterns. If the time picker has a larger time range than this setting, the larger time range will be used. **Random sampling** Improves the search performance by using a random sampler. This is the same setting as before.  --------- Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com> Co-authored-by: István Zoltán Szabó <istvan.szabo@elastic.co>
46 lines
1.9 KiB
TypeScript
46 lines
1.9 KiB
TypeScript
/*
|
|
* Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one
|
|
* or more contributor license agreements. Licensed under the Elastic License
|
|
* 2.0; you may not use this file except in compliance with the Elastic License
|
|
* 2.0.
|
|
*/
|
|
|
|
import { FtrProviderContext } from '../../../ftr_provider_context';
|
|
|
|
export default function ({ getService, loadTestFile }: FtrProviderContext) {
|
|
const esArchiver = getService('esArchiver');
|
|
const ml = getService('ml');
|
|
|
|
describe('machine learning - data visualizer', function () {
|
|
this.tags(['skipFirefox', 'ml']);
|
|
|
|
before(async () => {
|
|
await ml.securityCommon.createMlRoles();
|
|
await ml.securityCommon.createMlUsers();
|
|
});
|
|
|
|
after(async () => {
|
|
// NOTE: Logout needs to happen before anything else to avoid flaky behavior
|
|
await ml.securityUI.logout();
|
|
|
|
await ml.securityCommon.cleanMlUsers();
|
|
await ml.securityCommon.cleanMlRoles();
|
|
|
|
await esArchiver.unload('x-pack/test/functional/es_archives/ml/farequote');
|
|
await esArchiver.unload('x-pack/test/functional/es_archives/ml/module_sample_logs');
|
|
|
|
await ml.testResources.resetKibanaTimeZone();
|
|
});
|
|
loadTestFile(require.resolve('./index_data_visualizer'));
|
|
loadTestFile(require.resolve('./index_data_visualizer_random_sampler'));
|
|
loadTestFile(require.resolve('./index_data_visualizer_filters'));
|
|
loadTestFile(require.resolve('./index_data_visualizer_grid_in_discover'));
|
|
loadTestFile(require.resolve('./index_data_visualizer_grid_in_discover_trial'));
|
|
loadTestFile(require.resolve('./index_data_visualizer_grid_in_dashboard'));
|
|
loadTestFile(require.resolve('./index_data_visualizer_actions_panel'));
|
|
loadTestFile(require.resolve('./index_data_visualizer_data_view_management'));
|
|
loadTestFile(require.resolve('./file_data_visualizer'));
|
|
loadTestFile(require.resolve('./data_drift'));
|
|
loadTestFile(require.resolve('./esql_data_visualizer'));
|
|
});
|
|
}
|