Commit graph

1889 commits

Author SHA1 Message Date
Melissa Alvarez
3062069d52
[ML] Add support to Data Visualizer for index patterns without a time field (#28511) (#28695)
* Prevent docCount fetch and remove sidebar if no timeField set.

* Don't show metrics section if no metrics cards

* Add parens to conditional statement as per styleguide

* Don't create docCount card if not timeseries based
2019-01-14 14:21:15 -05:00
Caroline Horn
6e4ae71663
Final ui/public/styles LESS to SASS (#27510) (#28696) 2019-01-14 13:53:10 -05:00
James Gowdy
b74883907d
[ML] Fixing analyze file endpoint call when behind proxy (#28595) (#28679)
* [ML] Fixing analyze file endpoint call when behing proxy

* small refactor
2019-01-14 15:45:54 +00:00
Bill McConaghy
9ceccc2d94
adding freeze action to ILM UI (#28572) (#28619)
* adding freeze action to ILM UI

* updating frozen indices description

* copy edits

* fixing issue with disabling freeze action

* removing unneeded Fragment
2019-01-14 09:16:27 -05:00
pavel06081991
ab51c120a6
[ML] translate anomalies table columns names (#28666) (#28671)
[ML] translate anomalies table columns names
2019-01-14 16:12:21 +03:00
Pete Harverson
f00e196787
[ML] Removes unused ml-item-select directive (#28669) (#28672) 2019-01-14 13:07:46 +00:00
pavel06081991
e6317c8a3e
[ML] translate job validation messages (#28235) (#28668)
[ML] translate job validation messages
2019-01-14 14:53:10 +03:00
pavel06081991
abc3815fd5
[ML] translate models (#27888) (#28664)
[ML] translate models
2019-01-14 14:05:52 +03:00
pavel06081991
a944705110
[ML] translate anomalies table (#27802) (#28661)
[ML] translate anomalies table
2019-01-14 11:52:29 +03:00
Nox911
7d9b110972
[i18n] Translate ML - time series explorer (#28066) (#28660)
* Translate timeseries explorer

* Fix issues

* Fix tslint errors

* Fix tslint error

* Fix test

* Update tests

* Fix tests

* Update snapshot

* Resolve issues from review comments

* Resolve issues from review comments
2019-01-14 11:36:22 +03:00
Maryia Lapata
2355bbbe07
[i18n] APM translations for Charts (#28240) (#28560)
* Translations for Charts

* Remove unnecessary I18nProvider

* Refactoring
2019-01-14 11:03:06 +03:00
Nox911
e30318eb66
Replace shallow and mount to shallowWithIntl and mountWithIntl (#28563) (#28579) 2019-01-14 10:45:05 +03:00
Nox911
93b452e9c0
Fix translation for watcher email (#28451) (#28555) 2019-01-14 10:44:43 +03:00
Maryia Lapata
e734e244d6
[i18n] APM translations for ServiceDetails (#28452) (#28562)
* Translations for ServiceDetails

* Update message ids

* Fix message id
2019-01-14 10:26:03 +03:00
Maryia Lapata
1d07b10eee
[i18n] APM translations for ServiceOverview (#28347) (#28554)
* Translations for ServiceOverview

* Add translation for units
2019-01-14 10:25:06 +03:00
Maryia Lapata
b7c565a4e0
[i18n] APM translations for TransactionActionMenu, EmptyMessage, SetupInstructionsLink (#27684) (#28658)
* APM translations for TransactionActionMenu, EmptyMessage, SetupInstructionsLink

* Remove unused dependency

* Use i18n.translate

* Remove unnecessary I18nProvider
2019-01-14 10:23:45 +03:00
Maryia Lapata
ddb34705ed
[i18n] APM translations for KueryBar (#27495) (#28569)
* Translations for KueryBar

* Fix code review comments

* Use i18n.translate

* Refactoring
2019-01-14 10:22:55 +03:00
Maryia Lapata
72026bf5db
[i18n] APM translations for TransactionOverview (#28489) (#28565)
* Translations for TransactionOverview

* Remove unused files

* Add translations
2019-01-14 10:21:43 +03:00
Maryia Lapata
48d0f2bfc5
[APM] Translations for TraceOverview (#28486) (#28561) 2019-01-14 10:20:32 +03:00
Nathan Reese
823c75f3bd
[Maps] add empty state for 'Custom vector shapes' source (#28598) (#28627) 2019-01-12 07:51:02 -07:00
spalger
4272ae868c skip flaky test (see #27922)
(cherry picked from commit f75b2a7f9c)
2019-01-11 18:19:47 -08:00
Chris Cowan
1e2818b507
[Infra UI] Adding rule for MySQL error and slowlog (#28219) (#28623)
* Adding rule for MySQL error and slowlog

* Renaming rules variable

* Fixing slowlog rule

* Updating prefixes
2019-01-11 16:23:51 -07:00
Chris Cowan
156ea3788b
[Infra UI] Log Rules for AuditD Filebeat Module (#28289) (#28603)
* Adding AuditD rules for SYSCALL and MAC_IPSEC_EVENT events

* Adding catch all rule

* Adding catchall for events without msg

* Adding boolean to LogEntryDocumentFields

* Standardizing prefix format
2019-01-11 15:03:30 -07:00
Chris Cowan
8b46218603
Updating legend to use gray/blue gradient (#28206) (#28604) 2019-01-11 14:06:31 -07:00
Thomas Neirynck
dc46b55553
[Maps] ensure dynamic sizing works on field selection (#28437) (#28539) 2019-01-11 14:11:15 -05:00
nicknak
5ce826af2f
Testing x pack jest integration (#26825) (#28518)
* progress

* progress

* cleanup and elastic configs

* make upgrades to support adding aditional users, with

* use defaultDeep to ensure settings pass correctly

* move needed configs to start servers into kbn_server (except x-pack plugin paths and users)

* move xpack config to an export

* add more time

* diff rollbacks

* roll back prettier diff

* revert setupUsers signature

* remove more bluebird

* update bluebird for fixes with jest compatability

* fix ts errors

* dont allow jest to keep going making errors confising

* Separates configs for jest integration core/x-pack.

* Pass nested kbn config parameters.

* Adds example x-pack integration test using live es.

* Cloud detectors should be configurable for tests.

* Cloud detectors should use native promises only.

* No erroneous comments...

* Util is only for promisify, duh!

* New tests should have docuementation to help those looking to utilize them.

* Doc section headings should be consistent with each other.

* With git there is no need to commit commented code.
2019-01-11 13:17:48 -05:00
Oliver Gupte
930d6ef8c7
[APM] fix action menu infra link for docker.container.id (#28140) (#28521)
* Fixes #27573 by targeting `docker.container.id` to populate the action menu

* [APM] replace lodash get with idx accessor to not lose type information

* [APM] fix type inconsistencies between v1 and v2 transaction types
2019-01-11 09:43:56 -08:00
Justin Kambic
fe1706bd26
[Uptime] Remove beaker icon, update "help" copy (#28018) (#28594)
* Add tooltip to beaker icon. Update help copy.

* Remove beaker icon.

* Change feedback link copy to say "Discuss".

* Add target _blank to help link.
2019-01-11 12:34:51 -05:00
Søren Louv-Jansen
1c36215b50
[APM] Fix linking between errors and transactions, and link from errors to Discover (#28477) (#28584)
* [APM] Fix linking between errors and transactions, and link from errors to Discover

* Add tests
2019-01-11 17:40:22 +01:00
Maryia Lapata
078b54b7cf [i18n] APM translations for Error Group (#28314) (#28556)
* Translations for ErrorGroup

* Make occurrencesCount required

* Update message ids
2019-01-11 18:18:41 +03:00
Walter Rafelsberger
44f416dbfc
[ML] Remove deprecated angularjs directives. (#28564) (#28578)
* [ML] Remove deprecated show-charts directive.
* [ML] Remove deprecated ml-controls-select directive.
* [ML] Remove deprecated SCSS import.
2019-01-11 16:12:30 +01:00
Bill McConaghy
244835c074
Prevent overwriting ilm config the ui does not know about (#28370) (#28577)
* using original ES ilm policy as basis for new one to prevent overwriting config the ui does not know about

* fixing issues with disabling actions

* removing unused parameter
2019-01-11 09:59:12 -05:00
Justin Kambic
931bf9b98c
[Uptime] Rename plugin (#28008) (#28573)
* Rename "Uptime Monitoring" to "uptime".

* Remove "Monitoring" from the app's title.

* Fix broken integration tests.
2019-01-11 09:47:32 -05:00
Nathan Reese
32d8b34938
[Maps] add query bar to map application top nav (#28210) (#28571)
* display query bar in top nav with index patterns for typeahead support

* add query to state and pass query to search source

* store query in app state and saved object

* functional tests

* functional tests for geohashgrid source

* functional tests for es_search_source

* delete previous join properties when joining results

* re-fetch on query refresh

* review feedback
2019-01-11 07:30:41 -07:00
Maryia Lapata
5602e88023
[i18n] APM translations for Main (#28324) (#28553)
* Translations for Main

* Fix merge conflicts
2019-01-11 17:28:58 +03:00
Walter Rafelsberger
714a4de303
[ML] Migrate Anomaly Explorer to React (except job selector) (#28234) (#28558)
* [ML] Move Anomaly Explorer Loading indicator to React.
* [ML] Move no-jobs message to React/Eui.
* [ML] Move no-results message to React/Eui.
* [ML] Refactored explorer.js to return earlier.
* [ML] Refactored influencers column to react.
* [ML] Refactored Overall Swimlane and view-by dropdown to react/eui.
* [ML] Refactored limit dropdown to react/eui.
* [ML] Refactored view-by swimlanes to React/Eui.
* [ML] Refactored annotations table to React/Eui.
* [ML] Refactored table controls to React/Eui.
* [ML] Refactored explorer charts to use React/Eui.
* [ML] Refactored anomalies table to React/Eui.
* [ML] Move explorer charts data listener to ExplorerChartsContainer component.
* [ML] Make AppState dependent services importable by React components.
* [ML] Removes deprecated code.
* [ML] Simplify state handling for anomaly charts.
* [ML] Simplify swimlaneCellClick().
* [ML] Review feedback: Fix file structure, add propTypes.
* [ML] Review feedback: Avoid anonymous inline functions.
* [ML] Fixes tests to reflect code changes.
* [ML] Fixes InfluencerList DOM position.
* [ML] Show a loading indicator when the view-by swimlane updates.
* [ML] Review feedback: Import only relevant lodash bits. Use querySelector instead of jQuery.
* [ML] Adds snapshot tests for new smallish components.
* [ML] Fix test stub.
* [ML] More resilient getChartContainerWidth().
* [ML] Review feedback: Comment on legacy utils and dropdown widths.
2019-01-11 15:25:59 +01:00
Justin Kambic
f46d8a22dc
Remove reference to ui/chrome Breadcrumb type. (#28526) (#28529)
* Remove reference to ui/chrome Breadcrumb type. (#28526)

* Add sort to tests to prevent uncertainty in the API call result. (#28544)

Necessary fix to make 6.x green again.
2019-01-11 08:29:43 -05:00
Matt Apperson
8b3f0adcd7
propigate errors on index creation fail (#28541) (#28545) 2019-01-10 20:07:33 -05:00
Joel Griffith
4d013c1cd0
[backport] Quick smoke test of chromium on startup for diagnosing (#28001) (#28431)
* Quick smoke test of chromium on startup for diagnosing (#28001)
2019-01-10 09:23:18 -08:00
Justin Kambic
9d0d0fdd48
[Uptime Monitoring] Add uptime monitoring (#27552) (#28003)
* Add Uptime Monitoring (#25480)

* Initial commit.

* Add heartbeat app to Kibana.

* Add routing architecture.

* Add graphQL endpoint.

* Rename app to be 'uptime monitoring' instead of 'heartbeat'.

* Add server tests.

* Standardize interface/class/route naming.

* Clean up GraphQL type inference script.

* Update gql schema.

* Rename classes/interfaces. Add tests for ES ping adapter.

* Rename more symbols.

* Improve angular lifecycle management.

* Move angular lifecycle management code to framework adapter.

* [Uptime Monitoring] Add user auth checks (#26070)

* Add Uptime Monitoring (#25480)

* Add authentication checks and tests. WIP.

* Add auth adapter types. Finish work on adapter and update tests.

* Add route errors. Rename license symbols.

* [Uptime Monitoring] Add Overview and Monitor pages (#27279)

* Add Uptime Monitoring (#25480)

* Initial commit.

* Add heartbeat app to Kibana.

* Add routing architecture.

* Add graphQL endpoint.

* Rename app to be 'uptime monitoring' instead of 'heartbeat'.

* Add server tests.

* Standardize interface/class/route naming.

* Clean up GraphQL type inference script.

* Update gql schema.

* Rename classes/interfaces. Add tests for ES ping adapter.

* Rename more symbols.

* Improve angular lifecycle management.

* Move angular lifecycle management code to framework adapter.

* [Uptime Monitoring] Add user auth checks (#26070)

* Add Uptime Monitoring (#25480)

* Add authentication checks and tests. WIP.

* Add auth adapter types. Finish work on adapter and update tests.

* Add route errors. Rename license symbols.

* Add GQL query components.

* Remove reference to dedicated histogram resolver.

* Update formatting of displayed dates and columns for monitor statuses.

* Add UI import for framework adapter.

* Add Uptime Monitoring (#25480)

* Initial commit.

* Add heartbeat app to Kibana.

* Add routing architecture.

* Add graphQL endpoint.

* Rename app to be 'uptime monitoring' instead of 'heartbeat'.

* Add server tests.

* Standardize interface/class/route naming.

* Clean up GraphQL type inference script.

* Update gql schema.

* Rename classes/interfaces. Add tests for ES ping adapter.

* Rename more symbols.

* Improve angular lifecycle management.

* Move angular lifecycle management code to framework adapter.

* [Uptime Monitoring] Add user auth checks (#26070)

* Add Uptime Monitoring (#25480)

* Add authentication checks and tests. WIP.

* Add auth adapter types. Finish work on adapter and update tests.

* Add route errors. Rename license symbols.

* Add React Router and some basic breadcrumbs.

* Update application flow to subscribe to use K7 if available.

* Rename a type.

* Update to work with K7.

* Update breadcrumb module to export functions per uptime page.

* Add explicit type to object.

* HTML-encode a symbol.

* Extract router basename to prop/constant.

* Add autorefresh control and state variables.

* Support passing monitor ID to route.

* Mock up some charts in the Monitor page.

* Add spacer.

* Enlarge spacer.

* Add ID to sample link.

* Replace div with fragment.

* Remove unused text.

* Add GQL components/resolvers/queries for PingList and MonitorSelect.

* Add MonitorStatusBar GQL component, update GQL schema + resolver.

* Add GQL support for Monitor charts.

* Add auto-polling for Monitor Page components.

* Fix routing bug.

* Remove outdated code.

* Add beaker icon.

* Add snapshot component to Overview page.

* Update snapshot histogram to display monitors up/down. Update types.

* Update typings for adapters/libs.

* Move monitor list to Overview page. Update formatting of snapshot component.

* Include link from monitor table to monitor page.

* Add help link to app header.

* Remove unneeded title from Overview page.

* Update the data shown in checks list.

* Put limit on check query size.

* Remove obsolete code.

* Add filtering to Overview page.

* Add Monitor List component.

* Add filtering capabilities to errors list.

* Add pagination, sorting, and status code to errors list.

* Add Uptime Monitoring (#25480)

* Initial commit.

* Add heartbeat app to Kibana.

* Add routing architecture.

* Add graphQL endpoint.

* Rename app to be 'uptime monitoring' instead of 'heartbeat'.

* Add server tests.

* Standardize interface/class/route naming.

* Clean up GraphQL type inference script.

* Update gql schema.

* Rename classes/interfaces. Add tests for ES ping adapter.

* Rename more symbols.

* Improve angular lifecycle management.

* Move angular lifecycle management code to framework adapter.

* [Uptime Monitoring] Add user auth checks (#26070)

* Add Uptime Monitoring (#25480)

* Add authentication checks and tests. WIP.

* Add auth adapter types. Finish work on adapter and update tests.

* Add route errors. Rename license symbols.

* Fix broken test.

* Add more tests for pings ES adapter.

* Remove obsolete code.

* Track autorefresh state in localStorage.

* Shrink top visualizations.

* Fix typings in monitor charts component.

* Fix typings in monitor status bar.

* Fix typings in monitor select component.

* Fix typings for monitor memory adapter.

* Update error list column ordering. Fix broken API test.

* Clean up names.

* Refactor snapshot histogram into dedicated component, make histogram data nullable.

* Add API test.

* Add Uptime Monitoring (#25480)

* Initial commit.

* Add heartbeat app to Kibana.

* Add routing architecture.

* Add graphQL endpoint.

* Rename app to be 'uptime monitoring' instead of 'heartbeat'.

* Add server tests.

* Standardize interface/class/route naming.

* Clean up GraphQL type inference script.

* Update gql schema.

* Rename classes/interfaces. Add tests for ES ping adapter.

* Rename more symbols.

* Improve angular lifecycle management.

* Move angular lifecycle management code to framework adapter.

* [Uptime Monitoring] Add user auth checks (#26070)

* Add Uptime Monitoring (#25480)

* Add authentication checks and tests. WIP.

* Add auth adapter types. Finish work on adapter and update tests.

* Add route errors. Rename license symbols.

* Add test for ES pings adapter.

* Add empty prompt when no index found.

* Place limits on filtering capabilities.

* Update plugin order.

* Add date picker.

* Fix bug setting date range. Update chart color.

* Downgrade apollo cache package to avoid bumping other clients.

* Extract reference to chrome API from app startup to kibana adapter.

* Update framework_adapter_types.ts

Remove unneeded comment via GitHub web UI.

* Extract data formatting function to dedicated file to improve modularity.

* Add a TODO.

* Add TODO for moving formatting code to server.

* Switch to use auto_date_histogram agg.

* Add filter schema.

* Add pagination and sorting to Monitor List component.

* Add latest timestamp to errors list.

* Add code to default the date range's end to be greater than 'now' to avoid the user missing latest information on refresh.

* Delete console.log call from code.
2019-01-10 12:22:51 -05:00
Søren Louv-Jansen
25ce12fbf6
[APM] Fix agent status check (#28254) (#28493) 2019-01-10 18:03:51 +01:00
Melissa Alvarez
683ab12ec5
[ML] For categorization anomalies, display the category regex/terms in the expanded row (#28376) (#28484)
* Fetch terms/regex when row expanded

* Adds error handling for definition fetch

* update anomalyDetails tests

* Handle definition regex/terms not returned

* Adds tooltip to regex header
2019-01-10 11:21:02 -05:00
Nathan Reese
0377081d8d
[Maps] Update data source text (#28435) (#28487)
* [Maps] Update data source text

* update order
2019-01-10 08:31:23 -07:00
Jason Rhodes
c5240c5666
Updates error message when creating ML job (#28085) (#28480)
* Updates error message when creating ML job

* Updated error message based on feedback
2019-01-10 10:04:31 -05:00
Casper Hübertz
cdbefd368d
[APM] Use form label for Transaction type selector (#28322) (#28478)
* Use form label for type selector

Removes the inline copy for filtering by transaction type and uses the FormRow label as a substitute.

* [APM] Updated test snapshot
2019-01-10 14:03:36 +01:00
James Gowdy
f32aeffa5f
[ML] Fix for groups input population when cloning job (#28449) (#28453) 2019-01-10 11:52:08 +00:00
Pete Harverson
83bb79dead
[ML] Fixes overflowing text in the anomalies table expanded row (#28372) (#28397)
* [ML] Fixes overflowing text in the anomalies table expanded row

* [ML] Switch to using euiTextTruncate to fix overflow
2019-01-10 09:21:11 +00:00
Jason Rhodes
475b271a12
Switched tabs to render to avoid unnecessary mount cycles (#28389) (#28419)
* Switched tabs to render to avoid unnecessary mount cycles

We were previously using the 'component' prop for React Router routes inside of our history tabs component, which causes lots of extra mount cycles. Using the 'render' prop avoids that.

We also decided to *only* allow the render prop, which means using a component is a little more verbose b/c you have to pass down props from the render method, but it's worth it to avoid accidentally using 'component'.

For more, see: https://reacttraining.com/react-router/web/api/Route

Specifically:

"When you use component (instead of render or children, below) the router uses React.createElement to create a new React element from the given component. That means if you provide an inline function to the component prop, you would create a new component every render. This results in the existing component unmounting and the new component mounting instead of just updating the existing component. When using an inline function for inline rendering, use the render or the children prop (below)."

* Prevents trace list from flickering on data load, while still preventing inaccurate no items message while loading

* Updates tests
2019-01-09 21:55:27 -05:00
Nathan Reese
9a4f5e353e
Avoid rendering JoinEditor on every state change (#28401) (#28432) 2019-01-09 18:55:19 -07:00
Catherine Liu
df2ded28a7
fix: reject instead of resolving (#28129) (#28439) 2019-01-09 17:59:30 -07:00