Commit graph

38 commits

Author SHA1 Message Date
Thomas Watson
0997f4e783
[6.8] Use @commercial/hapi (#97605) 2021-06-29 16:57:46 +02:00
Thomas Watson
df41843abc
[6.8] Upgrade hapi v17.8.5 to @hapi/hapi v17.9.0 (#100382) 2021-05-26 10:26:55 +02:00
Thomas Watson
84fa5add86
[6.8] Upgrade some hapi related packages to their hapi-namespace counterparts (#98753) 2021-05-06 18:50:12 +02:00
Chris Roberson
12bbb5ed82
[6.8] [Monitoring/Telemetry] Force collectors to indicate when they are ready (#36153) (#41289)
* Backport c87e8811cb to 6.8

* Fix tests

* Add in missing functionality

* Add more missing code
2019-07-17 12:23:26 -04:00
Felix Stürmer
9434669200
[6.7] [Logs UI] Use log message field configured in the yaml file (#32502) (#32653)
Backports the following commits to 6.7:
 - [Logs UI] Use log message field configured in the yaml file  (#32502)
2019-03-07 19:06:48 +01:00
Chris Cowan
2ff4418b94
[Infra UI] Revert ECS changes for 6.7 (#31961)
* Revert "[Infra UI] Clean up Docker and Kubernetes fields for ECS (#31175)"

This reverts commit cb3dad1317.

* Revert "[Infra UI] Fixing group by labels by fixing the field names (post ECS migration) (#30416) (#31012)"

This reverts commit 6bd74e0abd.

* Revert "[Infra UI] ECS Migration (#28205) (#29965)"

This reverts commit fe9748583e.

* Fixing tests

* Fixing tests

* Adding test data for docker and some basic sanity checks to ensure ids and names work correctly with real data
2019-03-05 11:21:32 -07:00
Felix Stürmer
a8359115b9
[Logs UI] Fix some filebeat ECS message formats (#31120) (#31716)
Backports the following commits to 6.7:
 - [Logs UI] Fix some filebeat ECS message formats (#31120)
2019-02-21 20:05:09 +01:00
Felix Stürmer
b4cb05bfaa
[Logs UI] Fix pre-ECS filebeat module message reconstruction rules (#30398) (#31503)
This fixes the message reconstruction for the pre-ECS formats of several filebeat modules by adding appropriate rules.
2019-02-19 21:53:29 +01:00
Chris Cowan
f006135240
[Infra UI] Clean up Docker and Kubernetes fields for ECS (#31175) (#31302)
* [Infra UI] Clean up Docker and Kubernetes fields for ECS

* updating tests with latest ecs fields

* Fixing documentation
2019-02-15 13:22:23 -07:00
Spencer
f13b696018
[6.x] Remove dependency on doc versions (#29906) (#30036)
Backports the following commits to 6.x:
 - Remove dependency on doc versions  (#29906)
2019-02-13 21:07:26 -08:00
Felix Stürmer
ea8042042f
[6.x] [Infra UI] Patch the log sample dataset to be compatible with default log sources (#30060) (#30184)
Backports the following commits to 6.x:
 - [Infra UI] Patch the log sample dataset to be compatible with default log sources  (#30060)
2019-02-06 11:57:11 +01:00
Sonja Krause-Harder
f4455c5d28
Honor maxConcurrentShardRequests setting. (#30049) (#30071) 2019-02-05 16:03:53 +01:00
Chris Cowan
fe9748583e
[Infra UI] ECS Migration (#28205) (#29965)
* 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 10:31:54 -07:00
Sonja Krause-Harder
d98a1ebd39
[Infra UI] Always pass index patterns as strings. (#29927) (#29952)
* Always pass index patterns as strings.

* Abide by prettier rules.
2019-02-04 15:59:51 +01:00
Felix Stürmer
789df7ca7a
[Infra UI] Add a source settings ui (#26786) (#29936)
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 14:19:09 +01:00
Chris Cowan
33e6b48e41
[Infra UI] Table View for Home Page (#29192) (#29739)
* 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 10:44:22 -07:00
Chris Cowan
bb7a67af24
[Log UI] Flyout for Log Events (#28885) (#29729)
* 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 09:39:28 -07:00
Chris Cowan
dc54aca2b4
[Infra UI] Custom Field Grouping for Waffle Map (#28949) (#29636)
* [Infra UI] Add Support for Grouping By Custom Field

* fixiing typescript errors

* Serializing custom options to url so they persist accross reloads

* Fixing more errors

* removing label; moving custom field to top of menu

* fixing typescript error

* Adding intl formatMessage to strings
2019-01-30 14:14:28 -07:00
Felix Stürmer
b6f384eee9
[Infra UI] Read and write data sources from and to saved objects (#28016) (#29348) 2019-01-25 17:32:48 +01:00
Sonja Krause-Harder
b51662755a
Use search:includeFrozen setting in all requests. (#29173) (#29321) 2019-01-25 12:22:49 +01:00
Felix Stürmer
80dfdf74d1
Fix index presence detection to work in ccs-only setups (#28926) (#29206) 2019-01-23 23:54:50 +01:00
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
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
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
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
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
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
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
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
Chris Cowan
4c374f7bd3
Use metric indices when displaying metrics in the waffle map (#24251) (#24414) 2018-10-23 12:08:39 -07:00
Felix Stürmer
db8b86538a
[Infra UI] Merge InfraOps feature branch (#24068) (#24127) 2018-10-17 17:36:45 +02:00