Closed ghost closed 7 months ago
Pinging @elastic/security-solution (Team: SecuritySolution)
@amolnater-qasource please review
Reviewed & Assigned to @MadameSheema
Pinging @elastic/security-threat-hunting (Team:Threat Hunting)
When I click the Filter for from the action in here and edit the filter, it shows me the data view dropdown. But if I open it in Lens, and filter for a legend bucket, it wouldn't show the data view dropdown when editing.
https://github.com/elastic/kibana/assets/6295984/a647eca8-af60-4fd7-a04e-ab83c6125884
In 8.12 this issue is back again: we could see that data view is not selected by default when editing a filter.
I also found that in src/plugins/unified_search/public/filter_bar/filter_editor/filter_editor.tsx line 165, getIndexPatternFromFilter
is not returning the correct data view as some of the filters on Security page does not have filter.meta.index
Here is the list of the places where we create filters without filter.meta.index
set:
packages/kbn-cell-actions/src/actions/filter/create_filter.ts
x-pack/plugins/timelines/public/components/hover_actions/utils.ts
and there are quite a few places in security solution where we use those methods.
We do not add data view id to a filter within "cell actions".
Fix merged into 8.13 and above. @karanbirsingh-qasource could you test again?
Hi @MadameSheema
we have validated this issue on 8.13.1 and found this issue to be fixed now ✔️
Build Details:
Version: 8.13.1
Commit: 091f486ab05863258cf2f3fa18ea0c59097dee80
Build: 72107
Describe the bug: Edit Additional Filter not working for field added from few charts visualization
Kibana/Elasticsearch Stack version Version: 8.10.0 BC1 Commit: f8121b897dd65b14366a0958b7fc41bd07a91cb5 Build: 66085
Browser and Browser OS Version: Firefox for windows OS Version: 116.0.3(64-bit)
Elastic Endpoint Version: v8.10.2
Original install method: Build summary: https://staging.elastic.co/8.10.0-b637efd3/summary-8.10.0.html
Functional Area: Additional Filter
Initial Setup:
Steps to reproduce
Additional Observation
Current behavior
Issue is occuring on editing additional filter added from below locations: ❌
Issue is not occuring on editing additional filter added from below locations: ✔️
Note: There must be many more instance in application for this issue but above are few of them to diagnose the issue.
Expected behavior:
Screen-cast:
https://github.com/elastic/kibana/assets/59917825/730b1ea3-3e5d-4412-b4b6-fce29d2e6651
Errors in browser console: N/A
Any additional context (logs, chat logs, magical formulas, etc.):
N/A