Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Observability RAC] add filter for value action #108648

Merged
merged 26 commits into from
Aug 18, 2021

Conversation

mgiota
Copy link
Contributor

@mgiota mgiota commented Aug 16, 2021

Summary

Fixes #108119 and
Fixes #108177.

When user hovers on a cell, a plus icon appears. When clicked, it adds the respective field name and value to the search bar and to the urlbar and updates the table results

filter_in.mov

📝 Notes

cc @katrin-freihofner

@mgiota mgiota requested a review from weltenwort August 16, 2021 07:19
@mgiota mgiota added the Team:Infra Monitoring UI - DEPRECATED DEPRECATED - Label for the Infra Monitoring UI team. Use Team:obs-ux-infra_services label Aug 16, 2021
@elasticmachine
Copy link
Contributor

Pinging @elastic/logs-metrics-ui (Team:logs-metrics-ui)

@mgiota mgiota added Theme: rac label obsolete v7.15.0 v8.0.0 auto-backport Deprecated - use backport:version if exact versions are needed labels Aug 16, 2021
@mgiota mgiota self-assigned this Aug 16, 2021
@mgiota mgiota added the release_note:skip Skip the PR/issue when compiling release notes label Aug 16, 2021
@mgiota
Copy link
Contributor Author

mgiota commented Aug 16, 2021

@katrin-freihofner Is it ok that filter out at the moment?

We decided not use the FileManager and use a simple implementation at the moment. This came up after our RAC sync up discussion on Friday. I don't know if it makes sense to spend time and implement the filter out functionality as part of this PR or do it once we replace current implementation with FileManager later on?

@weltenwort What's your thoughts on this?

@mgiota
Copy link
Contributor Author

mgiota commented Aug 16, 2021

@weltenwort There was a requirement to filter by default for the active column.

I want to call addToQuery after the useFetcher completes so that there are data to filter for. Somehow I couldn't make this work and I left it out. Any suggestions on how to do it? I don't mind leaving out this functionality either.

@mgiota
Copy link
Contributor Author

mgiota commented Aug 16, 2021

Looks like my PR broke the reason column, it stopped being clickable. I will look into it.

UPDATE
Looks like the changes I mixed in this PR regarding the reason field #108746 broke the reason link. I will revert the changes for now to make the reason field clickable and will create a separate commit in this PR that fixes #108177

@mgiota
Copy link
Contributor Author

mgiota commented Aug 17, 2021

@elasticmachine merge upstream

@mgiota
Copy link
Contributor Author

mgiota commented Aug 17, 2021

@weltenwort There was a requirement to filter by default for the status column.

I want to call addToQuery after the useFetcher completes so that there are data to filter for. Somehow I couldn't make this work and I left it out. Any suggestions on how to do it? I don't mind leaving out this functionality either.

This commit filters by default the status column 96694b9. I hardcoded the key and the value. I will refactor it now, I just wanted to push and get some early feedback.

@mgiota mgiota force-pushed the 108119_filter_actions branch from 41705bc to b37f722 Compare August 17, 2021 10:32
@mgiota
Copy link
Contributor Author

mgiota commented Aug 17, 2021

@elasticmachine merge upstream

Copy link
Member

@weltenwort weltenwort left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It works as expected, thank you 👍 I left just a few questions about possible simplifications below.

@mgiota mgiota requested a review from weltenwort August 17, 2021 15:20
@mgiota
Copy link
Contributor Author

mgiota commented Aug 17, 2021

@elasticmachine merge upstream

@kibanamachine
Copy link
Contributor

💛 Build succeeded, but was flaky


Test Failures

Kibana Pipeline / general / X-Pack Fleet Functional Tests.x-pack/test/fleet_functional/apps/home/welcome·ts.home onboarding Welcome interstitial is displayed on a fresh install with Fleet setup executed

Link to Jenkins

Standard Out

Failed Tests Reporter:
  - Test has failed 2 times on tracked branches: https://github.com/elastic/kibana/issues/109017

[00:00:00]       │
[00:00:08]         └-: home onboarding
[00:00:08]           └-> "before all" hook in "home onboarding"
[00:00:08]           └-: Welcome interstitial
[00:00:08]             └-> "before all" hook for "is displayed on a fresh install with Fleet setup executed"
[00:00:08]             └-> "before all" hook for "is displayed on a fresh install with Fleet setup executed"
[00:00:08]               │ debg navigateToUrl http://localhost:61211/app/home#/home/undefined
[00:00:09]               │ debg browser[INFO] http://localhost:61211/app/home?_t=1629241221189#/home/undefined 281 Refused to execute inline script because it violates the following Content Security Policy directive: "script-src 'unsafe-eval' 'self'". Either the 'unsafe-inline' keyword, a hash ('sha256-P5polb1UreUSOe5V/Pv7tc+yeZuJXiOi/3fqhGsU7BE='), or a nonce ('nonce-...') is required to enable inline execution.
[00:00:09]               │
[00:00:09]               │ debg browser[INFO] http://localhost:61211/bootstrap.js 41:19 "^ A single error about an inline script not firing due to content security policy is expected!"
[00:00:09]               │ debg currentUrl = http://localhost:61211/app/home#/home/undefined
[00:00:09]               │          appUrl = http://localhost:61211/app/home#/home/undefined
[00:00:09]               │ debg TestSubjects.find(kibanaChrome)
[00:00:09]               │ debg Find.findByCssSelector('[data-test-subj="kibanaChrome"]') with timeout=60000
[00:00:10]               │ info [o.e.c.m.MetadataMappingService] [node-01] [.kibana_8.0.0_001/tHArDBMnSSihujIC7JW-Sw] update_mapping [_doc]
[00:00:10]               │ info [o.e.c.m.MetadataMappingService] [node-01] [.kibana_8.0.0_001/tHArDBMnSSihujIC7JW-Sw] update_mapping [_doc]
[00:00:10]               │ info [o.e.c.m.MetadataMappingService] [node-01] [.kibana_8.0.0_001/tHArDBMnSSihujIC7JW-Sw] update_mapping [_doc]
[00:00:10]               │ warn delete by query deleted 26 of 29 total documents, trying again
[00:00:10]               │ warn delete by query deleted 0 of 29 total documents, trying again
[00:00:10]               │ warn delete by query deleted 0 of 29 total documents, trying again
[00:00:11]               │ proc [kibana]   log   [23:00:23.501] [warning][fleet][plugins] Failure to install package [fleet_server]: [Error: Saved object [epm-packages/fleet_server] not found]
[00:00:11]               │ proc [kibana]   log   [23:00:23.502] [error][fleet][plugins] uninstalling fleet_server-1.0.0 after error installing: [Error: Saved object [epm-packages/fleet_server] not found]
[00:00:11]               │ proc [kibana]   log   [23:00:23.510] [error][fleet][plugins] failed to uninstall or rollback package after installation error Error: fleet_server is not installed
[00:00:11]               │ warn delete by query deleted 167 of 185 total documents, trying again
[00:00:11]               │ warn delete by query deleted 0 of 169 total documents, trying again
[00:00:11]               │ warn delete by query deleted 0 of 169 total documents, trying again
[00:00:11]               │ warn delete by query deleted 0 of 169 total documents, trying again
[00:00:12]               │ warn since spaces are enabled, all objects other than the default space were deleted from .kibana rather than deleting the whole index
[00:00:12]               │ info [emptyKibanaIndex] Deleted existing index ".kibana"
[00:00:12]               │ debg Migrating saved objects
[00:00:12]               │ info [o.e.c.m.MetadataIndexTemplateService] [node-01] adding component template [metrics-elastic_agent.apm_server@mappings]
[00:00:12]               │ info [o.e.c.m.MetadataIndexTemplateService] [node-01] adding component template [logs-elastic_agent@mappings]
[00:00:12]               │ proc [kibana]   log   [23:00:24.661] [info][savedobjects-service] [.kibana_task_manager] INIT -> OUTDATED_DOCUMENTS_SEARCH_OPEN_PIT. took: 5ms.
[00:00:12]               │ proc [kibana]   log   [23:00:24.666] [info][savedobjects-service] [.kibana] INIT -> OUTDATED_DOCUMENTS_SEARCH_OPEN_PIT. took: 12ms.
[00:00:12]               │ proc [kibana]   log   [23:00:24.672] [info][savedobjects-service] [.kibana_task_manager] OUTDATED_DOCUMENTS_SEARCH_OPEN_PIT -> OUTDATED_DOCUMENTS_SEARCH_READ. took: 11ms.
[00:00:12]               │ proc [kibana]   log   [23:00:24.674] [info][savedobjects-service] [.kibana] OUTDATED_DOCUMENTS_SEARCH_OPEN_PIT -> OUTDATED_DOCUMENTS_SEARCH_READ. took: 8ms.
[00:00:12]               │ info [o.e.c.m.MetadataIndexTemplateService] [node-01] adding component template [logs-elastic_agent.auditbeat@mappings]
[00:00:12]               │ proc [kibana]   log   [23:00:24.689] [info][savedobjects-service] [.kibana_task_manager] OUTDATED_DOCUMENTS_SEARCH_READ -> OUTDATED_DOCUMENTS_SEARCH_CLOSE_PIT. took: 17ms.
[00:00:12]               │ proc [kibana]   log   [23:00:24.694] [info][savedobjects-service] [.kibana] OUTDATED_DOCUMENTS_SEARCH_READ -> OUTDATED_DOCUMENTS_SEARCH_CLOSE_PIT. took: 20ms.
[00:00:12]               │ proc [kibana]   log   [23:00:24.697] [info][savedobjects-service] [.kibana_task_manager] OUTDATED_DOCUMENTS_SEARCH_CLOSE_PIT -> UPDATE_TARGET_MAPPINGS. took: 8ms.
[00:00:12]               │ proc [kibana]   log   [23:00:24.699] [info][savedobjects-service] [.kibana] OUTDATED_DOCUMENTS_SEARCH_CLOSE_PIT -> UPDATE_TARGET_MAPPINGS. took: 5ms.
[00:00:12]               │ info [o.e.c.m.MetadataIndexTemplateService] [node-01] adding component template [metrics-elastic_agent.elastic_agent@mappings]
[00:00:12]               │ info [o.e.c.m.MetadataIndexTemplateService] [node-01] adding component template [metrics-elastic_agent.auditbeat@mappings]
[00:00:12]               │ info [o.e.c.m.MetadataIndexTemplateService] [node-01] adding component template [logs-elastic_agent.apm_server@mappings]
[00:00:12]               │ info [o.e.c.m.MetadataIndexTemplateService] [node-01] adding component template [metrics-elastic_agent.apm_server@custom]
[00:00:12]               │ info [o.e.c.m.MetadataIndexTemplateService] [node-01] adding component template [logs-elastic_agent@custom]
[00:00:12]               │ info [o.e.c.m.MetadataIndexTemplateService] [node-01] adding component template [metrics-elastic_agent.metricbeat@mappings]
[00:00:12]               │ info [o.e.c.m.MetadataIndexTemplateService] [node-01] adding component template [metrics-elastic_agent.packetbeat@mappings]
[00:00:12]               │ info [o.e.c.m.MetadataIndexTemplateService] [node-01] adding component template [metrics-elastic_agent.fleet_server@mappings]
[00:00:12]               │ info [o.e.c.m.MetadataIndexTemplateService] [node-01] adding component template [logs-elastic_agent.heartbeat@mappings]
[00:00:12]               │ info [o.e.c.m.MetadataIndexTemplateService] [node-01] adding component template [logs-elastic_agent.osquerybeat@mappings]
[00:00:12]               │ info [o.e.c.m.MetadataIndexTemplateService] [node-01] adding component template [metrics-elastic_agent.osquerybeat@mappings]
[00:00:12]               │ info [o.e.c.m.MetadataIndexTemplateService] [node-01] adding component template [logs-elastic_agent.packetbeat@mappings]
[00:00:12]               │ info [o.e.c.m.MetadataIndexTemplateService] [node-01] adding component template [logs-elastic_agent.fleet_server@mappings]
[00:00:12]               │ info [o.e.c.m.MetadataIndexTemplateService] [node-01] adding component template [metrics-elastic_agent.endpoint_security@mappings]
[00:00:12]               │ info [o.e.c.m.MetadataIndexTemplateService] [node-01] adding component template [logs-elastic_agent.endpoint_security@mappings]
[00:00:12]               │ info [o.e.c.m.MetadataIndexTemplateService] [node-01] adding component template [logs-elastic_agent.metricbeat@mappings]
[00:00:12]               │ info [o.e.c.m.MetadataIndexTemplateService] [node-01] adding component template [logs-elastic_agent.filebeat@mappings]
[00:00:12]               │ info [o.e.c.m.MetadataIndexTemplateService] [node-01] adding component template [metrics-elastic_agent.filebeat@mappings]
[00:00:12]               │ info [o.e.c.m.MetadataIndexTemplateService] [node-01] adding component template [metrics-elastic_agent.heartbeat@mappings]
[00:00:12]               │ info [o.e.c.m.MetadataIndexTemplateService] [node-01] adding component template [metrics-elastic_agent.elastic_agent@custom]
[00:00:12]               │ info [o.e.c.m.MetadataIndexTemplateService] [node-01] adding component template [logs-elastic_agent.auditbeat@custom]
[00:00:12]               │ info [o.e.c.m.MetadataIndexTemplateService] [node-01] adding component template [logs-elastic_agent.apm_server@custom]
[00:00:12]               │ info [o.e.c.m.MetadataIndexTemplateService] [node-01] adding component template [metrics-elastic_agent.auditbeat@custom]
[00:00:13]               │ info [o.e.c.m.MetadataIndexTemplateService] [node-01] adding component template [logs-elastic_agent.heartbeat@custom]
[00:00:13]               │ info [o.e.c.m.MetadataIndexTemplateService] [node-01] adding component template [logs-elastic_agent.packetbeat@custom]
[00:00:13]               │ info [o.e.c.m.MetadataIndexTemplateService] [node-01] adding component template [metrics-elastic_agent.fleet_server@custom]
[00:00:13]               │ info [o.e.c.m.MetadataIndexTemplateService] [node-01] adding component template [metrics-elastic_agent.osquerybeat@custom]
[00:00:13]               │ info [o.e.c.m.MetadataIndexTemplateService] [node-01] adding component template [logs-elastic_agent.endpoint_security@custom]
[00:00:13]               │ info [o.e.c.m.MetadataIndexTemplateService] [node-01] adding component template [logs-elastic_agent.osquerybeat@custom]
[00:00:13]               │ info [o.e.c.m.MetadataIndexTemplateService] [node-01] adding component template [logs-elastic_agent.fleet_server@custom]
[00:00:13]               │ info [o.e.c.m.MetadataIndexTemplateService] [node-01] adding component template [metrics-elastic_agent.endpoint_security@custom]
[00:00:13]               │ info [o.e.c.m.MetadataIndexTemplateService] [node-01] adding component template [logs-elastic_agent.filebeat@custom]
[00:00:13]               │ info [o.e.c.m.MetadataIndexTemplateService] [node-01] adding component template [metrics-elastic_agent.metricbeat@custom]
[00:00:13]               │ info [o.e.c.m.MetadataIndexTemplateService] [node-01] adding component template [metrics-elastic_agent.packetbeat@custom]
[00:00:13]               │ info [o.e.c.m.MetadataIndexTemplateService] [node-01] adding component template [metrics-elastic_agent.filebeat@custom]
[00:00:13]               │ info [o.e.c.m.MetadataIndexTemplateService] [node-01] adding component template [metrics-elastic_agent.heartbeat@custom]
[00:00:13]               │ info [o.e.c.m.MetadataIndexTemplateService] [node-01] adding component template [logs-elastic_agent.metricbeat@custom]
[00:00:13]               │ info [o.e.c.m.MetadataIndexTemplateService] [node-01] adding index template [metrics-elastic_agent.apm_server] for index patterns [metrics-elastic_agent.apm_server-*]
[00:00:13]               │ info [o.e.c.m.MetadataIndexTemplateService] [node-01] adding index template [logs-elastic_agent] for index patterns [logs-elastic_agent-*]
[00:00:13]               │ info [o.e.c.m.MetadataIndexTemplateService] [node-01] adding index template [metrics-elastic_agent.elastic_agent] for index patterns [metrics-elastic_agent.elastic_agent-*]
[00:00:13]               │ info [o.e.c.m.MetadataIndexTemplateService] [node-01] adding index template [logs-elastic_agent.auditbeat] for index patterns [logs-elastic_agent.auditbeat-*]
[00:00:13]               │ info [o.e.c.m.MetadataIndexTemplateService] [node-01] adding index template [logs-elastic_agent.apm_server] for index patterns [logs-elastic_agent.apm_server-*]
[00:00:13]               │ info [o.e.c.m.MetadataIndexTemplateService] [node-01] adding index template [metrics-elastic_agent.auditbeat] for index patterns [metrics-elastic_agent.auditbeat-*]
[00:00:13]               │ info [o.e.c.m.MetadataIndexTemplateService] [node-01] adding index template [logs-elastic_agent.heartbeat] for index patterns [logs-elastic_agent.heartbeat-*]
[00:00:13]               │ info [o.e.c.m.MetadataIndexTemplateService] [node-01] adding index template [logs-elastic_agent.packetbeat] for index patterns [logs-elastic_agent.packetbeat-*]
[00:00:13]               │ info [o.e.c.m.MetadataIndexTemplateService] [node-01] adding index template [metrics-elastic_agent.fleet_server] for index patterns [metrics-elastic_agent.fleet_server-*]
[00:00:13]               │ info [o.e.c.m.MetadataIndexTemplateService] [node-01] adding index template [metrics-elastic_agent.osquerybeat] for index patterns [metrics-elastic_agent.osquerybeat-*]
[00:00:13]               │ info [o.e.c.m.MetadataIndexTemplateService] [node-01] adding index template [logs-elastic_agent.endpoint_security] for index patterns [logs-elastic_agent.endpoint_security-*]
[00:00:13]               │ info [o.e.c.m.MetadataIndexTemplateService] [node-01] adding index template [logs-elastic_agent.osquerybeat] for index patterns [logs-elastic_agent.osquerybeat-*]
[00:00:13]               │ info [o.e.c.m.MetadataIndexTemplateService] [node-01] adding index template [logs-elastic_agent.fleet_server] for index patterns [logs-elastic_agent.fleet_server-*]
[00:00:13]               │ info [o.e.c.m.MetadataIndexTemplateService] [node-01] adding index template [metrics-elastic_agent.endpoint_security] for index patterns [metrics-elastic_agent.endpoint_security-*]
[00:00:13]               │ info [o.e.c.m.MetadataIndexTemplateService] [node-01] adding index template [logs-elastic_agent.filebeat] for index patterns [logs-elastic_agent.filebeat-*]
[00:00:13]               │ info [o.e.c.m.MetadataIndexTemplateService] [node-01] adding index template [metrics-elastic_agent.metricbeat] for index patterns [metrics-elastic_agent.metricbeat-*]
[00:00:13]               │ info [o.e.c.m.MetadataIndexTemplateService] [node-01] adding index template [metrics-elastic_agent.packetbeat] for index patterns [metrics-elastic_agent.packetbeat-*]
[00:00:13]               │ info [o.e.c.m.MetadataIndexTemplateService] [node-01] adding index template [metrics-elastic_agent.filebeat] for index patterns [metrics-elastic_agent.filebeat-*]
[00:00:14]               │ info [o.e.c.m.MetadataIndexTemplateService] [node-01] adding index template [metrics-elastic_agent.heartbeat] for index patterns [metrics-elastic_agent.heartbeat-*]
[00:00:14]               │ info [o.e.c.m.MetadataIndexTemplateService] [node-01] adding index template [logs-elastic_agent.metricbeat] for index patterns [logs-elastic_agent.metricbeat-*]
[00:00:14]               │ proc [kibana]   log   [23:00:26.485] [warning][fleet][plugins] Failure to install package [elastic_agent]: [Error: Saved object [epm-packages/elastic_agent] not found]
[00:00:14]               │ proc [kibana]   log   [23:00:26.486] [error][fleet][plugins] uninstalling elastic_agent-1.1.1 after error installing: [Error: Saved object [epm-packages/elastic_agent] not found]
[00:00:14]               │ proc [kibana]   log   [23:00:26.493] [error][fleet][plugins] failed to uninstall or rollback package after installation error Error: elastic_agent is not installed
[00:00:14]               │ proc [kibana]   log   [23:00:26.530] [info][savedobjects-service] [.kibana_task_manager] UPDATE_TARGET_MAPPINGS -> UPDATE_TARGET_MAPPINGS_WAIT_FOR_TASK. took: 1833ms.
[00:00:14]               │ proc [kibana]   log   [23:00:26.532] [info][savedobjects-service] [.kibana] UPDATE_TARGET_MAPPINGS -> UPDATE_TARGET_MAPPINGS_WAIT_FOR_TASK. took: 1833ms.
[00:00:14]               │ info [o.e.c.m.MetadataCreateIndexService] [node-01] [.tasks] creating index, cause [auto(bulk api)], templates [], shards [1]/[1]
[00:00:14]               │ info [o.e.c.r.a.AllocationService] [node-01] updating number_of_replicas to [0] for indices [.tasks]
[00:00:14]               │ info [o.e.c.r.a.AllocationService] [node-01] current.health="GREEN" message="Cluster health status changed from [YELLOW] to [GREEN] (reason: [shards started [[.tasks][0]]])." previous.health="YELLOW" reason="shards started [[.tasks][0]]"
[00:00:14]               │ info [o.e.t.LoggingTaskListener] [node-01] 2734 finished with response BulkByScrollResponse[took=23ms,timed_out=false,sliceId=null,updated=1,created=0,deleted=0,batches=1,versionConflicts=0,noops=0,retries=0,throttledUntil=0s,bulk_failures=[],search_failures=[]]
[00:00:14]               │ info [o.e.t.LoggingTaskListener] [node-01] 2735 finished with response BulkByScrollResponse[took=3ms,timed_out=false,sliceId=null,updated=0,created=0,deleted=0,batches=0,versionConflicts=0,noops=0,retries=0,throttledUntil=0s,bulk_failures=[],search_failures=[]]
[00:00:14]               │ proc [kibana]   log   [23:00:26.667] [info][savedobjects-service] [.kibana] UPDATE_TARGET_MAPPINGS_WAIT_FOR_TASK -> DONE. took: 135ms.
[00:00:14]               │ proc [kibana]   log   [23:00:26.667] [info][savedobjects-service] [.kibana] Migration completed after 2013ms
[00:00:14]               │ proc [kibana]   log   [23:00:26.668] [info][savedobjects-service] [.kibana_task_manager] UPDATE_TARGET_MAPPINGS_WAIT_FOR_TASK -> DONE. took: 138ms.
[00:00:14]               │ proc [kibana]   log   [23:00:26.668] [info][savedobjects-service] [.kibana_task_manager] Migration completed after 2012ms
[00:00:14]               │ info [emptyKibanaIndex] Created index ".kibana"
[00:00:14]               │ debg applying update to kibana config: {"accessibility:disableAnimations":true,"dateFormat:tz":"UTC","visualization:visualize:legacyChartsLibrary":true,"visualization:visualize:legacyPieChartsLibrary":true}
[00:00:14]               │ info [o.e.c.m.MetadataIndexTemplateService] [node-01] adding component template [metrics-system.memory@custom]
[00:00:14]               │ info [o.e.c.m.MetadataIndexTemplateService] [node-01] adding component template [metrics-system.process.summary@custom]
[00:00:14]               │ info [o.e.c.m.MetadataIndexTemplateService] [node-01] adding component template [metrics-system.diskio@custom]
[00:00:14]               │ info [o.e.c.m.MetadataIndexTemplateService] [node-01] adding component template [logs-system.security@custom]
[00:00:14]               │ info [o.e.c.m.MetadataIndexTemplateService] [node-01] adding component template [metrics-system.core@custom]
[00:00:14]               │ info [o.e.c.m.MetadataIndexTemplateService] [node-01] adding component template [metrics-system.socket_summary@custom]
[00:00:14]               │ info [o.e.c.m.MetadataIndexTemplateService] [node-01] adding component template [metrics-system.load@custom]
[00:00:14]               │ info [o.e.c.m.MetadataIndexTemplateService] [node-01] adding component template [metrics-system.network@custom]
[00:00:14]               │ info [o.e.c.m.MetadataIndexTemplateService] [node-01] adding component template [logs-system.application@custom]
[00:00:14]               │ info [o.e.c.m.MetadataIndexTemplateService] [node-01] adding component template [metrics-system.uptime@custom]
[00:00:14]               │ info [o.e.c.m.MetadataIndexTemplateService] [node-01] adding component template [metrics-system.process@custom]
[00:00:15]               │ info [o.e.c.m.MetadataIndexTemplateService] [node-01] adding component template [logs-system.auth@custom]
[00:00:15]               │ info [o.e.c.m.MetadataIndexTemplateService] [node-01] adding component template [metrics-system.fsstat@custom]
[00:00:15]               │ info [o.e.c.m.MetadataIndexTemplateService] [node-01] adding component template [metrics-system.filesystem@custom]
[00:00:15]               │ info [o.e.c.m.MetadataIndexTemplateService] [node-01] adding component template [logs-system.syslog@custom]
[00:00:15]               │ info [o.e.c.m.MetadataIndexTemplateService] [node-01] adding component template [metrics-system.cpu@custom]
[00:00:15]               │ info [o.e.c.m.MetadataIndexTemplateService] [node-01] adding component template [logs-system.system@custom]
[00:00:15]               │ info [o.e.c.m.MetadataIndexTemplateService] [node-01] adding index template [metrics-system.memory] for index patterns [metrics-system.memory-*]
[00:00:15]               │ info [o.e.c.m.MetadataIndexTemplateService] [node-01] adding index template [metrics-system.process.summary] for index patterns [metrics-system.process.summary-*]
[00:00:15]               │ info [o.e.c.m.MetadataIndexTemplateService] [node-01] adding index template [metrics-system.diskio] for index patterns [metrics-system.diskio-*]
[00:00:15]               │ info [o.e.c.m.MetadataIndexTemplateService] [node-01] adding index template [logs-system.security] for index patterns [logs-system.security-*]
[00:00:15]               │ info [o.e.c.m.MetadataIndexTemplateService] [node-01] adding index template [metrics-system.core] for index patterns [metrics-system.core-*]
[00:00:15]               │ info [o.e.c.m.MetadataIndexTemplateService] [node-01] adding index template [metrics-system.socket_summary] for index patterns [metrics-system.socket_summary-*]
[00:00:15]               │ info [o.e.c.m.MetadataIndexTemplateService] [node-01] adding index template [metrics-system.load] for index patterns [metrics-system.load-*]
[00:00:15]               │ info [o.e.c.m.MetadataIndexTemplateService] [node-01] adding index template [metrics-system.network] for index patterns [metrics-system.network-*]
[00:00:15]               │ info [o.e.c.m.MetadataIndexTemplateService] [node-01] adding index template [logs-system.application] for index patterns [logs-system.application-*]
[00:00:15]               │ info [o.e.c.m.MetadataIndexTemplateService] [node-01] adding index template [metrics-system.uptime] for index patterns [metrics-system.uptime-*]
[00:00:15]               │ info [o.e.c.m.MetadataIndexTemplateService] [node-01] adding index template [metrics-system.process] for index patterns [metrics-system.process-*]
[00:00:15]               │ info [o.e.c.m.MetadataIndexTemplateService] [node-01] adding index template [logs-system.auth] for index patterns [logs-system.auth-*]
[00:00:15]               │ info [o.e.c.m.MetadataIndexTemplateService] [node-01] adding index template [metrics-system.fsstat] for index patterns [metrics-system.fsstat-*]
[00:00:16]               │ info [o.e.c.m.MetadataIndexTemplateService] [node-01] adding index template [metrics-system.filesystem] for index patterns [metrics-system.filesystem-*]
[00:00:16]               │ info [o.e.c.m.MetadataIndexTemplateService] [node-01] adding index template [logs-system.syslog] for index patterns [logs-system.syslog-*]
[00:00:16]               │ info [o.e.c.m.MetadataIndexTemplateService] [node-01] adding index template [metrics-system.cpu] for index patterns [metrics-system.cpu-*]
[00:00:16]             └-> is displayed on a fresh install with Fleet setup executed
[00:00:16]               └-> "before each" hook: global before each for "is displayed on a fresh install with Fleet setup executed"
[00:00:16]               │ info [o.e.c.m.MetadataIndexTemplateService] [node-01] adding index template [logs-system.system] for index patterns [logs-system.system-*]
[00:00:16]               │ proc [kibana]   log   [23:00:28.645] [warning][fleet][plugins] Failure to install package [system]: [Error: Saved object [epm-packages/system] not found]
[00:00:16]               │ proc [kibana]   log   [23:00:28.646] [error][fleet][plugins] uninstalling system-1.1.4 after error installing: [Error: Saved object [epm-packages/system] not found]
[00:00:16]               │ proc [kibana]   log   [23:00:28.652] [error][fleet][plugins] failed to uninstall or rollback package after installation error Error: system is not installed
[00:00:16]               │ info [o.e.c.m.MetadataMappingService] [node-01] [.kibana_8.0.0_001/tHArDBMnSSihujIC7JW-Sw] update_mapping [_doc]
[00:00:18]               │ proc [kibana]   log   [23:00:30.586] [error][fleet][plugins] Error: Default policy could not be added. system is not installed, add system to `xpack.fleet.packages` or remove it from system-1.
[00:00:18]               │ proc [kibana]     at /dev/shm/workspace/kibana-build-21/x-pack/plugins/fleet/server/services/preconfiguration.js:193:19
[00:00:18]               │ proc [kibana]     at runMicrotasks (<anonymous>)
[00:00:18]               │ proc [kibana]     at processTicksAndRejections (internal/process/task_queues.js:95:5)
[00:00:18]               │ proc [kibana]     at async Promise.all (index 0)
[00:00:18]               │ proc [kibana]     at ensurePreconfiguredPackagesAndPolicies (/dev/shm/workspace/kibana-build-21/x-pack/plugins/fleet/server/services/preconfiguration.js:182:42)
[00:00:18]               │ proc [kibana]     at createSetupSideEffects (/dev/shm/workspace/kibana-build-21/x-pack/plugins/fleet/server/services/setup.js:80:7)
[00:00:18]               │ proc [kibana]     at awaitIfPending (/dev/shm/workspace/kibana-build-21/x-pack/plugins/fleet/server/services/setup_utils.js:38:20)
[00:00:18]               │ proc [kibana]     at fleetSetupHandler (/dev/shm/workspace/kibana-build-21/x-pack/plugins/fleet/server/routes/setup/handlers.js:58:25)
[00:00:18]               │ proc [kibana]     at Router.handle (/dev/shm/workspace/kibana-build-21/src/core/server/http/router/router.js:163:30)
[00:00:18]               │ proc [kibana]     at handler (/dev/shm/workspace/kibana-build-21/src/core/server/http/router/router.js:124:50)
[00:00:18]               │ proc [kibana]     at exports.Manager.execute (/dev/shm/workspace/kibana-build-21/node_modules/@hapi/hapi/lib/toolkit.js:60:28)
[00:00:18]               │ proc [kibana]     at Object.internals.handler (/dev/shm/workspace/kibana-build-21/node_modules/@hapi/hapi/lib/handler.js:46:20)
[00:00:18]               │ proc [kibana]     at exports.execute (/dev/shm/workspace/kibana-build-21/node_modules/@hapi/hapi/lib/handler.js:31:20)
[00:00:18]               │ proc [kibana]     at Request._lifecycle (/dev/shm/workspace/kibana-build-21/node_modules/@hapi/hapi/lib/request.js:370:32)
[00:00:18]               │ proc [kibana]     at Request._execute (/dev/shm/workspace/kibana-build-21/node_modules/@hapi/hapi/lib/request.js:279:9)
[00:00:18]               │ proc [kibana]   log   [23:00:30.589] [error][fleet][plugins] Error: Default policy could not be added. system is not installed, add system to `xpack.fleet.packages` or remove it from system-1.
[00:00:18]               │ proc [kibana]     at /dev/shm/workspace/kibana-build-21/x-pack/plugins/fleet/server/services/preconfiguration.js:193:19
[00:00:18]               │ proc [kibana]     at runMicrotasks (<anonymous>)
[00:00:18]               │ proc [kibana]     at processTicksAndRejections (internal/process/task_queues.js:95:5)
[00:00:18]               │ proc [kibana]     at async Promise.all (index 0)
[00:00:18]               │ proc [kibana]     at ensurePreconfiguredPackagesAndPolicies (/dev/shm/workspace/kibana-build-21/x-pack/plugins/fleet/server/services/preconfiguration.js:182:42)
[00:00:18]               │ proc [kibana]     at createSetupSideEffects (/dev/shm/workspace/kibana-build-21/x-pack/plugins/fleet/server/services/setup.js:80:7)
[00:00:18]               │ proc [kibana]     at awaitIfPending (/dev/shm/workspace/kibana-build-21/x-pack/plugins/fleet/server/services/setup_utils.js:38:20)
[00:00:18]               │ proc [kibana]     at fleetSetupHandler (/dev/shm/workspace/kibana-build-21/x-pack/plugins/fleet/server/routes/setup/handlers.js:58:25)
[00:00:18]               │ proc [kibana]     at Router.handle (/dev/shm/workspace/kibana-build-21/src/core/server/http/router/router.js:163:30)
[00:00:18]               │ proc [kibana]     at handler (/dev/shm/workspace/kibana-build-21/src/core/server/http/router/router.js:124:50)
[00:00:18]               │ proc [kibana]     at exports.Manager.execute (/dev/shm/workspace/kibana-build-21/node_modules/@hapi/hapi/lib/toolkit.js:60:28)
[00:00:18]               │ proc [kibana]     at Object.internals.handler (/dev/shm/workspace/kibana-build-21/node_modules/@hapi/hapi/lib/handler.js:46:20)
[00:00:18]               │ proc [kibana]     at exports.execute (/dev/shm/workspace/kibana-build-21/node_modules/@hapi/hapi/lib/handler.js:31:20)
[00:00:18]               │ proc [kibana]     at Request._lifecycle (/dev/shm/workspace/kibana-build-21/node_modules/@hapi/hapi/lib/request.js:370:32)
[00:00:18]               │ proc [kibana]     at Request._execute (/dev/shm/workspace/kibana-build-21/node_modules/@hapi/hapi/lib/request.js:279:9)
[00:00:18]               │ proc [kibana]   log   [23:00:30.589] [error][fleet][plugins] Error: Default policy could not be added. system is not installed, add system to `xpack.fleet.packages` or remove it from system-1.
[00:00:18]               │ proc [kibana]     at /dev/shm/workspace/kibana-build-21/x-pack/plugins/fleet/server/services/preconfiguration.js:193:19
[00:00:18]               │ proc [kibana]     at runMicrotasks (<anonymous>)
[00:00:18]               │ proc [kibana]     at processTicksAndRejections (internal/process/task_queues.js:95:5)
[00:00:18]               │ proc [kibana]     at async Promise.all (index 0)
[00:00:18]               │ proc [kibana]     at ensurePreconfiguredPackagesAndPolicies (/dev/shm/workspace/kibana-build-21/x-pack/plugins/fleet/server/services/preconfiguration.js:182:42)
[00:00:18]               │ proc [kibana]     at createSetupSideEffects (/dev/shm/workspace/kibana-build-21/x-pack/plugins/fleet/server/services/setup.js:80:7)
[00:00:18]               │ proc [kibana]     at awaitIfPending (/dev/shm/workspace/kibana-build-21/x-pack/plugins/fleet/server/services/setup_utils.js:38:20)
[00:00:18]               │ proc [kibana]     at fleetSetupHandler (/dev/shm/workspace/kibana-build-21/x-pack/plugins/fleet/server/routes/setup/handlers.js:58:25)
[00:00:18]               │ proc [kibana]     at Router.handle (/dev/shm/workspace/kibana-build-21/src/core/server/http/router/router.js:163:30)
[00:00:18]               │ proc [kibana]     at handler (/dev/shm/workspace/kibana-build-21/src/core/server/http/router/router.js:124:50)
[00:00:18]               │ proc [kibana]     at exports.Manager.execute (/dev/shm/workspace/kibana-build-21/node_modules/@hapi/hapi/lib/toolkit.js:60:28)
[00:00:18]               │ proc [kibana]     at Object.internals.handler (/dev/shm/workspace/kibana-build-21/node_modules/@hapi/hapi/lib/handler.js:46:20)
[00:00:18]               │ proc [kibana]     at exports.execute (/dev/shm/workspace/kibana-build-21/node_modules/@hapi/hapi/lib/handler.js:31:20)
[00:00:18]               │ proc [kibana]     at Request._lifecycle (/dev/shm/workspace/kibana-build-21/node_modules/@hapi/hapi/lib/request.js:370:32)
[00:00:18]               │ proc [kibana]     at Request._execute (/dev/shm/workspace/kibana-build-21/node_modules/@hapi/hapi/lib/request.js:279:9)
[00:00:18]               │ info Taking screenshot "/dev/shm/workspace/parallel/21/kibana/x-pack/test/functional/screenshots/failure/home onboarding Welcome interstitial is displayed on a fresh install with Fleet setup executed.png"
[00:00:18]               │ proc [kibana]  error  [23:00:28.547]  Error: Internal Server Error
[00:00:18]               │ proc [kibana]     at HapiResponseAdapter.toError (/dev/shm/workspace/kibana-build-21/src/core/server/http/router/response_adapter.js:128:19)
[00:00:18]               │ proc [kibana]     at HapiResponseAdapter.toHapiResponse (/dev/shm/workspace/kibana-build-21/src/core/server/http/router/response_adapter.js:82:19)
[00:00:18]               │ proc [kibana]     at HapiResponseAdapter.handle (/dev/shm/workspace/kibana-build-21/src/core/server/http/router/response_adapter.js:73:17)
[00:00:18]               │ proc [kibana]     at Router.handle (/dev/shm/workspace/kibana-build-21/src/core/server/http/router/router.js:164:34)
[00:00:18]               │ proc [kibana]     at runMicrotasks (<anonymous>)
[00:00:18]               │ proc [kibana]     at processTicksAndRejections (internal/process/task_queues.js:95:5)
[00:00:18]               │ proc [kibana]     at handler (/dev/shm/workspace/kibana-build-21/src/core/server/http/router/router.js:124:50)
[00:00:18]               │ proc [kibana]     at exports.Manager.execute (/dev/shm/workspace/kibana-build-21/node_modules/@hapi/hapi/lib/toolkit.js:60:28)
[00:00:18]               │ proc [kibana]     at Object.internals.handler (/dev/shm/workspace/kibana-build-21/node_modules/@hapi/hapi/lib/handler.js:46:20)
[00:00:18]               │ proc [kibana]     at exports.execute (/dev/shm/workspace/kibana-build-21/node_modules/@hapi/hapi/lib/handler.js:31:20)
[00:00:18]               │ proc [kibana]     at Request._lifecycle (/dev/shm/workspace/kibana-build-21/node_modules/@hapi/hapi/lib/request.js:370:32)
[00:00:18]               │ proc [kibana]     at Request._execute (/dev/shm/workspace/kibana-build-21/node_modules/@hapi/hapi/lib/request.js:279:9)
[00:00:18]               │ info Current URL is: http://localhost:61211/app/home#/
[00:00:18]               │ info Saving page source to: /dev/shm/workspace/parallel/21/kibana/x-pack/test/functional/failure_debug/html/home onboarding Welcome interstitial is displayed on a fresh install with Fleet setup executed.html
[00:00:18]               └- ✖ fail: home onboarding Welcome interstitial is displayed on a fresh install with Fleet setup executed
[00:00:18]               │      Error: Request failed with status code 500
[00:00:18]               │       at createError (/dev/shm/workspace/parallel/21/kibana/node_modules/axios/lib/core/createError.js:16:15)
[00:00:18]               │       at settle (/dev/shm/workspace/parallel/21/kibana/node_modules/axios/lib/core/settle.js:17:12)
[00:00:18]               │       at IncomingMessage.handleStreamEnd (/dev/shm/workspace/parallel/21/kibana/node_modules/axios/lib/adapters/http.js:260:11)
[00:00:18]               │       at endReadableNT (internal/streams/readable.js:1317:12)
[00:00:18]               │       at processTicksAndRejections (internal/process/task_queues.js:82:21)
[00:00:18]               │ 
[00:00:18]               │ 

Stack Trace

Error: Request failed with status code 500
    at createError (/dev/shm/workspace/parallel/21/kibana/node_modules/axios/lib/core/createError.js:16:15)
    at settle (/dev/shm/workspace/parallel/21/kibana/node_modules/axios/lib/core/settle.js:17:12)
    at IncomingMessage.handleStreamEnd (/dev/shm/workspace/parallel/21/kibana/node_modules/axios/lib/adapters/http.js:260:11)
    at endReadableNT (internal/streams/readable.js:1317:12)
    at processTicksAndRejections (internal/process/task_queues.js:82:21) {
  config: {
    url: 'http://elastic:changeme@localhost:61211/api/fleet/setup',
    method: 'post',
    headers: {
      Accept: 'application/json, text/plain, */*',
      'Content-Type': 'application/x-www-form-urlencoded',
      'kbn-xsrf': 'kbn-client',
      'User-Agent': 'axios/0.21.1'
    },
    transformRequest: [ [Function: transformRequest] ],
    transformResponse: [ [Function: transformResponse] ],
    paramsSerializer: [Function: paramsSerializer],
    timeout: 0,
    adapter: [Function: httpAdapter],
    xsrfCookieName: 'XSRF-TOKEN',
    xsrfHeaderName: 'X-XSRF-TOKEN',
    maxContentLength: 30000000,
    maxBodyLength: 30000000,
    httpsAgent: null,
    validateStatus: [Function: validateStatus],
    data: undefined
  },
  request: <ref *1> ClientRequest {
    _events: [Object: null prototype] {
      abort: [Function (anonymous)],
      aborted: [Function (anonymous)],
      connect: [Function (anonymous)],
      error: [Function (anonymous)],
      socket: [Function (anonymous)],
      timeout: [Function (anonymous)],
      prefinish: [Function: requestOnPrefinish]
    },
    _eventsCount: 7,
    _maxListeners: undefined,
    outputData: [],
    outputSize: 0,
    writable: true,
    destroyed: true,
    _last: true,
    chunkedEncoding: false,
    shouldKeepAlive: false,
    _defaultKeepAlive: true,
    useChunkedEncodingByDefault: true,
    sendDate: false,
    _removedConnection: false,
    _removedContLen: false,
    _removedTE: false,
    _contentLength: 0,
    _hasBody: true,
    _trailer: '',
    finished: true,
    _headerSent: true,
    socket: Socket {
      connecting: false,
      _hadError: false,
      _parent: null,
      _host: 'localhost',
      _readableState: [ReadableState],
      _events: [Object: null prototype],
      _eventsCount: 6,
      _maxListeners: undefined,
      _writableState: [WritableState],
      allowHalfOpen: false,
      _sockname: null,
      _pendingData: null,
      _pendingEncoding: '',
      server: null,
      _server: null,
      parser: null,
      _httpMessage: [Circular *1],
      [Symbol(async_id_symbol)]: 1631185,
      [Symbol(kHandle)]: null,
      [Symbol(kSetNoDelay)]: false,
      [Symbol(lastWriteQueueSize)]: 0,
      [Symbol(timeout)]: null,
      [Symbol(kBuffer)]: null,
      [Symbol(kBufferCb)]: null,
      [Symbol(kBufferGen)]: null,
      [Symbol(kCapture)]: false,
      [Symbol(kBytesRead)]: 642,
      [Symbol(kBytesWritten)]: 282,
      [Symbol(RequestTimeout)]: undefined
    },
    _header: 'POST /api/fleet/setup HTTP/1.1\r\n' +
      'Accept: application/json, text/plain, */*\r\n' +
      'Content-Type: application/x-www-form-urlencoded\r\n' +
      'kbn-xsrf: kbn-client\r\n' +
      'User-Agent: axios/0.21.1\r\n' +
      'Host: localhost:61211\r\n' +
      'Authorization: Basic ZWxhc3RpYzpjaGFuZ2VtZQ==\r\n' +
      'Connection: close\r\n' +
      'Content-Length: 0\r\n' +
      '\r\n',
    _keepAliveTimeout: 0,
    _onPendingData: [Function: noopPendingOutput],
    agent: Agent {
      _events: [Object: null prototype],
      _eventsCount: 2,
      _maxListeners: undefined,
      defaultPort: 80,
      protocol: 'http:',
      options: [Object],
      requests: {},
      sockets: {},
      freeSockets: {},
      keepAliveMsecs: 1000,
      keepAlive: false,
      maxSockets: Infinity,
      maxFreeSockets: 256,
      scheduling: 'lifo',
      maxTotalSockets: Infinity,
      totalSocketCount: 0,
      [Symbol(kCapture)]: false
    },
    socketPath: undefined,
    method: 'POST',
    maxHeaderSize: undefined,
    insecureHTTPParser: undefined,
    path: '/api/fleet/setup',
    _ended: true,
    res: IncomingMessage {
      _readableState: [ReadableState],
      _events: [Object: null prototype],
      _eventsCount: 3,
      _maxListeners: undefined,
      socket: [Socket],
      httpVersionMajor: 1,
      httpVersionMinor: 1,
      httpVersion: '1.1',
      complete: true,
      headers: [Object],
      rawHeaders: [Array],
      trailers: {},
      rawTrailers: [],
      aborted: false,
      upgrade: false,
      url: '',
      method: null,
      statusCode: 500,
      statusMessage: 'Internal Server Error',
      client: [Socket],
      _consuming: false,
      _dumped: false,
      req: [Circular *1],
      responseUrl: 'http://elastic:changeme@localhost:61211/api/fleet/setup',
      redirects: [],
      [Symbol(kCapture)]: false,
      [Symbol(RequestTimeout)]: undefined
    },
    aborted: false,
    timeoutCb: null,
    upgradeOrConnect: false,
    parser: null,
    maxHeadersCount: null,
    reusedSocket: false,
    host: 'localhost',
    protocol: 'http:',
    _redirectable: Writable {
      _writableState: [WritableState],
      _events: [Object: null prototype],
      _eventsCount: 2,
      _maxListeners: undefined,
      _options: [Object],
      _ended: true,
      _ending: true,
      _redirectCount: 0,
      _redirects: [],
      _requestBodyLength: 0,
      _requestBodyBuffers: [],
      _onNativeResponse: [Function (anonymous)],
      _currentRequest: [Circular *1],
      _currentUrl: 'http://elastic:changeme@localhost:61211/api/fleet/setup',
      [Symbol(kCapture)]: false
    },
    [Symbol(kCapture)]: false,
    [Symbol(kNeedDrain)]: false,
    [Symbol(corked)]: 0,
    [Symbol(kOutHeaders)]: [Object: null prototype] {
      accept: [Array],
      'content-type': [Array],
      'kbn-xsrf': [Array],
      'user-agent': [Array],
      host: [Array],
      authorization: [Array]
    }
  },
  response: {
    status: 500,
    statusText: 'Internal Server Error',
    headers: {
      'x-content-type-options': 'nosniff',
      'referrer-policy': 'no-referrer-when-downgrade',
      'kbn-name': 'kibana-ci-immutable-ubuntu-18-tests-xxl-1629235540457033446',
      'kbn-license-sig': '6546f3aac3e7b94318fe68ba5c8d2ba558d395988cd9c8e1cfffa8b6e6a07882',
      'content-type': 'application/json; charset=utf-8',
      'cache-control': 'private, no-cache, no-store, must-revalidate',
      'content-length': '187',
      date: 'Tue, 17 Aug 2021 23:00:31 GMT',
      connection: 'close'
    },
    config: {
      url: 'http://elastic:changeme@localhost:61211/api/fleet/setup',
      method: 'post',
      headers: [Object],
      transformRequest: [Array],
      transformResponse: [Array],
      paramsSerializer: [Function: paramsSerializer],
      timeout: 0,
      adapter: [Function: httpAdapter],
      xsrfCookieName: 'XSRF-TOKEN',
      xsrfHeaderName: 'X-XSRF-TOKEN',
      maxContentLength: 30000000,
      maxBodyLength: 30000000,
      httpsAgent: null,
      validateStatus: [Function: validateStatus],
      data: undefined
    },
    request: <ref *1> ClientRequest {
      _events: [Object: null prototype],
      _eventsCount: 7,
      _maxListeners: undefined,
      outputData: [],
      outputSize: 0,
      writable: true,
      destroyed: true,
      _last: true,
      chunkedEncoding: false,
      shouldKeepAlive: false,
      _defaultKeepAlive: true,
      useChunkedEncodingByDefault: true,
      sendDate: false,
      _removedConnection: false,
      _removedContLen: false,
      _removedTE: false,
      _contentLength: 0,
      _hasBody: true,
      _trailer: '',
      finished: true,
      _headerSent: true,
      socket: [Socket],
      _header: 'POST /api/fleet/setup HTTP/1.1\r\n' +
        'Accept: application/json, text/plain, */*\r\n' +
        'Content-Type: application/x-www-form-urlencoded\r\n' +
        'kbn-xsrf: kbn-client\r\n' +
        'User-Agent: axios/0.21.1\r\n' +
        'Host: localhost:61211\r\n' +
        'Authorization: Basic ZWxhc3RpYzpjaGFuZ2VtZQ==\r\n' +
        'Connection: close\r\n' +
        'Content-Length: 0\r\n' +
        '\r\n',
      _keepAliveTimeout: 0,
      _onPendingData: [Function: noopPendingOutput],
      agent: [Agent],
      socketPath: undefined,
      method: 'POST',
      maxHeaderSize: undefined,
      insecureHTTPParser: undefined,
      path: '/api/fleet/setup',
      _ended: true,
      res: [IncomingMessage],
      aborted: false,
      timeoutCb: null,
      upgradeOrConnect: false,
      parser: null,
      maxHeadersCount: null,
      reusedSocket: false,
      host: 'localhost',
      protocol: 'http:',
      _redirectable: [Writable],
      [Symbol(kCapture)]: false,
      [Symbol(kNeedDrain)]: false,
      [Symbol(corked)]: 0,
      [Symbol(kOutHeaders)]: [Object: null prototype]
    },
    data: {
      statusCode: 500,
      error: 'Internal Server Error',
      message: 'Default policy could not be added. system is not installed, add system to `xpack.fleet.packages` or remove it from system-1.'
    }
  },
  isAxiosError: true,
  toJSON: [Function: toJSON]
}

Metrics [docs]

Module Count

Fewer modules leads to a faster build time

id before after diff
observability 255 256 +1

Async chunks

Total size of all lazy-loaded chunks that will be downloaded as the user navigates the app

id before after diff
observability 491.0KB 491.8KB +808.0B

History

To update your PR or re-run it, just comment with:
@elasticmachine merge upstream

cc @mgiota

Copy link
Member

@weltenwort weltenwort left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Somehow I didn't submit the review, sorry for the delay. Looks good, I only left some nit-picky style comments.

@mgiota mgiota merged commit 8d92668 into elastic:master Aug 18, 2021
kibanamachine added a commit to kibanamachine/kibana that referenced this pull request Aug 18, 2021
* filter for value

* code clean up

* fix i18n tests

* fix type errors

* revert changes to reason field to make reason field clickable again

* [RAC Observability] fix reason field

* fix type issues

* filter my kibana.alert. status on load (will refactor)

* refactor filter for alert status on load

* remove rest params

* fix eslint errors

* hard code alert status for now, will be fixed in another PR

* move filter_for button in a separate file

* fix errors

* comply with kibana i18n guideines

* simpler implementation for default filtering

* fix syntax error

* fix type errors

* fix eslint errors

* fix eslint errors

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

💚 Backport successful

Status Branch Result
7.x

This backport PR will be merged automatically after passing CI.

@kibanamachine kibanamachine added the backport missing Added to PRs automatically when the are determined to be missing a backport. label Aug 20, 2021
@kibanamachine
Copy link
Contributor

Looks like this PR has backport PRs but they still haven't been merged. Please merge them ASAP to keep the branches relatively in sync.

weltenwort added a commit that referenced this pull request Aug 20, 2021
* filter for value

* code clean up

* fix i18n tests

* fix type errors

* revert changes to reason field to make reason field clickable again

* [RAC Observability] fix reason field

* fix type issues

* filter my kibana.alert. status on load (will refactor)

* refactor filter for alert status on load

* remove rest params

* fix eslint errors

* hard code alert status for now, will be fixed in another PR

* move filter_for button in a separate file

* fix errors

* comply with kibana i18n guideines

* simpler implementation for default filtering

* fix syntax error

* fix type errors

* fix eslint errors

* fix eslint errors

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

Co-authored-by: mgiota <giota85@gmail.com>
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
@kibanamachine kibanamachine removed the backport missing Added to PRs automatically when the are determined to be missing a backport. label Aug 20, 2021
kibanamachine added a commit that referenced this pull request Aug 20, 2021
* filter for value

* code clean up

* fix i18n tests

* fix type errors

* revert changes to reason field to make reason field clickable again

* [RAC Observability] fix reason field

* fix type issues

* filter my kibana.alert. status on load (will refactor)

* refactor filter for alert status on load

* remove rest params

* fix eslint errors

* hard code alert status for now, will be fixed in another PR

* move filter_for button in a separate file

* fix errors

* comply with kibana i18n guideines

* simpler implementation for default filtering

* fix syntax error

* fix type errors

* fix eslint errors

* fix eslint errors

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

Co-authored-by: mgiota <giota85@gmail.com>
@mgiota mgiota deleted the 108119_filter_actions branch January 4, 2022 10:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
auto-backport Deprecated - use backport:version if exact versions are needed release_note:skip Skip the PR/issue when compiling release notes Team:Infra Monitoring UI - DEPRECATED DEPRECATED - Label for the Infra Monitoring UI team. Use Team:obs-ux-infra_services Theme: rac label obsolete v7.15.0 v8.0.0
Projects
None yet
4 participants