Commit graph

2065 commits

Author SHA1 Message Date
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
Jonathan Budzenski
61f999304b [kbn-es] Platform specific snapshots (#29673) 2019-02-01 20:59:59 -08:00
spalger
bf6126ad1d [ftr/maps] use newly renamed maps page object 2019-02-01 17:08:14 -08: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
Chris Cowan
fada5d9e15
[Infra UI] Table View for Home Page (#29192)
* Addding initial table implimentation

* Moving waffle map to seperate component; adding contextual menu to nodes; adding filter to groups; adding pagination; adding sorting

* Fixing EUI types for EuiInMemoryTable to work for EVERYONE

* Adding server plugin for tslint for VIM; Fixing tests

* Adding the view switcher

* removing dependency

* updating yarn.lock

* Change padding to use EUI rules

* Rename waffle/index to nodes_overview; move table to nodes_overview

* Adding missed files in last commit

* Adding textOnly to the columns that need special truncation because they are buttons

* Fixed an error in the merge

* Fixing merge issues
2019-01-31 09:53:09 -07:00
Luke Elmers
402b8cfa8a
Test dashboards in spaces & interpreter socket. (#29459) 2019-01-31 09:44:23 -07:00
Søren Louv-Jansen
528e533528
[APM] Fix Legend positioning and margins (#29707) 2019-01-31 17:28:12 +01:00
Ryan Keairns
bbc68b0000
[7.0] Adds new K7 side navigation (#28940)
* initial commit of K7 side nav

* [ui/persistedLog/recentlyAccessed] support observing history items

* [globalNav] use real recentlyAccessed and navLink data

* fixes header logo and mobile layout

* handle hidden links and no recents, use size vars

* handle hidden links and no recents, use size vars

* adds prop to wrap flyout link text

* fix menu scroll for IE

* [chrome/headerGlobalNav] fix typescript issues

* [chrome/headerGlobalNav] only ignore types that are actually missing

* update EUI to 6.6.0

* Revert "update EUI to 6.6.0"

This reverts commit 048cbf9157f8fc7410d4cf8e017b210c4548104e.

* [chrome] remove HeaderAppMenu component

* [ftr/services/appsMemnu] update for new style

* [ftr/discover] tweak size of discover tests and size-dependent assertions

* [chrome] disable offsets in embed mode

* [ftr/discover] try sticking with original screen width

* [ftr/discover] try to force screensize before checking axis labels

* [ftr/services/appMenu] ensure menu closed after clicking app

* uptime app icon, mobile header size removed

* [ftr/discover] make assertion resilient to minor changes in vis width

* [chrome] add types for nav apis

* [chrome/recentlyAccessed] display app icons when possible

* [ftr/discover] make a little wider so scroll doesn't interfer with vis width

* [ftr/services/globalNav] fix test subject
2019-01-31 10:13:40 -06:00
Thomas Neirynck
98a77ab9db
[Maps] Do not wait for meta call to complete for bootstrapping the app (#29514) 2019-01-31 10:43:09 -05:00
Aaron Caldwell
cbefe90d50
[Maps] If tilemap source already exists, just sync style (#29620)
* If source already exists, just sync tilemap style

* Review feedback
2019-01-31 08:40:29 -07:00
Chris Cowan
7e9315a528
[Log UI] Flyout for Log Events (#28885)
* Adding flyout to log viewer

* Adding filtering

* Fixing typescript errors

* Adding a test for graphql; fixing test data for 7.0.0

* Adding terminate_after:1 to logItem request

* fixing test data

* Switching back to old data

* Fixing data for tests

* Adding i18n translations

* changing label from add to set

* Make flyout call more robust; fixing typings

* Adding loading screen to flyout

* Fixing linting errors

* Update x-pack/plugins/infra/public/components/logging/log_flyout.tsx

Co-Authored-By: simianhacker <chris@chriscowan.us>

* Fixing visible mis-spelling

* Fixing types

* Change withLogFlyout to be conditional; Add icon instead of onClick for flyout

* Adding dark mode support

* Adding user-select:none to icon div

* Removing remnants of a failed experiment

* Adding aria-label to view details button

* Fixing padding on date element

* Removing unused variable that somehow got past the linters

* Fixing empty_kibana

* Fixing data for infra

* Fixing merge weirdness
2019-01-31 08:34:09 -07:00
Bill McConaghy
779c9e1fd3
Update xpack console specs (#29506)
* updating xpack console specs for _xpack namespace deprecation

* fixing stray xpack

* adding additional spec

* fixing issues with stray _xpack
2019-01-31 08:28:37 -05:00
James Gowdy
a6291afd7d
[ML] Fixing data recognizer panel refresh on new job page (#29701) 2019-01-31 13:11:27 +00:00
Sophie Chang
413d37d5ed [ML] Update http access modules for ECS (#29383)
* [ML] Initial commit for apache ecs module

* [ML] Update apache2 module for ECS

Rename following fields
event.module:apache
event.dataset:access
source.address
url.original
http.response.status_code
source.geo.location

Rationalise to only use one set of kibana saved objects for all http web access logs
Rename files from apache
Combined URL explorer into Count explorer dashboard as there was a lot of duplication
Add filter to custom url
Rename custom urls to Investigate Source IP and Status Code
Add chart to show overall event rate split by event.module - can tell if multiple datasets are included
Increase limit for top source ips from 5 to 50
Add created_by to custom setting for telemetry
Rename jobs and saved objects to include ecs tag

Tested side by side against v6 jobs

* [ML] Rename apache files from hyphen to underscores

* [ML] Further apache renames

Also change custom URLs to lower case to match "View series"
Change created_by to ml-module-apache-access

* [ML] Initial commit of nginx ml module

* [ML] Rename dashboard to generic explorer

* [ML] Further refinement for apache

Rename http_status_code to status_code_rate
Update custom url to use filters instead of lucene query bar

* [ML] Convert apache module to nginx

Copy files, keeping nginx logo
Multiple renames to nginx

* [ML] Make chart legend visible by default
2019-01-31 11:39:18 +00:00