* [ML] Re-enabling file upload telemetry
* small refactor
* removing exported function
* removing commented out code
* removing commented out include
* cleaning up types
* [ML] Client side cut over
* updating paths and commented code
* changes based on review
* disabling telemetry tests
* fixing start job stylesheets
* fixing everything that is broken
* fixing types and ml icon order
* using icon constant
* [ML] Adding shared services to ml setup contract
* adding data recognizer
* typescripting js client
* adding results service
* code clean up
* adding generic ml index search
* making cloud optional
* [ML] Add support for date_nanos time field in anomaly job wizard
* [ML] Edits following review
* [ML] Add functional test for creating job off date_nanos data
* [ML] Fixing licensing after server NP cutover
* client side refactor
* management refactor
* moving management license check
* adding server side license class
* added common license class
* client sides using license class
* updating server api guards
* fix privileges tests
* updating translations
* fixing disabled tabs on basic license
* refactoring client side license checks
* setting license initialized flag
* fixing license check on index data viz
Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
* remove obsolete legacy server deps
* licensePreRoutingFactory uses licensing plugin rather than legacy xpack
* move schemas to dir in routes
* use NP license check method for license check
* store license data in plugin for passing to check
* create server plugin files in NP plugin dir
* remove dependency on legacy xpack plugin
* add sample data links first step
* move all server dirs from legacy to np dir
* fix requiredPlugin spaces name and update import routes
* delete unnecessary files and add sample data links
* update license and privilege check tests
* add routeInit types
* wip: pull out all server dependencies
* create new platform plugin
* shim newPlatform plugin into legacy init
* update server tests for migration refactor
* cleanup interfaces
* Only add ML links for sample data sets if full license from - 38120
* update test and fix typescript errors
* Remove unused types
* [ML] Fixes loading of Single Metric Viewer if partition field is text
* [ML] Fix failing test and edit translations for cardinality check
* [ML] Edits to fields_service.js following review
* [ML] Sample ML jobs: Updates to make anomalies clearer
Minor updates to web logs data and ML job
definitions to make anomalous activity more
distinct.
* [ML] Sample ML jobs: Further updates to jobs and data
Adding missing files from previous commit and
changing job naming (removing weblog_* prefix etc.)
* [ML] Resolving PR review comments.
* [ML] Improve anomalies in Kibana sample data
Minor fixes:
- Rename job group to `kibana_sample_data` throughout
- Fix index pattern link in `sample_data_sets.ts`
- Fix log.json.gz count test
- Adds a confirm modal to the Start button of the data frame jobs list. image
- Adds a snippet with a warning about possibly cluster load to wizard. image
- Uses _stop?force=true to stop jobs.
- Adds a check to disable the start button in the jobs list if the job is a completed batch job.
* [ML] Add links to ML jobs to the Kibana sample dataset view data menu
* [ML] Remove redundant TODO comment from check_module.js
* [ML] Edits to sample data ML links following review
* [ML] Edits to comments about use of reject in check_module.js
* Initial job configuration files for Kibana Sample Ecommerce data recognizer
* Initial configuration files for Kibana Sample Data for web logs
* Initial configuration for Kibana Sample Data recognizer for Flights data
* Correcting ID, title and description of Flights sample data recognizer
* Adding Custom URLs to link to Discover from Kibana Sample Dataset ML jobs
* Adding custom URLs to Ecommerce Data Recognizer results
* Adding new custom URL to Kibana Sample Ecommerce data recognizer
* Adding custom URL for Sample Flights dataset dashboard
* Adding custom URLs to sample Web Logs data recogniser config
* Fixing single quotes and url names in custom URLs for flights and ecommerce datasets
* Adding Kibana Sample Data modules to list of modules that need testing
* Renaming Kibana Sample Data recognizer modules, fixing IDs and adding modules to test framework
* Fixing data recognizer titles to sentence case
* Fixing sentence case issues in Kibana eCommerce sample data
* Fixing sentence case in Kibana sample flights data
* Fixing sentence case in Kibana sample weblogs data
* Changing job configuration for Kibana sample flights data
* Making changes to job descriptions
* Changing job configurations and renaming files for Kibana eCommerce sample data recognizer
* Removing mean bytes by file extension from Web Logs sample jobs and adding three new configurations
* Fixing minor issues with Kibana Sample Data recognizer configurations
* Adding jobs to job groups
* Changing job group names to use underscores instead of hyphens
* Adding filtering to Kibana Sample Data dashboards
* Fixing linting issues in JSON configs
* Finetuning data recognizer module descriptions
* Renaming Kibana Sample Data flights jobs
* Removing plural from Kibana Sample Flights dataset description
* Modifying custom URLs for Kibana Flights jobs
* Fixing custom URLs for Kibana Sample eCommerce dataset jobs
* Adding new influencers and fixing Discover custom URLs for Kibana Weblogs sample dataset job
* Fixing space before colon issue in job configurations
* Converting tabs to spaces
* Fixing description of detector in sample dataset eCommerce job
* Initial code to force collectors to indicate when they are ready
* Add and fix tests
* Remove debug
* Add ready check in api call
* Fix prettier complaints
* Return 503 if not all collectors are ready
* PR feedback
* Add retry logic for usage collection in the reporting tests
* Fix incorrect boomify usage
* Fix more issues with the tests
* Just add debug I guess
* More debug
* Try and handle this exception
* Try and make the tests more defensive and remove console logs
* Retry logic here too
* Debug for the reporting tests failure
* I don't like this, but lets see if it works
* Move the retry logic into the collector set directly
* Add support for this new collector
* Localize this
* This shouldn't be static on the class, but rather static for the entire runtime
Revamps the job creation step of the data frame wizard.
- Create & start buttons now have additional descriptions
- Adds a "copy to clipboard" button to copy a Kibana Dev Console statement of the job creation command to the clipboard
- Adds a progress bar once the job is started
- Adds a card which links to Kibana Discover if an index pattern was created for the job
- Hides the wizard's Previous button once the job is successfully created.
* wip: create react jobSelector wrapper + main component
* Load jobs and select first if none selected via url
* wip: create flyout content
* Add endpoint for fetching jobs with timerange for table
* display selected ids in flyout
* Add custom table allowing external selection
* add groups table in groups tab
* Get groups and jobs in initial api call
* add ability to select groups
* Hook jobSelector into SingleMetricView
* Show selected group badges with count
* Organize jobSelector component directories
* Move timerange logic to server
* Move group color selection to utils
* hide/show badges and add localization
* fetch jobs in route to enable selector jobid validation
* upate globalState on setting jobId in SingleMetricView
* Add pager options.Retain search query on tab change
* Ensure gantBar timeRanges correct
* cleanup old commented code. tweak flyout header/footer style
* running gantt bar and remove unnecessary api call
* GanttBar running style. Pass timezone to server.
* Running gantt bar limited to timerange. Clean up comments.
* Refactor jobSelector endpoint to use fullJobs
* Retain group selection in globalState
* Recalculate ganttbars on resize
* add test for JobSelectorTable
enable security on file dataviz and import (ML plugin)
update unit tests
add api test coverage for security in basic
move audit logging to standard+ license level
* [@kbn/expect] "fork" expect.js into repo
* [eslint] autofix references to expect.js
* [tslint] autofix all expect.js imports
* now that expect.js is in strict mode, avoid reassigning fn.length
* wip: add autocomplete kueryFilterBar.update endpoints with query.
* Create indexPattern on job change. Value is autocompleted
* Mask unrelated swimlanes on filter apply
* Only show relevant viewBy swimlane
* reload viewBy swimlane when view By change is relevant to filter
* handle various query types when building filteredFields list
* remove deprecated code from old filter bar
* Show error callout when invalid filter syntax
* remove dependency on deprecated import var
* remove all left over apm dependencies
* persist filter on refresh
* Create initial filter bar placeholder dynamically
* add description text when filter active
* switch to relevant viewBy fieldname on filter
* recalculate placeholder on job change
* Create tests for all components
* View by dropdown only contains relevant fields for filter
* fix localization message noInfluencers component
* Move indexPattern to state and viewBy option filtering to utils
* remove unnecessary setState when setting viewBy for filter
* Use preloaded jobs from mlJobService to get influencers
* Only filter viewByOptions if valid field
* use kql and move to components dir
* move filter bar to public/components/
- This adds more thorough error handling to retrieving annotations from the server to avoid breaking Anomaly Explorer when there's a problem retrieving annotations. The UI will silently fail and hide the annotations table if for whatever reasons annotations cannot be retrieved for the selected jobs (this could be permissions or setup related if e.g. the annotations feature index/aliases are not present). This is now the same behavior like in Single Metric Viewer. The browser console will still output an error message. This fixes an error scenario where Anomaly Explorer would fail to load if a user upgraded to 6.6 because the backend task wasn't run yet to create the annotation index/aliases.
- Disables annotations feature in Single Metric Viewer if annotations fail to load.
- Use componentDidUpdate and an update check instead of deprecated componentWillUpdate for updating the annotations table in jobs management.