Conversation
|
Pinging @elastic/obs-ux-logs-team (Team:obs-ux-logs) |
| '_ignored', | ||
| '_routing', | ||
| '_meta', | ||
| '_tier', |
There was a problem hiding this comment.
Hi @rStelmach,
Looks like FILTER_OUT_FIELDS_PREFIXES_FOR_CONTENT is used for checking whether a field name starts with one of the array items or not. Since we would like to exclude only specific fields, extending this list would not work correctly and we need (for example) to define another array and extend the logic in isFieldAllowed util accordingly.
There was a problem hiding this comment.
Hello @jughosta, I changed the logic for filtering, let me know if that's what you had in mind.
There was a problem hiding this comment.
Thanks! Now we can remove the new fields from FILTER_OUT_FIELDS_PREFIXES_FOR_CONTENT.
There was a problem hiding this comment.
Oh you are right, I forgot to change it 😄 .
jughosta
left a comment
There was a problem hiding this comment.
Thanks for the changes, @rStelmach!
Since it's a bug fix, would be great to backport to the latest versions too. It can be achieved by replacing labels backport:skip and release_note:skip with backport:version, v9.1.0, v9.0.0, v8.19.0, v8.18.0 and release_note:fix.
Another suggestion is to create branches in your own fork instead of pushing to Kibana repo. You can find more info here.
…lter-out-mapped-fields-which-start-with-_-in-observability-profile
…lter-out-mapped-fields-which-start-with-_-in-observability-profile
…lter-out-mapped-fields-which-start-with-_-in-observability-profile
…lter-out-mapped-fields-which-start-with-_-in-observability-profile
…lter-out-mapped-fields-which-start-with-_-in-observability-profile
💛 Build succeeded, but was flaky
Failed CI StepsMetrics [docs]Public APIs missing comments
Async chunks
Unknown metric groupsAPI count
History
|
|
Starting backport for target branches: 8.18, 8.x, 9.0 https://github.com/elastic/kibana/actions/runs/13765185172 |
💔 All backports failed
Manual backportTo create the backport manually run: Questions ?Please refer to the Backport tool documentation |
|
@rStelmach I think this just needs a backport to |
|
Friendly reminder: Looks like this PR hasn’t been backported yet. |
|
Friendly reminder: Looks like this PR hasn’t been backported yet. |
3 similar comments
|
Friendly reminder: Looks like this PR hasn’t been backported yet. |
|
Friendly reminder: Looks like this PR hasn’t been backported yet. |
|
Friendly reminder: Looks like this PR hasn’t been backported yet. |
…ent Column (elastic#213255) Removed "_" from fields to exclude in the Display and replaced it with Elasticsearch's metadata fields. (cherry picked from commit 49ebf9e) # Conflicts: # src/platform/packages/shared/kbn-discover-contextual-components/src/data_types/logs/components/summary_column/utils.tsx
💚 All backports created successfully
Note: Successful backport PRs will be merged automatically after passing CI. Questions ?Please refer to the Backport tool documentation |
|
9.0.0 needs a backport too |
|
Looks like this PR has a backport PR but it still hasn't been merged. Please merge it ASAP to keep the branches relatively in sync. |
1 similar comment
|
Looks like this PR has a backport PR but it still hasn't been merged. Please merge it ASAP to keep the branches relatively in sync. |
…ent Column (elastic#213255) Removed "_" from fields to exclude in the Display and replaced it with Elasticsearch's metadata fields.
…n Content Column (#213255) (#215132) # Backport This will backport the following commits from `main` to `8.x`: - [[Discover] Exclude Elasticsearch metadata fields from Display in Content Column (#213255)](#213255) <!--- Backport version: 9.6.6 --> ### Questions ? Please refer to the [Backport tool documentation](https://github.com/sorenlouv/backport) <!--BACKPORT [{"author":{"name":"Robert Stelmach","email":"60304951+rStelmach@users.noreply.github.com"},"sourceCommit":{"committedDate":"2025-03-10T12:55:35Z","message":"[Discover] Exclude Elasticsearch metadata fields from Display in Content Column (#213255)\n\nRemoved \"_\" from fields to exclude in the Display and replaced it with\nElasticsearch's metadata fields.","sha":"49ebf9e43e7848666fe720afd4365385aee7628e","branchLabelMapping":{"^v9.1.0$":"main","^v8.19.0$":"8.x","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["bug","Feature:Discover","release_note:fix","backport missing","Team:obs-ux-logs","backport:version","v9.1.0","v8.19.0"],"title":"[Discover] Exclude Elasticsearch metadata fields from Display in Content Column","number":213255,"url":"https://github.com/elastic/kibana/pull/213255","mergeCommit":{"message":"[Discover] Exclude Elasticsearch metadata fields from Display in Content Column (#213255)\n\nRemoved \"_\" from fields to exclude in the Display and replaced it with\nElasticsearch's metadata fields.","sha":"49ebf9e43e7848666fe720afd4365385aee7628e"}},"sourceBranch":"main","suggestedTargetBranches":["8.x"],"targetPullRequestStates":[{"branch":"main","label":"v9.1.0","branchLabelMappingKey":"^v9.1.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/213255","number":213255,"mergeCommit":{"message":"[Discover] Exclude Elasticsearch metadata fields from Display in Content Column (#213255)\n\nRemoved \"_\" from fields to exclude in the Display and replaced it with\nElasticsearch's metadata fields.","sha":"49ebf9e43e7848666fe720afd4365385aee7628e"}},{"branch":"8.x","label":"v8.19.0","branchLabelMappingKey":"^v8.19.0$","isSourceBranch":false,"state":"NOT_CREATED"}]}] BACKPORT--> --------- Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>
@jughosta we're just backporting it to new versions (8.x for 8.19). |
Removed "_" from fields to exclude in the Display and replaced it with Elasticsearch's metadata fields.