-
Notifications
You must be signed in to change notification settings - Fork 8.3k
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
[Security Solution][Timeline] Dragging a nested field to timeline does not generate the correct query #89784
Comments
Pinging @elastic/security-threat-hunting (Team:Threat Hunting) |
Pinging @elastic/security-solution (Team: SecuritySolution) |
Partially resolved here. This is what still is broken: |
Reopening since the issue has not been closed yet. |
Tagged as critical after a conversation with @MikePaquette |
Thanks @MadameSheema for providing the api index hits details to have the sample nested data . we have followed the steps and successfully got the nested data in indicator match rule on 7.12.0 BC3 , However issue is still occuring incorrect result is returning for nested data . we will retest this issue on 7.12.0 BC4. Build Details:
thanks !! |
Reopening until @karanbirsingh-qasource can confirm this fix on a BC. |
@karanbirsingh-qasource can you please prioritise the validation of this fix? Thanks |
Hi @MadameSheema and @rylnd We have validated this issue on 7.12.0 BC4 and Observed that issue is Still occurring incorrect result is returning. Build Details:
Timeline: Thanks!! |
@deepikakeshav-qasource please validate the fix on the next BC. Thanks :) |
yes, I am pretty sure it is working on the data provider but not on the filter in/out just under KQL |
Hi @MadameSheema, We have validated this issue on 7.12.0 BC5 build and Observed that issue is Fixed. Correct result is returning under Timeline Build Details:
Hence, we are closing this issue and adding "QA Validate" Label to it. Thanks!! |
What I mean here, if you are using the menu context on a nested field, the filter out/in won't work as right now. However @kqualters-elastic is working on a fix for 7.12.1 Please, Kevin add this bug to you PR. So QA can test it. |
Hi @MadameSheema, We tested the latest 7.12.0 doc link and found that documentation for this ticket is not yet updated. We will test again once the changes are updated in Doc. Thanks! |
After some debugging with @XavierM we've come to the conclusion that this is actually working as expected, for both draggable filtering as well as adding/removing filters via the context menu. |
we have checked that this issue start occuring again on Please find below complete details: Build Details:
Screen-Cast: nested-data.mp4Dev Nested Data HIT:
|
@kqualters-elastic @XavierM any update regarding this? thanks |
did a little investigation around this bug, and here are my findings. To sum up, I believe the currently observed behavior isn't related to nested field types, but it is about non-ECS-compliant fields sneaking into the timeline view, which does not seem to be supported for investigation. Setup (reproduction)
note: there is no significance to number 89784, it's just the number of this issue.
requests
Findings / Further Investigation
ConclusionIt looks like we don't have timeline support for non-ECS-compliant fields. We do seem to get data on the Alerts table if the user adds a column from the Table tab of the Alert Summary Flyout, but it's not normally possible to add the column using the fields button on the table. I can envision two solutions that could help resolve this issue:
I would appreciate a review of my findings and a product decision regarding the next steps if possible. Thanks for reading 👍 |
@karanbirsingh-qasource @MadameSheema I agree with @ecezalp 's findings above; it looks like this is working as expected for mapped fields, nested or no. One contributor to the behavior seen here is the fact that If there is a bug here, it's the fact that we add unmapped fields to the alerts table, and then send those columns to the timeline, but I believe a separate ticket should be opened to address that case. |
Thanks @ecezalp for looking into the issue and provide the detailed observation for the same . As per the suggestion from Ryland i am opening up the seperate ticket for the above conclusion enhancement planned for the add unmapped fields to the alerts table, and then send those columns to the timeline . Here is the ticket link for it #110002 |
Thanks @rylnd for sharing the update of the change of the ECS CTI Field from the earlier one we were using. The issue is Fixed ✔️ for the we have updated the old related test-case for it with the new filed that is Observations: Please find below detailed observation for the
Hence we are closing issue and opened new ticket for the separate issue of unmapped fields to the alerts table. thanks !! c.c @MadameSheema |
@rylnd taking into account this issue opened by @peluja1012 #90346, unmapped fields should be displayed in the alert details view, even we have test covering that area. It has been any change on the behaviour of unmapped fields I'm not aware of? |
Describe the bug:
Dragging a nested field to the timeline does not filter events to those matching the field.
Kibana/Elasticsearch Stack version:
7.11
Functional Area (e.g. Endpoint management, timelines, resolver, etc.):
Timeline
Steps to reproduce:
Current behavior:
All events are shown; no filtering occurs
Expected behavior:
Timeline events are filtered to those matching the nested field/value
Screenshots (if relevant):
Nested field in signals table:
nested field in timeline (no indication of nested type):
relevant portion of the inspected timeline query:
relevant portion of the timeline network request:
The text was updated successfully, but these errors were encountered: