* adding EUI page layout components
* adding context menu button to toolbar and cleaning up tabs
* [Monitoring] Integrate setup mode toggle button with React tree
* Update unit tests
* Only show setup mode button on supported pages
* Move setup mode supported responsibility to renderer
* Fix failing unit test
Co-authored-by: Milton Hultgren <milton.hultgren@elastic.co>
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
(cherry picked from commit aad83ed0b6)
# Conflicts:
# x-pack/plugins/monitoring/public/application/pages/page_template.tsx
Co-authored-by: Kate Farrar <kate.farrar@gmail.com>
* Ensure logstash getNodes always contains a uuid (#124201)
This is less of an issue on main since we've stopped querying `metricbeat-*` but might become important when we start doing agent testing (`metrics-*`).
On 8.0 it's easy to have error documents land in `metricbeat-*` for standalone logstash and break the UI.
(cherry picked from commit fb1ca61db5)
# Conflicts:
# x-pack/plugins/monitoring/server/lib/logstash/get_nodes.ts
* No global stubs required in 8.0 branch
* adapt ES queries to updated document structure
* lint
* Revert "lint"
This reverts commit 2ad61e406c.
* Revert "adapt ES queries to updated document structure"
This reverts commit 25d4357dd2.
* fix cluster state property accesses
* only query index_recovery with ecs compliant indices
* lint
* setup/teardown to support datastreams
* lint
* update _mb archived data to target .monitoring index
* load archive with useCreate for datastream compatibility
* Revert "update _mb archived data to target .monitoring index"
This reverts commit 7bad361fd1.
* ignore non-elasticsearch archived documents
* Revert "ignore non-elasticsearch archived documents"
This reverts commit 26daeb7066.
* use correct index for archived documents
* add datastream lifecycle helper for api-integration tests
* use datastream lifecycle methods
* transform ccr_mb archive
* clean up datastreams
* lint
* load _mb data
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
Co-authored-by: Kevin Lacabane <klacabane@gmail.com>
* seprate out mb and legacy index patterns from requests
* use config for metricbeat index
Co-authored-by: Sandra G <neptunian@users.noreply.github.com>
* Added enterprise search panel, corrected queries
* Update the index pattern for Enterprise Search
* Typescript error ignore
* Our timestamp fields are called @timestamp (per ECS)
* Adjust Enterprise Search index patterns with the rest of monitoring plugin patterns (including CCS, etc)
* Initial implementation of the Enterprise Search overview panel (health only)
* Add a basic stub for enterprise search response fields
* Cleanup aggs configs
* Bring back a file deleted by mistake
* Started working on the overview page
* Correctly use heap_max as the total heap
* Ent search breadcrumbs
* Simple overview
* Allow the cluster_uuid filter to be skipped while fetching metrics
* Cleanup
* Switch to module-level uuid field and use both types of events
* Add stats-based product usage metrics + apply filter paths to reduce traffic
* Change the name of the ent search overview class
* Move the standalone cluster hack in the the internal function
* Change the overview page to show product usage metrics + introduce enterprise search stats in addition to metrics (they are fetched differently and allow us to reuse the stats code we have for the main page panel)
* Cluster UUID is at the module level now
* Simplify ent search pages structure, only have one overview page
* Fix ent search icon
* Add total instances
* Product usage metric graphs
* Simplify metrics loading in the overview page since we load all metrics anyways
* Add more enterprise search overview metrics
* Avoid duplicate labels
* linting
* Revert "Simplify metrics loading in the overview page since we load all metrics anyways"
This reverts commit 4bd67ab88a.
* Switch to multiple timeseries per graph
* Reorder graphs and metrics for better experience
* Typescript fixes
* i18n fixes
* Added a couple more JVM metrics
* Completely covered JVM metrics
* Convert Enterprise Search component to Typescript
* Switch config setting back
* Remove the nodes link since it raises more questions than it solves
* Update jest snapshots with the new metrics
* Remove console statement
* Properly handle cases when aggregations return no data for Enterprise Search
* Add a functional test for the Enterprise search cluster list panel
* Add a functional test for Enterprise Search overview page
* Update multicluster API response fixture with the new enterprise search response key
* Default uptime value is 0
* update overview fixture
* More fixture updates
* Remove fixmes
* Fix imports
* Properly export type
* Maybe fix the type checking error
* PR Feedback
* TS fixes
Co-authored-by: cdelgado <carlos.delgado@elastic.co>
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
Co-authored-by: Jason Stoltzfus <jason.stoltzfus@elastic.co>
Co-authored-by: Oleksiy Kovyrin <oleksiy@kovyrin.net>
Co-authored-by: cdelgado <carlos.delgado@elastic.co>
Co-authored-by: Jason Stoltzfus <jason.stoltzfus@elastic.co>
* Add basic tests for alerts modal
* fix types
* fix setup mode button test subj
* fix unit tests
* Move alerts modal tests to functional since ssl is not required anymore
* Remove not needed config change
* fix test for overview alerts badge
* Extract alerts deletion to a new service
* exit setup mode in alerts test
* add missing file
* update test snapshots
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
Co-authored-by: Ester Martí Vilaseca <ester.martivilaseca@elastic.co>
* Switch monitoring alerts CCS to use remote glob
Rather than expanding all available remotes which can exceed netty buffers when many remotes are present.
* Fix additional availableCcs as string[] references
* Fix code warnings
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
Co-authored-by: Mat Schaffer <mat@elastic.co>
* remove usage of fields being removed in es, update tests
* add Lucene to title of fixed_bit_set_memory_in_bytes instead of generic IndexMemoryMetric class
* update fixtures for integration tests
* remove index segment count
* update translations
* remove usage of fields being removed in es, update tests
* add Lucene to title of fixed_bit_set_memory_in_bytes instead of generic IndexMemoryMetric class
* update fixtures for integration tests
* remove index segment count
* update translations
* Revert "remove index segment count"
This reverts commit d56ce6e746.
* Revert "remove index segment count"
This reverts commit d56ce6e746.
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
Co-authored-by: Sandra G <neptunian@users.noreply.github.com>
* Add a getSecurityHealth helper to alerting and update messaging around alerting in Stack Monitoring
Co-authored-by: ymao1 <ying.mao@elastic.co>
Co-authored-by: Kerry Gallagher <471693+Kerry350@users.noreply.github.com>
Co-authored-by: ymao1 <ying.mao@elastic.co>
* replace any with unknown in http client and types (#114265)
# Conflicts:
# x-pack/plugins/enterprise_search/public/applications/app_search/components/curations/components/suggestions_logic.tsx
# x-pack/plugins/enterprise_search/public/applications/app_search/components/curations/views/curation_suggestion/curation_suggestion_logic.ts
# x-pack/plugins/enterprise_search/public/applications/app_search/components/curations/views/curations_settings/curations_settings_logic.ts
# x-pack/plugins/triggers_actions_ui/public/application/components/builtin_action_types/resilient/api.ts
* commit using @elastic.co
* 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>
* Update tests for setup mode
* Remove old setup mode renderer and replace it with the react one
* Remove unnecessary await
* Update tests for setup mode renderer
* Move angular related parts from kibana_legacy to monitoring
Closes: #114977
* remove private
* move format angular http error into monitoring
* fix translations