* 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
* lazy load tooltip properties for Elasticsearch documents
* return with loadProps exception
* fix errors
* fix feature_tooltip tests
* return empty array instead of throw when target layer or feature can not be found
* Revert "Revert "[kbn-es] await native realm setup, error if there are failures (#36290)""
This reverts commit a102ca1f97.
* [kbn/es] retry setPassword call if it fails
* Track user actions in the SIEM app
For now, we're tracking:
* Top navigation changes (`tab_X`)
* Opening a timeline (`open_timeline`)
* added type
* This seems to solve the 'yarn run build' issue
* Addressed comments
* Use the APP_ID from the top level
* remove LoggingConfig class
* get rid of ElasticsearchConfig class
* get rid of PluginsConfig class
* get rid of HttpConfig Class
* update ConfigService
* update LegacyService
* update testbed plugin
* update docs
So far the groupby/agg name shown in the dropdowns and the name used for the ES config agg name has been the same.
This PR changes the behaviour to the following:
- group_by aggregation names will be left as original e.g. clientip, timestamp
- agg functions will be added to the end as a nested object e.g. doc.bytes.sent.sum and doc.bytes.sent.avg and duration.max
- the drop down display labels in the pickers in the wizard will continue to use the sql-like notation e.g. date_histogram(timestamp), terms(clientip), sum(doc.bytes.sent), max(duration)
- when auto-generating aggregation names, unsupported characters ([]>) will be removed.
Adds support for a user-configured location name, so users can more easily differentiate their monitors if they're watching hosts across multiple locations.
* [Infra UI] Link-to page for resolving IP to Host Details (#36149)
* Adding link-to page for resolving IP to Host Details
* Adding intl support
* Adding source provider for link to via IP
* removing Source.Provider in favor of useSource hook
* rollback yarn.lock changes
* rollback package.json changes
* hits.total is a number in 7.x
* Fixing typing error and code for response.hits.total
* removing rest_total_hits_as_int flag
* 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.
This package publishes it's transpiled code in a dist directory without updating
the package.json's main to point to this file. Since we do not transpile node
modules we are updating the require statement to explicitly point to this
file.
Signed-off-by: Tyler Smalley <tyler.smalley@elastic.co>
- Adds pivotAggsFieldSupport and pivotGroupByFieldSupport. These objects have a mapping of field_type -> array of supported_aggs and allow a better organization of available options in the dropdowns for group-by and aggs.
- The support for certain field_type/aggs combinations has been extended:
- value_count is available for every field
- IP fields are now available for group by and cardinality
- number and date support all aggregations
- _id, _type, _index fields are no longer available
- Removes unnecessary union type PivotAggSupportedAggs.
- Moves x-pack/plugins/ml/common/constants/field_types.js to field_types.ts. GitHub doesn't recognize it as a rename though because of TypeScript changes.
* Returning live data
* Adding TSVB data population
* adding tests
* Adding UI
* Adding rough draft of metrics control
* Breaking out metric component; adding useCallback to callbacks; adding intl strings
* seperating out form
* Break metrics form out; change to custom color picker; create custom color palette;
* fixing bug with color picker
* changes to color palette; fix callback issue
* Fixing count label
* Fix chart label to truncate
* Changing by to graph per
* Making the metric popover wider to ease field name truncation
* critical changes to the import order
* Changing metrics behavior
* Hide metrics when choosing document count
* Updating chart tooltip; fixing types;
* Setting intial state to open metrics; Tweaking toolbar sizes
* fixing linting issues
* Allow users to filter by a grouping by clicking on the title
* Change rate to rateMax; add rateMin and rateAvg; fix title text-align
* Use relative paths to fix base path bug
* fixing typescript errors; removing rateAvg and rateMin; removing extranious files;
* Fixing formatting issues
* Fixing i18n linting errors
* Changing to elastic-charts
* fixing typing errors with charts
* Moving afterKey out of URL to fix bug with pagination
* Adding support for multiple axises
* Adding tests for useMetricsExplorerData hook
* breaking up the charting code; removing multi-axis support; changing color palette to use blue and red for first two color
* Adding drop down menu to charts for filtering and linking to TSVB
* Adding more tests for useMetricsExplorerData hook; adding error message; adding chart options to non-groupby charts
* only display groupings that have the metric fields
* Refactor page level state into custom hook; add test for options handlers;
* Fixing linting
* removing color picker
* removing useInterval
* Changing group by to use the pills; Changing context menu button; adding icons to context menu.
* Adding test for color palette
* Adding test for createFormatterForMetric()
* removing tsx extension; adding tests for createMetricLabel()
* removing tsx extension; adding tests for createMetricLabel()
* re-organizing helpers
* Moving helpers from libs to helpers; adding test for metricToFormat
* Fixing bug in tsvb link fn; adding timeRange props; adding createTSVBLink() test
* fixing timeRange fixture import; fixing aria label for action button
* removing some unecessary useCallbacks
* Adding test for MetricsExplorerChartContextMenu component
* Fixing linting issues
* Optimizing test
* Adding empty prompts for no metrics and no data
* Removing duplicate sereis def
* tcs has lost it's mind so I had to copy enzyme_helpers.tsx into our plugin
* Appeasing prettier
* Update x-pack/plugins/infra/public/components/metrics_exploerer/metrics.tsx
Co-Authored-By: simianhacker <chris@chriscowan.us>
* fixing path typo
* Adding supportFiltering to dependicy; change options to be more specific
* remove typo
* Fixing typo
* Adding logColumns to source fixture; fixing typo
* Fixing path to be more sane
* Adding brushing to Metrics Explorer Charts
* supported features POC
* render point, line and polygon properties
* cleanup from merge with master
* line icon
* display button group for feature type styling
* fix vector_style tests
* remove unused function
* rename getSupportedFeatures to getSupportedShapeTypes and VECTOR_FEATURE_TYPE to VECTOR_SHAPE_TYPES
* review feedback
* display feature styles when user selects feature type
* create constants for geo_json types
* change line icon to line instead of rect
* add help function to avoid duplicate logic for isPointsOnly, isLineOnly, and isPolygonOnly
* add unit tests for _checkIfOnlyFeatureType
* [Infra UI] Adding from Infra UI to Uptime
* Removed unused variable
* Adding tests for link generation
* Sometimes the IP address will be an array with [IPv4, IPv6]
* Ensuring only IPv4 addresses are returned; adding tests;
* only showing uptime link for host's with ip addresses