Commit graph

1449 commits

Author SHA1 Message Date
Chris Roberson
b10540f06f
[Monitoring] Add default search fields for each table (#29748)
* Add default search fields for each table

* Remove custom schema

* We don't need it here

* Add ccr tables

* Fix tests
2019-02-04 14:11:46 -05:00
Justin Kambic
2320f15b9b
Allow greater than default size for snapshot count. (#29681) 2019-02-04 13:16:42 -05:00
Pete Harverson
6afcc28c3b
[ML] Edits to labels in the Apache and Nginx ECS data recognizer modules (#29935) 2019-02-04 17:19:25 +00:00
Søren Louv-Jansen
f782b9fe35
[APM] Add support for chained exceptions (#29345)
* [APM] Add support for chained exceptions

* Rename constants to elasticsearch_fieldnames
2019-02-04 18:08:23 +01:00
Søren Louv-Jansen
a5724bda68
[APM] Flip transaction.name to keyword by default (#29718) 2019-02-04 18:08:02 +01:00
Chris Cowan
a5aa0dc3e9
[Infra UI] ECS Migration (#28205)
* updating fields

* Migrate to ESC event.dataset

* Migragte fields to ECS fields

* renaming variable

* Reverting back to host.name

* Changing from Top Hits to Terms Agg for getting node name; change host.name back to host.hostname for name.

* Changing back to host.name

* Moving from using the document source to an aggregation for node name

* Updating tests with new data format and data.

* removing unused fields

* adding test data for docker 6.6.0

* Adding docker tests for 6.6.0

* Fixing jest tests

* Fixing tests

* Adding the most critical line of code in the entire project

* Fix ECS-compatible apache rules and restore old ones

* Fix ECS-compatible nginx rules and restore old ones

* Add tests for apache2 in ECS and pre-ECS format

* Add tests for nginx in ECS and pre-ECS format

* removing console.log

* Fixing tests
2019-02-04 09:47:03 -07:00
Nathan Reese
4f42dde279
[Maps] fix full screen (#29958) 2019-02-04 09:22:07 -07:00
Justin Kambic
1925ee9566
Add loading states for Snapshot and Filter Bar. (#29858) 2019-02-04 11:18:45 -05:00
Aaron Caldwell
f8a5e99396
[Maps] Add zoom in/out map controls (#29862)
* Add zoom in/out map controls

* Line up parens
2019-02-04 08:39:41 -07:00
Thomas Neirynck
bfbce22165
Use Kibana locale when loading content from the Elastic Maps Service (#29671) 2019-02-04 09:55:55 -05:00
Casper Hübertz
8604e8f3f4
[APM] Replace colour vars with EUI (#29822)
Refactored all use of custom APM UI colour variables and replaced with EUI theme
2019-02-04 15:42:38 +01:00
Sonja Krause-Harder
d42a3f484e
[Infra UI] Always pass index patterns as strings. (#29927)
* Always pass index patterns as strings.

* Abide by prettier rules.
2019-02-04 15:17:29 +01:00
Aleh Zasypkin
d05437703d
Introduce I18nService core service and I18nContext. (#29379) 2019-02-04 13:38:00 +01:00
Walter Rafelsberger
7966b2ff78
[ML] adds telemetry to ML (#29121)
Adds telemetry to collect the amount of indices created using File Data Visualizer.
2019-02-04 13:14:25 +01:00
Sébastien Loix
2c257df717
[Watcher] Add missing Action types on client (#29818)
* Add missing Webhook action on client
2019-02-04 13:11:16 +01:00
Felix Stürmer
cc13b77a02
[Infra UI] Add a source settings ui (#26786)
This adds a configuration UI to change various properties of an infrastructure data source. The properties that can be currently changed are:

* name
* index pattern for metrics
* index pattern for logs
* fields like the timestamp, container/host/pod identification

It is meant as a basis for providing configurability for other source properties like outgoing links and formatting rules in the future.
2019-02-04 12:56:02 +01:00
Kerry Gallagher
732915ee2a
[Infra UI] Handle no metrics data gracefully (#29424)
* Use metric_time prefix for metric_time actions

* Add refetch capabilities to with_metrics

* Pass through refetch to index

* Add no data message and refetch button to metrics/index

Next stage: Extract into shared component between metrics and waffle map

* Remove "refetching" and just use "loading"

No need for the explictness, just reuse the loading state, as there's no value to differentiating refetching vs loading here

* Add no_data component

* Amend for Prettier

* Use no_data component

* Change naming to better reflect current components

* Introduce notion of two empty states: no indices and no data

Also changes nodes_overview and logs to use moved component

* Add no_data functionality

* Remove metrics specific no data component, use the new shared component

* Change import order

* Use no_data component in nodes_overview

* Refactor logs to use shared no data component

* Import intl

* Revert testing value

* Pass handler correctly to avoid circular references

* Satisfy type check

* Remove one last unused component
2019-02-04 10:27:26 +00:00
Spencer
daf19f8a5a
[sass/mixins] move kibanaFullScreenGraphics keyframes to mixin (#29897) 2019-02-03 23:07:00 -08:00
Nathan Reese
1c09fe70fd
[Maps] provide better error message when vector shapes can not be fetched (#29888) 2019-02-03 21:21:50 -07:00
Nathan Reese
82dcf123db
[Maps] Add layer - provide message when EMS is unavailable (#29909)
* [Maps] provide message when EMS is unavailable

* small fixes
2019-02-03 20:44:23 -07:00
Nathan Reese
8d150e7379
[Maps] make getStore syncrouns (#29895) 2019-02-03 20:38:17 -07:00
Josh Dover
c0a2e8014e
Make ReindexWorker resilient to ES connection issues (#29908) 2019-02-02 12:11:25 -06:00
Nathan Reese
6888cd49ca
[Maps] Full screen (#29751)
* [Maps] full screen

* toggle fullScreen class

* remove unneeded class

* more specific class name

* change i18n name space to common.ui

* clean up scss imports
2019-02-02 06:19:15 -07:00
Nathan Reese
b1e1ab6385
[Maps] better error handling when layer configs can not be found (#29534)
* [Maps] better error handling when layer configs can not be found

* remove kibana.yml changes

* gis-map to map

* throw exception for getStringFields and getAttributions and then handle exceptions in caller
2019-02-01 15:50:51 -07:00
dave.snider@gmail.com
fafa9fa9ae
EUI 6.8.0 (#29860)
Upgrades Kibana's EUI dep.
2019-02-01 14:38:46 -08:00
Nathan Reese
c7e94975e6
set recenlty accessed when /map/:id route is accessed (#29861) 2019-02-01 14:50:54 -07:00
Thomas Neirynck
9f1408f42c
[Maps] Rename gis variable names to maps (#29867) 2019-02-01 16:44:42 -05:00
Robert Monfera
d91809d7de
[Canvas] Perf: save workbook assets separately from lighter weight structures (#29594)
* Perf: save workbook assets separately from lighter weight structures

* Chore: simplification
2019-02-01 19:18:10 +01:00
Chris Cowan
ff1af3e1ed
Fixing #29778 - Disable add button when field select is empty (#29779) 2019-02-01 10:35:39 -07:00
dave.snider@gmail.com
508a776efa
Dark mode for kql bar (#29684)
KQL bar now works in dark mode.
2019-02-01 09:22:44 -08:00
Thomas Neirynck
52fed8a52d
[Maps] Remove usage of gis from user-facing api (#29800)
This also renames the gis-folders to maps for consistency.
2019-02-01 12:07:05 -05:00
Justin Kambic
11946fdc1b
[Uptime] Allow filter dropdown search for id, remove client-side size limits (#29557)
* Fix filter bug for IDs, remove limits.

* Add name, URL as searchable fields.

* Update outdated API test fixture.
2019-02-01 10:36:21 -05:00
Thomas Neirynck
e1a1bb8359
[Maps] Language improvements (#29473) 2019-02-01 10:28:22 -05:00
Joe Fleming
006cd31007 fix: add datetime as a date identifier (#29537) 2019-02-01 15:22:23 +01:00
Pete Harverson
c54d60061b
[ML] Removes unused filter bar from the Anomaly Explorer (#29817)
* [ML] Removes unused filter bar from the Anomaly Explorer

* [ML] Remove use of filters in URLs for explore series links

* [ML] Remove check for queryFilters from explorer controller test
2019-02-01 14:20:58 +00:00
Nathan Reese
22ca995911
[Maps] Fix new map showing no layers (#29799)
* [Maps] Fix new map showing no layers

* return async to function signature
2019-02-01 07:16:27 -07:00
James Gowdy
2656666106
[ML] Adding ui-select imports (#29823)
* [ML] Adding ui-select imports

* using variable in scss
2019-02-01 14:12:24 +00:00
Caroline Horn
b1b941dd8f
Finally remove leftover LESS files (#29486)
* Use mixin for full screen graphics

- Moved svg assets to one folder under `ui/public/assets/images`
- Deleted .less files

* Fix Kibana logos as well

* forgot to remove

* adds dark mode images

* Removed search_select

In favor of pattern to be created in EUI : https://github.com/elastic/eui/issues/1498

* No LESS in plugin generator

* remove comment

* Remove .less from testbed

* snaps

* Update dark mode graphics to be a bit lighter

* [karma] load css via url, rather than webpack

* [karma] css isn't built at config time, concat at request time
2019-02-01 01:35:25 -05:00
dave.snider@gmail.com
037fcf4ab5
Inter UI and roboto mono font stack. Remove K6 theming. We did it (#29152)
Adds inter ui as the default font for Kibana. Removes the K6 theming. Kibana now uses EUI default.
2019-01-31 20:59:56 -08:00
Nathan Reese
37f507e5a9
[Maps] Apply tile styles before waiting for _tileLoadErrorTracker timer to expire (#29798)
* [Maps] avoid re-loading tiles after

* set starting min and max to values provided from descriptor
2019-01-31 21:52:47 -07:00
Nathan Reese
d9255a9798
[Maps] clean-up console errors (#29772) 2019-01-31 18:14:58 -07:00
Aaron Caldwell
75e6d07d0f
SetMBPaintProperties needs layerId key (#29771) 2019-01-31 16:43:03 -07:00
Matt Bargar
8a83955650
Re-introduce new filter bar (#29752)
Fixes the build issues introduced in #25563 and re-introduces the new react/eui/typescript filter bar, essentially reverting the revert in #29662. I did have to resolve one merge conflict in query_bar.tsx, and re-deleted all of the old filter bar code where translation code had been added.
2019-01-31 18:36:26 -05:00
Justin Kambic
f67e89b190
[Uptime] Use EUI color palette for charts/histograms (#29439)
* Add hardcoded eui primary/danger to charts/histograms.

* Use EUI JSON vars for color values.
2019-01-31 18:06:25 -05:00
Caroline Horn
90554c1744
Visualize sidebar design updates (#29658)
* Bring over all ui-select styles and convert color vars

* Some bootstrap dark theming

* Consolidating non-EUI form control styles

* Update some tutorial pieces set to EUI

* Fix up visualize editor sidebar as best as I can

* PR feedback

- comment for image
- euiScrollbar
- euiBorderThick

* Fix advanced toggle test

* Don’t show IE’s select arrow
2019-01-31 16:46:05 -05:00
Justin Kambic
505873ee6e
[Uptime] Port functional tests to 7.x (#29398)
* Refactor es queries and associated components/endpoints.

* Add unit tests, repair broken tests.

* [Uptime] Add API functional tests for uptime graphQL (#29128)

* Add API functional tests for uptime graphQL.

* Remove obsolete code.

* Add CI group for UI functional tests.

* Delete obsolete code, rename heartbeat es archive.

* Refactor adapter methods.

* Refactor adapter methods.

* Attempt to fix ci-group tag error.

* Skip functional app tests until later PR.

* Remove unused code.

* Optimize test runs.

* Add uptime to api test index.

* Fix formatting.

* Add HB 7.0 data for API tests.

* Configure first error_list test to work with 7.x data.

* Configure error_list filtered by id to work with 7.x data.

* Configure error_list functional tests to work with 7.x data.

* Update snapshot test to work with 7.x data.

* Update snapshot down filtered test to work with 7.x data.

* Configure snapshot up test to work with 7.x data.

* Configure ping list tests to work with 7.x data.

* Configure monitor list tests to work with 7.x data.

* Configure monitor status bar tests to work with 7.x data.

* Configure filterBar tests to work with 7.x data.

* Configure docCount tests to work with 7.x data.

* Simplify code based on PR feedback.

* Add loading spinner to monitor page title based on PR feedback.

* Rename GQL type based on PR feedback.

* Remove use of 'undefined' in ES query based on PR feedback.

* Simplify code based on PR feedback.

* Add definite size/shard_size for terms agg based on PR feedback.

* Simplify ES query based on PR feedback.

* Update x-pack/plugins/uptime/server/lib/adapters/monitors/elasticsearch_monitors_adapter.ts

Implement PR feedback.

Co-Authored-By: justinkambic <justin.kambic@elastic.co>

* Increase size for ES errors query based on PR feedback.

* Fix hardcoded field in terms filter based on PR feedback.

* Simplify get code for monitors function.

* Reduce unnecessarily large size for terms agg based on PR feedback.

* Pluralize filter bar props.

* Refactor filter bar query based on PR feedback.

* Update test.

* Fix busted GQL query.

* Update functional test docs to use data without buggy values.

* Update index name in HB functional api test docs.

* Update snapshot base functional test.

* Make snapshot filter tests pass, fix associated bug.

* Configure remaining snapshot e2e tests to work with 7.x data.

* Give better variable names and comments for ugly code.

* Configure ping list query tests to work with updated 7.x data.

* Rename graphql describe block.

* Update monitor status bar query tests to work with updated 7.x data.

* Update monitor list query tests to work with updated 7.x data.

* Update filter bar query to work with updated 7.x data.

* Update error list query to work with updated 7.x data.

* Update doc count fixture to work with new 7.x data.

* Address PR feedback with filter typing to clean up code.

* Add comments based on PR feedback.

* Fix bug introduced in 8856be8e39.
2019-01-31 16:40:33 -05:00
Rashid Khan
28c9f7b28e
Fix dev watcher instructions. 2019-01-31 14:17:26 -07:00
Ryan Keairns
de92f9b1b7
Monitoring design touchup (#29479)
* UI design touchup for 7.0

* clean up chart titles and beta icon

* Make shard list wrap on IE11

* wrap table cells with much content

* fix title height above graphs on ie11

* update tests and snapshots

* update functional test for node detail

* fixing more functional tests
2019-01-31 14:32:04 -06:00
Pete Harverson
0c86822e40
[ML] Automatically migrate saved objects created by data recognizer (#29736)
* [ML] Automatically migrate saved objects created by data recognizer

* [ML] Remove TODO from saved object import step
2019-01-31 19:54:22 +00:00
James Gowdy
f46a8d64ca
[ML] Displaying recognizer saved objects errors (#29734) 2019-01-31 17:14:18 +00:00