[Logs UI][Metrics UI] Remove deprecated config fields from APIs and SavedObjects#116821
[Logs UI][Metrics UI] Remove deprecated config fields from APIs and SavedObjects#116821Zacqary merged 28 commits intoelastic:mainfrom
Conversation
…-fields-removal # Conflicts: # x-pack/plugins/infra/public/alerting/metric_threshold/components/expression_chart.test.tsx # x-pack/plugins/infra/public/lib/lib.ts # x-pack/plugins/infra/server/services/log_entries/log_entry_search_strategy.ts # x-pack/test/api_integration/apis/metrics_ui/metrics_alerting.ts
|
Pinging @elastic/infra-monitoring-ui (Team:Infra Monitoring UI) |
|
@simianhacker @Kerry350 Can I get another look at this? Original PR merged accidentally so I had to reopen this after a revert |
Kerry350
left a comment
There was a problem hiding this comment.
Logs changes LGTM pending one question.
| indices: indexPattern.title, | ||
| timestampField: indexPattern.timeFieldName ?? '@timestamp', | ||
| tiebreakerField: '_doc', | ||
| timestampField: TIMESTAMP_FIELD, |
There was a problem hiding this comment.
Thanks for making these changes based on the feedback from the other PR.
I think for the data view / KIP version we still want to read from the data view itself first.
timestampField: indexPattern.timeFieldName ?? TIMESTAMP_FIELD
(@weltenwort Would you say this is right, to honour the data view setting first? Or do we always want to go with the ECS constant?)
There was a problem hiding this comment.
Yes, I'd agree that we still want to use the data view's timeFieldName in that case. 👍
|
@elasticmachine merge upstream |
💛 Build succeeded, but was flaky
Test FailuresMetrics [docs]Async chunks
Page load bundle
History
To update your PR or re-run it, just comment with: cc @Zacqary |
…avedObjects (elastic#116821) * [Logs UI][Metrics UI] Remove deprecated config fields from APIs * Fix typecheck * Fix typecheck * Fix typecheck * Fix jest * Fix functional test * Remove extraneous timeField args * Typecheck fix * Consolidate log file changes to ResolvedLogSourceConfiguration * Fix merge * Revert additional logs files * Revert inventory models * Revert log_analysis api * Fix timefield reference in process list * Restore logs page files, fix typecheck on mock * Fix functional test * Restore inventory models index * Fix typecheck on getFilteredMetrics * Look CI if you don't tell me all the type errors at once I can't fix them all * Maybe this is the last typecheck fix who knows * Restore reading timestamp field from data view Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
💔 Backport failedThe backport operation could not be completed due to the following error: The backport PRs will be merged automatically after passing CI. To backport manually run: |
…avedObjects (#116821) (#117573) * [Logs UI][Metrics UI] Remove deprecated config fields from APIs * Fix typecheck * Fix typecheck * Fix typecheck * Fix jest * Fix functional test * Remove extraneous timeField args * Typecheck fix * Consolidate log file changes to ResolvedLogSourceConfiguration * Fix merge * Revert additional logs files * Revert inventory models * Revert log_analysis api * Fix timefield reference in process list * Restore logs page files, fix typecheck on mock * Fix functional test * Restore inventory models index * Fix typecheck on getFilteredMetrics * Look CI if you don't tell me all the type errors at once I can't fix them all * Maybe this is the last typecheck fix who knows * Restore reading timestamp field from data view Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com> Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
…ink-to-kibana-app * 'main' of github.com:elastic/kibana: (290 commits) [Connectors][ServiceNow] Remove SN flags (elastic#117511) [ML] Functional tests - stabilize and re-enable feature importance tests (elastic#117503) [RAC] Disable the actions button if the user has inadequate privileges (elastic#117488) [Visualize] [xyChart] filter labels by default (elastic#117288) Fix warning when setting description to undefined (elastic#117338) [build] Set monitoring.ui.container.elasticsearch.enabled for all containers (elastic#115087) fix types [Alerting] UX fixes for execution duration chart (elastic#117193) [CI] Delete node_modules in between bootstrap attempts (elastic#117588) Flaky test fixes (elastic#117028) [Security Solution] [Sourcerer] [Feature Branch] Update to use Kibana Data Views (elastic#114806) [ML] Hide anomaly entity filter button tooltips when clicked (elastic#117493) adjust the synthetics journey type (elastic#117316) Refines hasAnyData check for alerts (elastic#117499) [Fleet] Default to APM tutorial (elastic#117421) [Maps] update docs for index pattern -> data view rename (elastic#117400) [Logs UI][Metrics UI] Remove deprecated config fields from APIs and SavedObjects (elastic#116821) [Fleet] Fix agent logs not reading query from URL (elastic#117286) Fixing Failing test: Chrome X-Pack UI Functional Tests.x-pack/test/functional_with_es_ssl/apps/triggers_actions_ui/alert_create_flyout·ts - Actions and Triggers app create alert should successfully test valid es_query alert (elastic#114917) [Metrics UI] Add docs link to redundant groupBy detection (elastic#116822) ... # Conflicts: # x-pack/plugins/reporting/public/management/__snapshots__/report_listing.test.tsx.snap # x-pack/plugins/reporting/public/shared_imports.ts # x-pack/plugins/reporting/server/routes/management/jobs.ts
|
@Zacqary Shouldn't docs/settings/general-infra-logs-ui-settings.asciidoc be removed or at leaset the |
REDO OF #115874 which accidentally merged before approval
Summary
Closes #115257
Closes #115259
Closes #115254
Closes #115252
Removes remaining references to the deprecated fields
timestamp,tiebreaker,container,pod,hostfrom APIs and Saved Objects.Checklist