[8.x] Include additional fields for summary column (#213687)#216506
Merged
thomheymann merged 4 commits intoelastic:8.19from Apr 23, 2025
Merged
[8.x] Include additional fields for summary column (#213687)#216506thomheymann merged 4 commits intoelastic:8.19from
thomheymann merged 4 commits intoelastic:8.19from
Conversation
Resolves elastic#196513 ## Summary Updates fields in Discover summary column. ## Logic remove ``` cloud.instance.id orchestrator.namespace ``` In addition we need to implement some logic to have a fallback, selecting the first field with a value in descending order: Add fallback mechanism to container.name ``` kubernetes.container.name => k8s.container.name => container.name ``` Add fallback mechanism to host.name ``` kubernetes.node.name => k8s.node.name => host.name ``` Add fallback mechanism to cluster.name ``` orchestrator.cluster.name => k8s.cluster.name ``` Add new fields with fallbacks ``` kubernetes.namespace => (k8s.namespace.name) kubernetes.pod.name => (k8s.pod.name) // only one of these will be present in a single doc: kubernetes.deployment.name => (k8s.deployment.name) kubernetes.replicaset.name => (k8s.replicaset.name) kubernetes.statefulset.name => (k8s.statefulset.name) kubernetes.daemonset.name => (k8s.daemonset.name) kubernetes.job.name => (k8s.job.name) kubernetes.cronjob.name => (k8s.cronjob.name) ``` (cherry picked from commit 37c88f9) # Conflicts: # src/platform/packages/shared/kbn-discover-utils/src/data_types/logs/constants.ts # src/platform/packages/shared/kbn-discover-utils/src/data_types/logs/utils/get_available_resource_fields.ts
Contributor
|
I updated the target branch from When you have a moment can you double check everything is in order and proceed as usual if so? Feel free to reach out if there's any questions. |
Contributor
💛 Build succeeded, but was flaky
Failed CI StepsTest Failures
Metrics [docs]Async chunks
History
|
flash1293
approved these changes
Apr 23, 2025
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Backport
This will backport the following commits from
mainto8.x:Questions ?
Please refer to the Backport tool documentation