Commit graph

113 commits

Author SHA1 Message Date
Chris Cowan
e5e13a0a5f
[Infra UI] Log Rules for Apache2 errors (#28407) (#28685) 2019-01-22 11:07:08 -07:00
Chris Cowan
cf5681ab91
[Infra UI] Update format of System and Redis log lines to match new format (#28415) (#28686)
* Updates to format

* Uppercasing Syslog

* Change prefixes for syslog to system

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

* Change prefixes for syslog to system

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

* Change prefixes for syslog to system

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

* Change prefixes for syslog to system

Co-Authored-By: simianhacker <chris@chriscowan.us>
2019-01-22 11:06:43 -07:00
Chris Cowan
bfe91b382f
Fixes #27525 - Change diskio bytes and ops for Docker to use derivative (#28182) (#28683) 2019-01-22 11:06:22 -07:00
Chris Cowan
19b36d8b0f
[Infra UI] Log Rules for Nginx Errors (#28388) (#28684)
* Adding Nginx Error log rules

* standardizing log prefixes
2019-01-22 11:06:01 -07:00
Felix Stürmer
0cd47aad48
[Infra UI] Explicitly set format in date range queries and aggs (#28094) (#28821)
Previously, the Logs UI assumes that the index mapping of the logs indices has a default date format including `epoch_millis` configured for the timestamp field. If that is not the case queries can fail, leaving parsing exceptions in the Elasticsearch logs.

This PR fixes the Elasticsearch queries related to the Logs UI to explicitly specify the `epoch_millis` format for date range queries and aggregations.

fixes elastic/kibana#27554
2019-01-16 14:45:57 +01:00
Nathan Reese
973eeb9a1d
merge conflicts in snapshot (#28773) 2019-01-15 15:38:37 -07: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
Chris Cowan
eea7a18a8e
[InfraOps] Update docs with data source configuration (#26579) (#28398)
* Updating docs

- Configure data sources via config/kibana.yml
- Fix typo

* Adding timestamp override

* Documenting all settings

* Removing changes from a different PR

* Add settings docs

* Adding all the settings

* Updating docs based on feed back from PR

* Adding periods to lines; changing disabled to present tense

* Updates to docs per PR

* Updates per PR

* Fixes per PR
2019-01-09 12:41:07 -07:00
Felix Stürmer
9a681f0add
[Infra UI] Mark logging text scale label as translatable (#28086) (#28373)
This wraps the logging ui text scale names into <FormattedMessage> components to mark them as translatable.

fixes #27973
2019-01-09 19:29:26 +01:00
Felix Stürmer
3e56ae3cb3
[6.x] Add a local tsconfig.json for the infra plugin (#28076) (#28196)
Backports the following commits to 6.x:
 - Add a local tsconfig.json for the infra plugin  (#28076)
2019-01-07 21:48:24 +01:00
Josh Dover
6721466e9a
[6.x] Upgrade assistant - Phase 1 (#25168) (#27452)
* Upgrade assistant - Phase 1 (#25168)

* Get basic scaffolding working

* Wire up cluster checkup data

* Add types for elasticsearch plugin

* Implement basics of checkup tab

* Update style of deprecations

* Add copy and reload button to checkup

* Add filtering by warning level

* Add deprecation logging tab

* Copy updates and cleanup

* Type cleanup

* Move deprecation logging to overview tab

* Make filters togglable

* Move sections into tabs and add support for grouping

* Cleanup and add clearer labels

* Use tables for message grouping

* Cleanup and small fixes

* Allow console to load relative URLs

* Add reindex in console button to reindex tasks

* Merge documentation UI and uiButtons

* Fix tests

* Filter bar tweaks

* Filter out index settings that can't be set

* Fix types

* Add tests for deprecation_logging

* Add tests for reindex templates

* Make KibanaConfig generic

* Simplify integration test

* Finish backend unit tests

* Fixup types

* Fix uiButton updating for reindex items

* Fixed background color stretching

* Pulling tabs out and re-ordering filter buttons

* Making accordions more item-list like

* Turned Healths into Badges

- Couldn’t do the conversion within the cell because it only passed color

* Fix overflow issue

* Optional filter and expand/collapse controls

* Reorganizing

- Added placeholder for moving action button up into accordion header
- Removed repetitive message name outputs
- Slightly better listing of each message when sorting by index
- Only showing number of severity when sorting by index
  - Still need to allow showing all severity levels
- Added indice count when sorting by issue

* Putting `Deprecation logging` in a `EuiDescribedFormGroup`

* Added some stats, empty prompts, and all clear prompt

* Added docs link

* Cleaned up sass files

* Revert changes to fake_deprecations

* Update blacklisted settings

* wip

* Move data fetching and tab control

* Wire up overview summary

* Cleanup docs/uiButtons + move actions to index table

* Add expand/collapse all functionality

* Wire up search box

* Wire up severity indicators

* Fix types

* Round out functional tests

* Fix fake data

* Remove info deprecation level

* Fix extra space on cluster tab control bar

* Cleanup code and localize majority of UI controls

* Change overview tab to steps layout

* Update copy

* Localize overview tab

* Complete localization of checkup tabs

* Make ES version dynamic based on branch

* Add pagination to checkup tabs

* Rename checkup -> assistant

* Cleanup filter and group by bars

* WIP UI unit tests

* Copy tweaks

* Fix i18n formatting issues

* Update tests for copy

* Add tests for remaining UI

* Fix pagination w/ filter changes + table button color

* Small cleanup

* Add reindex button to old index deprecations

* Add shrunken indices setting to copy settings blacklist for #18469

* Add next steps to overview tab + update copy

* Remove usage of migration assistance API

* Use all/critical toggle for filter buttons

* Cloud upgrade copy

* Translate reindex button

* Remove hacked EUI type

* Show incomplete banner on all tabs

* Update copy for waiting for next version

* Review comments

* Update deprecation level type

* Update checkup tab snapshots

* Remove dependencies on types from #25168

* Use types from new global type defs

* Remove 'Reindex in Console' button

* Remove unused variable

* Update snapshots
2018-12-18 18:53:33 -06:00
dave.snider@gmail.com
dd9e773156
[6.x] EUI 5.8.1 comes with a brand color refresh. Also removes lots of KUI (#27009) (#27429)
* EUI 5.8.1 comes with a brand color refresh. Also removes lots of KUI (#27009)

EUI 5.7.0 had a color refresh which switched around our palette to better match branding guidelines. Hex colors are still hard coded in large parts of Kibana so most of the changes not in kbn/ui-framework are simple shifts to match that styling.

* snapshots
2018-12-18 14:32:08 -08:00
Lukas Olson
e23dc042b7
[6.x] Move buildEsQuery to a package (#26306)
* Move buildEsQuery to a package (#23345)

* fix: move buildEsQuery to utils

* fix: tests that I broke

* fix: add back link to the docs

* fix: don't export from ui/ and link to utils

* fix: move to a package

* fix: move error to errors.js

* fix: paths for peg task

* fix: update reference to kuery

* fix: build step for transpilation

* fix: add typescript declaration file

* fix: test

* tmp: debug individual tests

* debug: add debug stuff for reporting tests

* try to debug test

* Testing splitting reporting jobs in two

* Testing splitting each job

* Fix ci yaml

* Skipping job to check failing test

* debug - adding a catch to jobResponseHandler on report

* Testing a different job and enabling verbose mode

* Testing verbose on phantom_api skipping other CI tests

* Fix script mode

* fix: try running tests in chromium

* fix: move out of devDependencies

* fix: remove commented test

* Revert "fix: try running tests in chromium"

This reverts commit 991d46f051.

* Revert testing changes

* Fixing build for phantomjs

* Revert CI configuration to master. Remove verbose logging for tests

* remove x-pack/yarn.lock, accidentally added back in #23345

* Fix import sorting
2018-12-18 13:52:33 -07:00
Chris Cowan
46538d22e4
[Infra UI]Adding linking support for APM (#27319) (#27351)
* Fixes #26620 - Adding linking support for APM

* Fixing some weird merge artifacts

* Finalizing URL linking to APM
2018-12-17 16:43:34 -07:00
Chris Cowan
489119cbbe
[Infra UI] Update links for containers to use ID instead of name (#27088) (#27324)
* Adding id and name to metadata response

* Adding name to response

* update to types

* Adding support for displayNames to waffle map

* fixing a bug when _source is missing

* Fixing tests

* making the metadata response manditory

* Fixes from PR review

* Fixing typing errors related to displayName being required part of path

* Changing 'Loading data for xxx' to 'Loading data'

* Changing InfraNodePath.displayName to InfraNodePath.label

* Change groups to use the label instead of value

* Fixing merge changes
2018-12-17 15:54:52 -07:00
Chris Cowan
66eaefeb9d
[Infra UI] Fix graphql type generation after package upgrades (#26991) (#27340)
This fixes the infrastructure UI graphql type generation after relevant packages have been upgraded in #25157.
2018-12-17 14:12:45 -07:00
Josh Dover
16a900a83e
Establish pattern for typing legacy plugins (#26045) (#27325)
* Add legacy types and export them for plugins
* Add support for core_plugins to import from 'kibana'
2018-12-17 13:56:06 -06:00
Sonja Krause-Harder
a0e3a1f0ef
[Infra UI] Don't show sidenav while loading. (#27119) (#27208)
* Don't show sidenav while loading.

* Remove useless use of cast.
2018-12-14 18:46:53 +01:00
Felix Stürmer
031759a497
[6.x] Remove usage of ts-optchain in the browser (#27148) (#27193)
Backports the following commits to 6.x:
 - Remove usage of ts-optchain in the browser  (#27148)
2018-12-14 14:01:57 +01:00
Felix Stürmer
73e7ac28f5
[6.x] [Infra UI] Replace redux source slice with constate container (#26121) (#26721)
Backports the following commits to 6.x:
 - [Infra UI] Replace redux source slice with constate container  (#26121)
2018-12-14 00:04:14 +01:00
Chris Cowan
1ab598c646
[Infra UI] Change node detail link to set time range to 1 hour (#26977) (#27134)
* Change time range for link to -1h

* Moving timeRange manipulation up a level to the node component
2018-12-13 10:13:14 -07:00
Bhavya RM
519f0857c9
Adding the missing alt tag for waffle node type switcher svgs (#27070) (#27122)
* adding the missing alt tag

* making alt attribute empty
2018-12-13 10:14:32 -05:00
Felix Stürmer
54be8b9a38
[6.x] [Infra UI] Fix styling after breaking EUI changes (#27021) (#27028)
Backports the following commits to 6.x:
 - [Infra UI] Fix styling after breaking EUI changes  (#27021)
2018-12-12 14:25:34 +01:00
Bhavya RM
0dbf35bc7e
fixing a11y errors so we can add a11y rules to tslint (#26895) (#26936) 2018-12-11 09:12:21 -05:00
dave.snider@gmail.com
594a32ec47
EUI 5.6.0 (#26839) (#26938)
* eui 5.6.0

* Import IconType in infra/types/eui.d.ts
2018-12-10 19:59:23 -08:00
Tiago Costa
1d3fcaac0a
[6.x] Upgrade to NodeJS 10 (#25157) (#26909)
* chore(NA): merge and solve conflicts backporting to 6.x

* chore(NA): merge and solve conflicts backporting to 6.x
2018-12-10 18:50:30 +00:00
Felix Stürmer
7ed713e4b7
[6.x] [Infra UI] pass flag in request to force BWC hit count (#26517) (#26717)
Backports the following commits to 6.x:
 - [Infra UI] pass flag in request to force BWC hit count  (#26517)
2018-12-05 20:00:39 +01:00
dave.snider@gmail.com
3b7cd839ae
Update to EUI 5.3.0 (#26485) (#26578)
* update to EUI 5.3.0
2018-12-04 09:12:07 -08:00
Chris Cowan
da04022f19
Fixes AutoRefresh button on node detail page (#26426) (#26564) 2018-12-03 15:00:38 -07:00
Felix Stürmer
6bcf2417f3
[k7/Infra UI] Integrate with K7 Breadcrumbs (#25938) (#26519)
This changes the header to be conditionally rendered based on the k7design UI setting. If the setting is false, the header is rendered as before. If it is true, the header is hidden and the breadcrumbs are set via the Kibana breadcrumbs api.
2018-12-03 21:59:33 +01:00
Chris Cowan
8e6cd7c620
Fixes #26052 - Change time range for waffle map from last hour to last 5 minutes (#26278) (#26447) 2018-12-03 08:35:02 -07:00
tibmt
21ffb1ed5e
translate additional part of Infra PR (#26409) (#26457) 2018-11-30 09:55:26 +02:00
Chris Cowan
127a07148b
Fix Potential Color Bugs (#26292) (#26427)
- Fixes 25707 by parsing the colors generated for the node and adding a
try/catch to prevent an errors by returning the default color
- Set the min bounds to zero when there is only one data point
2018-11-29 10:33:40 -07:00
tibmt
5b482feb23
translate InfraOps visualization component (Part 2) (#25212) (#26411)
* translate InfraOps visualization component (Part 2 - part of folder components and root files)

* update translation of Beats Management vizualization component (Part 2)

* update translation of Infra Ops vizualization component (Part 2)

* update translation of Infra Ops vizualization component (Part 2)

* update translation of Infra Ops vizualization component (Part 2)

* change some ids and add some logic

* update Infra Ops Part 2 - directly wrap some classes by injectI18n()

* Update Infra Part-II change some code

* update Infra-II - add static to displayName, add needed translations

* update Infra-II - fix errors wich broke CI

* update Infra-II - fix errors wich broke CI

* update Infra-II - fix errors

* update Infra-II - fix errors in group_by_controls

* update Infra-II - update nodeType in files with errors

* update Infra-II

* update Infra-II

* update Infra-II - update one type

* add one empty line, use lodash get method
2018-11-29 16:19:37 +02:00
tibmt
14e2396f89 translate InfraOps visualization component (Part 3) (#25213) (#26248)
* translate InfraOps visualization component (Part 3 - part of folder components)

* update translation of Infra Ops vizualization component (Part 3)

* update translation of Infra Ops vizualization component (Part 3)

* change some ids and add pluralization

* update Infra Ops Part 3 - change some ids, change some intl.formatMessage() to <FormattedMessage> and directly wrap some classes by injectI18n()

* update Infra-III - add static to displayName
2018-11-27 15:36:57 +03:00
tibmt
278405b66b
translate InfraOps visualization component (Part 4 - server part) (#25217) (#26168)
* translate InfraOps visualization component (Part 4 - server part)

* update translation of Infra Ops vizualization component (Part 4)

* remove unnessesary translations

* change some ids

* change some ids

* change one id
2018-11-26 14:06:59 +03:00
tibmt
cd9802e18b
translate InfraOps visualization component (Part 1 - folder pages) (#25194) (#25936)
* translate InfraOps vizualization component (Part 1 - folder pages)

* update translation of Beats Management vizualization component (Part 1 - folder components)

* Update toolbar.tsx

* update translation of Beats Management vizualization component (Part 1 - folder components)

* update translation of Infra Ops vizualization component (Part 1)

* update translation of Infra Ops vizualization component (Part 1)

* update Infra Ops Part 1 - change some ids, change i18n.translate() to intl.formatMessage() and directly wrap some classes by injectI18n()

* update Infra-I - add static to displayName, update some ids
2018-11-21 09:39:03 +03:00
Sonja Krause-Harder
a0bd93bf57
[Infra UI] Refactor 'capabilites' to 'metadata'. (#25580) (#25925)
* Refactor 'capabilites' to 'metadata'.

* Better language in inline documentation.
2018-11-20 13:52:47 +01:00
Josh Dover
fb89ffbc68
[6.x] [kbn-pm] Use yarn workspaces for dependencies (#24095) (#25549)
* [kbn-pm] Use yarn workspaces for dependencies (#24095)

* Bumped leadfoot to 1.7.5 now that it issue has been merged. (#17582)

* Copy license to build
2018-11-12 17:21:42 -06:00
Tiago Costa
632403ee6a
fix(NA): merge and solve conflicts with 6.x branch. (#25566) 2018-11-12 22:31:37 +00:00
Felix Stürmer
ca57dcf2b7
[Infra UI] Remove duplicate "Overview" in detail page title (#25283) (#25292)
This removes the duplicate word "Overview" from the title of the container details page.
2018-11-07 18:18:51 +01:00
Felix Stürmer
f55b39d195
[6.x] [Infra UI] Work around IE11 flexbox alignment problems (#25224) (#25281)
Backports the following commits to 6.x:
 - [Infra UI] Work around IE11 flexbox alignment problems  (#25224)
2018-11-07 14:51:16 +01:00
Felix Stürmer
0879295771
[6.x] [Infra UI] Normalizing CPU usage for waffle map (#25123) (#25210)
Backports the following commits to 6.x:
 - [Infra UI] Normalizing CPU usage for waffle map  (#25123)
2018-11-06 17:39:26 +01:00
Felix Stürmer
ccc6b25a36
[Infra UI] Add beta badge with tooltip to the header (#25113) (#25196)
In accordance with #25008, this adds a "Beta" badge with a corresponding tooltip to the header.
2018-11-06 14:51:20 +01:00
Shaunak Kashyap
61ba781748 Infra UI: Fixing minor typo (#25005)
Resolves #25007.

Outbound traffic is generally denoted with TX, abbreviation for Transmit, instead of RX, abbreviation of Receive.

This PR fixes this minor typo.
2018-11-06 01:28:02 -08:00
Felix Stürmer
650b64c562
[6.x] [Infra UI] Rename InfraOps to Infrastructure (#25135) (#25159)
Backports the following commits to 6.x:
 - [Infra UI] Rename InfraOps to Infrastructure  (#25135)
2018-11-05 23:04:49 +01:00
Felix Stürmer
ed9843a0af
[6.x] [InfraOps] Preserve time values when navigating from the waffle map to the logs and details pages (#24666) (#24911)
Backports the following commits to 6.x:
 - [InfraOps] Preserve time values when navigating from the waffle map to the logs and details pages  (#24666)
2018-10-31 20:28:46 +01:00
Josh Dover
306d06c0e9
[6.x] Upgrade Hapi in legacy platform to v17 (#21707) (#24608)
* Upgrade Hapi in legacy platform to v17 (#21707)

* Disable even-better monitoring

* Upgrade to Hapi v15

* Upgrade to Hapi v16

* Handle optional req params correctly

* Update http and kbnServer

* Get mocha tests passing

* Convert `reply` usages [wip]

* Fix Joi and Plugin incompatibilities

* Get server up and running

* Get basic logging working

* Fix optimizer

* Fix recent route handlers

* Various fixes

* Fix recent routes

* Upgrade wreck for async/await

* Fix mocha tests

* Fix joi issues

* Fix xpack jest tests

* Fix recent routes

* Fix tests

* Fix index setup

* Decouple monitoring stats collection from good plugin

* Update reload logging test to work

* Reimplement logging with updated good plugin

* Fix unit tests

* Fix getConnections back

* Make LegacyLoggingServer compatible with Hapi v17

* Update joi types

* Fix x-pack unit tests

* Remove stray debugger

* Remove hapi-compat

* Fix API integrations

* Upgrade boom

* Fix security plugin

* Misc fixes

* bump

* Fix licensePreRoutingFactory

* Fix failing integration tests

* Remove unnecessary test change

* Remove hapi-latest package

* fx

* Various cleanup

* Fix race condition in oppsy events

* Use elastic/good fork

* Fix boom.wrap and hapi-latest changes

* Simplify LegacyLoggingServer updates

* package.json cleanup + test fix

* yarn.lock cleanup

* Change good tag

* Fixes

* Change return err -> throw err in routes

* Fix await returns

* Fix new load_data test

* Make cookie security flags consistent

* tmp doc

* Fix types

* Fix tests

* Upgrade canvas plugin

* Move good package to published @elastic/good one

* Fix SO test

* Fix logging reloading

* Update APM apis

* Fix error logging

* Fix logging test

* Convert spaces plugin

* Add validation error shim

* Remove 7.0 release notes

* Await renderApp

* Fix ccr routes

* Prevent header popovers from scrolling with page content (#23850)

* Fix spaces test

* new yarn.lock-s

* Fix spaces tests

* Remove h2o2-latest

* Fix @types/hapi

* Upgrade InfraOps plugin

* Fix package.json

* Add back isSameSite: false

* Upgrade beats_management plugin

* Update snapshot

* Fix InfraOps

* Upgrade kql_telemetry

* Merge upstream/master

* Upgrade apm and ml

* Put snapshot test back

* Fx beats

* Upgrade rollups

* Update boom usages in new plugins

* Update url shortener

* Don't throw errors in optimizer (#24660)
2018-10-26 16:37:05 -05:00