Commit graph

344 commits

Author SHA1 Message Date
Christos Nasikas
28142609cc
[Cases] Fix cases navigation after attaching an alert to a case. (#117633) 2021-11-05 15:03:55 +00:00
Ersin Erdal
d84e006637
[RAC] Disable the actions button if the user has inadequate privileges (#117488)
Disable the actions button if the user has inadequate privileges
2021-11-05 10:18:21 +01:00
Steph Milovic
fb6fe9bd72
[Security Solution] [Sourcerer] [Feature Branch] Update to use Kibana Data Views (#114806) 2021-11-04 14:51:32 -06:00
Claudio Procida
debdfd2fd6
Refines hasAnyData check for alerts (#117499)
* Refines hasAnyData check for alerts

* Fixes type refinements

* Applies review feedback

* Naming is hard
2021-11-04 19:27:09 +01:00
Spencer
4385ac4d83
[eslint] enable type-specific lint rules (#114184)
* [eslint] enable type-specific lint rules

* autofix violations

* duplicate eslint-disable to new export statement

Co-authored-by: spalger <spalger@users.noreply.github.com>
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-11-03 16:56:17 -06:00
Dominique Clarke
2928c5f0ac
[Exploratory View] Adjust labels for percentile calculation and document loaded metric (#116704)
* adjust labels

* fix types

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-11-02 16:54:29 -04:00
Dominique Clarke
3a6a94695d
[Observability] [Exploratory View] adjust popover placement (#116471)
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-11-02 14:45:57 -04:00
Claudio Procida
c149fe6f92
[RAC] Updates Alerts table cell actions (#116446)
* Adds Filter Out button to alert table cell flyout

* Adds translations

* Fixes capitalization of labels

* Removes unused declarations and imports

* Fixes and adds functional tests for Alerts table action buttons

* Addresses review comments

* Fixes Alert table cell actions functional tests

* Removes Filter out action for now

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-11-02 17:43:24 +01:00
Or Ouziel
f2b9acf67b
replace any with unknown in http client and types (#114265) 2021-11-02 13:53:56 +02:00
Oliver Gupte
2d1a088447
[Integration] Fix landing page for Add APM Integration link in Observability (#116847) (#116851) 2021-11-02 07:28:33 +00:00
Shahzad
48a6585423
[Exploaratory View ] Styling: Fix duplicate labels for operation select (#115936)
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-11-01 14:43:32 +00:00
Shahzad
d4d470d938
Fix intermitting series state (#115747)
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-10-29 19:50:14 +02:00
Shahzad
9714aac93c
[Exp view] Fix apply button equality check (#115744)
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-10-29 19:49:30 +02:00
Shahzad
4a92e3bc36
[Exploratory View]added loading state for metric selector (#115748)
Co-authored-by: Dominique Clarke <doclarke71@gmail.com>
2021-10-28 11:36:27 +01:00
Mikhail Shustov
3c8fa527a7
[ES] Upgrade client to v8.0 (#113950)
* bump to a pre-8.0 version

* export KibanaClient from /lib sub-folder

* workaround the problem of the absence of estypes

* update es client usage in pacakges

* export estypes from another path

* import errors from root

* import errors from root 2

* update transport import

* update import path for /api/types

* update import path for /api/types

* import errors from top export

* use TransportResult instead if ApiResponse

* fix errors in client_config

* fix src/core/server/saved_objects/migrationsv2/actions/integration_tests/actions.test.ts

* use KibanaClient in mock. we dont export the original Client

* fix client mocks

* fix errors on SO

* fix remaining core errors

* update estype import path

* fix errors in data plugin

* fix data_views

* fix es_ui_shared

* fix errors in interactive_setup

* fix errors in ./test folder

* add @elastic/transport to the runtime deps

* fix errors in packages

* fix erros in src/core

* fix errors in test/

* fix an error in actions plugin

* woraround and fix errors in APM plugin

* fix errors in canvas

* fix errors in event_log

* fix errors in fleet

* fix errors in ILM

* fix errors in infra

* fix errors in ingest_pipeline

* fix errors in lens

* fix errors in license_management

* fix errors in licensing

* fix errors in logstash

* fix errors in ml

* fix errors in monitoring

* fix errors in observability

* fix errors in rule_registry

* fix errors in reporting

* fix errors in rule_registry

* fix errors in security

* fix errors in security_solution

* fix errors in snapshot_restore

* fix errors in transform

* fix errors in UA

* fix errors in uptime

* fix errors in x-pack/test

* fix eslint errors

* fix new errors

* use default HTTP Connection. Undici does not support agent config options keepAlive and maxSockets

* create does not accept require_alias option

* update deps

* use transport types exported from ES client package

* fix ErrorCause | string errors

* do not use enum

* fix errors in data plugin

* update x-pack code

* fix transport

* fix apm search request

* do not crash on reporting

* fix kbn-test build

* mute reporting error to start

* fix ftr build

* another attempt

* update import path

* address or mute new errors

* REMOVE me. pin transport version temporarily.

* remove deep imports from transport package

* fix jest crash

* fix product check tests

* remove unnecessary ts-expect-error

* fix a few failed unit tests

* bump to canary 24

* remove unnecessary ts-expect-error

* remove dependency on transport

* fix types in tests

* mute errors in xpack tests

* product check doesn;t  spam in logs anymore

* filterPath --> filter_path

* ignoreUnavailable --> ignore_unavailable

* ignoreUnavailable --> ignore_unavailable

* trackScores --> track_scores

* trackTotalHits --> track_total_hits

* fix es-arcives

* fix data plugin crashes

* fix watcher test utils

* rollback unnecessary changes

* fix another problem in es-archiver

* fix scroll. for whatever reason scroll fails when request scroll_id in body

* add meta: true in kbn-securitysolution-es-utils

* bump client to canary 25

* fix errors in accordance with the es client spec

* update securityscolution-es-utils

* unify scroll api in reporting and fix tests

* fix unit tests in watcher

* refactor APM to abort request with AbortController API

* fix missing es client calls in tests

* fix missing meta in detection engine FTR tests

* fix another bunch of errors in js tests

* fix wrong coercion

* remove test-grep pattern

* fix apm unit test

* rename terminateAfter to terminate_after in infra plugin

* rename terminateAfter to terminate_after in uptime plugin

* rename terminateAfter to terminate_after in apm plugin

* fix security roles FTR tests

* fix reference

* fix post_privilidges test

* fix post_privilidges

* bump client to 26

* add meta for index_management test helpers

* remove ts-expect-error caused by bad type in reason

* bump client to 27

* REMOVE me. workaround until fixed in the es client

* fix incorrect type casting

* swtich from camelCase params

* use `HttpConnection` for FTR-related clients

* bump client to 29

* Revert "REMOVE me. workaround until fixed in the es client"

This reverts commit c038850c09.

* fix new util

* revert repository changes

* do not crash if cannot store event_loop data

* fix new estypes imports

* fix more types

* fix security test types and add ts-ignore for custom ES client

* fix more estypes imports

* yet more ts violations

* line by line fixing is hard

* adapt `evaluateAlert` from infra as it's also used from FTR tests

* use convertToKibanaClient in FTR test instead of meta:true in plugin code

* migrate from deprecated API in fleet

* fix intergration tests

* fix fleet tests

* fix another fleet test

* fix more tests

* let's call it a day

* Removes custom header check on 404 responses, includes es client ProductNotSupportedError in EsUnavailableError conditional (#116029)

* Removes custom header check on 404 responses, includes es client ProductNotSupportedError in EsUnavailableError conditional

* Updates proxy response integration test

* disable APM until compatible with client v8

* skip async_search FTR test

* use kbnClient in integration tests

* bump version to 29

* bump to 30

* have configureClient return a KibanaClient instead of Client, remove resolved violations.

* bump to 31

* bump to 31

* Revert "bump to 31"

This reverts commit 5ac713e640.

* trigger stop to unusubscribe

* update generated docs

* remove obsolete test

* put "as" back

* cleanup

* skip test

* remove new type errors in apm package

* remove ErrorCause casting

* update a comment

* bump version to 32

* remove unnecessary ts-expect-error in apm code

* update comments

* update to client v33

* remove outdated type definition

* bump to 34 without params mutation

* unskip the test that should not fail anymore

* remove unnecessary ts-expect-error comments

* update to v35. body can be string

* move `sort` to body and use body friendly syntax

* fix a failing test. maps register the same SO that has been already registered by home

Co-authored-by: pgayvallet <pierre.gayvallet@gmail.com>
Co-authored-by: Christiane (Tina) Heiligers <christiane.heiligers@elastic.co>
2021-10-26 14:08:22 +02:00
mgiota
060bd41810
[RAC]: add experimental badge to alerts (#116090)
* [RAC]: add experimental badge to alerts

* combine feedback disclaimer into one text

* create a reusable AlertsDisclaimer component

* apend more details text to the apm alert

* fix failing i18n tests

* remove basePath from url

* fix failing unit tests

* fix unit tests

* add experimental to the alert annotation

* i18n for experimental text

* reuse ExperimentalBadge for the flyout and refactor AlertsDisclaimer
2021-10-26 10:55:51 +01:00
Felix Stürmer
125c569944
[RAC] [Observability] Enable the observability alerting and cases features (#115785)
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-10-25 15:19:59 +02:00
Tiago Costa
71cc3b72fe
skip flaky suite (#115324) 2021-10-25 13:45:07 +01:00
Pablo Machado
c274d39152
Standardize page header layouts in Security (#115393)
* Standardize page header layouts in Security

* Update Observability create case layout
2021-10-21 13:20:11 +02:00
Alejandro Fernández Gómez
941a6c9bb9
[RAC][Observability] Use no data screen for the alerts and cases pages (#115178)
Co-authored-by: Chris Cowan <chris@chriscowan.us>
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-10-21 12:54:07 +02:00
Milton Hultgren
331e76b96d
[Observability] Make Alerts page use shared Kibana time range (#115192)
* [Observability] Make Alerts page respect timefilter service range (#111348)

* [Observability] Add useHashQuery option in UrlStateStorage

* Remove unused

* Add test for createKbnUrlStateStorage change

* Add time range test

* Add code comments

* Clean up tests

* Extend createKbnUrlStateStorage tests

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-10-21 09:17:05 +02:00
Matthew Kime
64f1dddcb0
[feature branch] index pattern => data view for user facing content (#109821)
* [index pattern management] index pattern => data view for user facing content (#109577)
2021-10-20 18:53:39 -05:00
Dave Snider
e258e143e9
Features integrations + mobile, copy, design tweaks (#115495)
* Features integrations + mobile, copy, design tweaks

* i18n

* ts fix

* center button in no data card

* tracking ids

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-10-20 16:21:38 -04:00
Dominique Clarke
c954c3b1e6
[Observability] [Exploratory View] add chart creation context (#114784)
* add chart creation context

* add chart creation tooltip, remove outer panel, and change default chart type for synthetics data

* adjust types

* remove extra translations

* add panel back

* update chart creation time date format

* update time format

* adjust tests

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-10-20 02:52:07 -04:00
Shahzad
5477f609de
[Uptime] Added trends chart and deep link to exp view on waterfall step metric markers (#114068)
* added trend chart and link to exp view

* Added step level filtering/breakdowns

* fix type

* make step and monitor name single select

* fix test

* added step filters

* pr feedback

* hide step filter for non step metrics

* pr feedback

* remove step def when it's not applicable

* ^^also for step name breakdown

* Update x-pack/plugins/observability/public/components/shared/exploratory_view/series_editor/breakdown/breakdowns.tsx

Co-authored-by: Dominique Clarke <doclarke71@gmail.com>

* use side effct

* update monitor filter

* update all_value usage

* refactor

* fix type

* use last value operation

* use last 48 intervals

Co-authored-by: Dominique Clarke <doclarke71@gmail.com>
2021-10-19 15:49:34 -04:00
Caroline Horn
ec3809658f
[Unified Integrations] Clean up empty states, tutorial links and routing to prefer unified integrations (#114911)
Cleans up the integrations view and redirects all links to the integration manager.
2021-10-18 23:56:00 -04:00
Dominique Clarke
512d59467b
[Uptime] redirect Uptime tutorials to the Elastic Synthetics Integration (#115229)
* redirect uptime tutorials

* adjust tests and aria labels
2021-10-18 18:16:20 -04:00
Shahzad
7e1acab9dd
[Exploratory View] Added step level filtering/breakdowns (#115182)
Co-authored-by: Dominique Clarke <doclarke71@gmail.com>
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-10-18 17:09:04 -04:00
Shahzad
d08f091d4a
[Uptime] Added uptime query inspector panel (#115170) 2021-10-18 10:35:02 +02:00
Luke Elmers
94aa791a49
[Breaking] Remove deprecated enabled settings from plugins. (#113495) 2021-10-17 16:54:30 +01:00
Shahzad
72dcc4638b
[Exploratory view] Url filter wildcard (#114797) 2021-10-15 15:50:27 +02:00
Cauê Marcondes
d7e7dbfe53
[APM] Remove rate aggregations (#114187)
* fixing throughput chart api

* change backends

* adding intervalString to the observability callback functions

* fixing transaction group detailed stats

* fixing tests

* fixing test

* fixing obs tests

* fixing tests

* adding tests

* fixing ci

* using data generator

* changing name

* fixing i18n

* updating opbs test to use data generator

* fixing api tests

* fixing tests

* using data generator to run the tests

* fixing tests

* fixing test
2021-10-14 20:48:15 +02:00
Dominique Clarke
e4e7a1ced1
[Observability] [Exploratory view] remove the filter buttons from the exploratory view legend (#114908) 2021-10-14 12:43:39 -04:00
Oliver Gupte
3d75154368
[APM] Removes the apm_oss plugin and deprecates related configs (#113364)
* [APM] Removes the apm_oss plugin and deprecates related configs (#108160)

* removes commented lines

* fixes typescript errors

* performs start up migration on the saved objects mapping for apm-indices

* removes all references to the deprecated apm_oss.* config paths in APM

* fixes missing bundle error

* fixes type error

* fixes eslint error with disabled rules

* fixes saved object mappings for es_archvices for tests

* fixes eslint error

* Updates default index values to include the more general apm-*. Fixes broken tests.

* removing unused configs from the config path migration: apm_oss.indexPattern and apm_oss.fleetMode

* - replaces full index configuration paths with references in the `xpack.apm.indices` namespace
- removes mergeConfig function and test

* fixes proxy mock object in unit test

* fixes linting issues

* PR feedback and failed test

* changes the configs at `xpack.apm.indices.*` from plural to singular to match `processor.event` values
2021-10-13 03:16:21 -04:00
Dominique Clarke
80c152c0eb
[Observability] [Exploratory View] add percentile ranks, show legend always, and fix field labels (#113765)
* add percentile ranks, show legend always, and fix field labels

* add 50th percentile

* replace hard coded values with constant

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-10-12 12:37:21 -04:00
Shahzad
df971b7dc9
[Exploratory view] Render content only on expand (#114237) 2021-10-12 16:46:23 +02:00
Marco Vettorello
ff1b014c7b
Update dependency @elastic/charts to v37 (master) (#113968) 2021-10-12 16:36:18 +02:00
Shahzad
d5d364724b
[Exploratory view] Fix auto apply on date change (#114251)
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-10-12 16:32:40 +02:00
Dominique Clarke
c92610deeb
[Observability] [Exploratory View] limit breakdown to one series (#113888)
* observability - exploratory view - limit breakdown to one series

* adjust content

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-10-07 15:26:38 -04:00
Dominique Clarke
7f1adb8d95
[Observability] [Exploratory View] only show y axis label for a single series (#113989) 2021-10-07 08:10:46 -04:00
Shahzad
c2049ed754
[Observability] Move InspectContextProvider and utils to observability (#113842) 2021-10-07 06:05:15 -04:00
Shahzad
380c51ab33
[Exploratory view] Label field filters/breakdowns (#113766) 2021-10-07 11:49:51 +02:00
Peter Pisljar
1a577dfbfa
filter types (#111269) 2021-10-06 17:46:54 +02:00
Caroline Horn
74da7d30de
[Observability] New "No Data" screens (#107709)
Adds empty states for all of Obs that lead to their various ingest flows.
2021-10-06 08:50:10 -04:00
Dario Gieselaar
6aade8f0eb
[APM] Ensure refresh button works (#112652)
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-10-06 13:03:09 +02:00
Shahzad
b8cdc6fd1b
[Exploratory View] Embedddable component (#113108)
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-10-05 17:23:44 +02:00
Dominique Clarke
940149c1b6
[Observability] [Exploratory View] Fix calendar cut off, change title, and close accordions on apply changes (#113824)
* fix header

* fix calendar is cut off

* close accordions on apply changes

* adjust types
2021-10-05 10:18:17 -04:00
Milton Hultgren
308068407d
[Observability] Add tooltips to alert table row action buttons (#113782) 2021-10-05 14:26:21 +02:00
Dominique Clarke
1ff02e1da6
[Observability] [Exploratory View] Add exploratory view multi series (#113464)
* Revert "[Observability][Exploratory View] revert exploratory view multi-series (#107647)"

This reverts commit 1649661ffd.

* Revert "[Observability][Exploratory View] revert exploratory view multi-series (#107647)"

This reverts commit 1649661ffd.

* [Observability] [Exploratory View] Create multi series feature branch (#108079)

* Revert "[Observability][Exploratory View] revert exploratory view multi-series (#107647)"

This reverts commit 1649661ffd.

* Revert "[Observability][Exploratory View] revert exploratory view multi-series (#107647)"

This reverts commit 1649661ffd.

* update types

* update tests

* [Observability] exploratory view design issues (#111028)

* remove custom y axis labels for better clarity

* move add series button to the bottom

* disable auto apply

* fix missing test

* When series count changes, collapse other series. (#110894)

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>

* Feature/observability exploratory view multi series panels (#111555)

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>

* [Exploratory View] Fix date range picker on secondary series (#111700)

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>

* [Exploratory View] Collapse series only on add, not delete (#111790)

* [Exploratory view] Remove preview panel (#111884)

* [Exploratory view] implement popovers for data type and metric type (#112370)

* implement popovers for data type and metric type

* adjust types

* add IncompleteBadge

* make report metric dismissable

* show date-picker even if metric is undefined

* adjust styles of expanded series row

* add truncation to series name

* move incomplete badge and add edit pencil

* add tooltip to data type badge

* adjust content

* lint

* delete extra file

* move filters row

* adjust name editing behavior

* adjust filter styles

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>

* move cases button to top

* fix types

* more types :(

Co-authored-by: Justin Kambic <justin.kambic@elastic.co>
Co-authored-by: shahzad31 <shahzad31comp@gmail.com>
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
Co-authored-by: Shahzad <shahzad.muhammad@elastic.co>
2021-10-04 10:05:01 -04:00
Shahzad
bbf3d4b9ca
[Exploratory View] Add to case button (#112463)
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-09-30 11:30:30 +02:00