Skip to content
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] Filter in does not work properly for non-ECS fields #131623

Open
MadameSheema opened this issue May 5, 2022 · 7 comments
Open
Assignees
Labels
8.3 candidate bug Fixes for quality problems that affect the customer experience impact:medium Addressing this issue will have a medium level of impact on the quality/strength of our product. needs-input Team: SecuritySolution Security Solutions Team working on SIEM, Endpoint, Timeline, Resolver, etc. Team:Threat Hunting:Investigations Security Solution Investigations Team Team:Threat Hunting Security Solution Threat Hunting Team

Comments

@MadameSheema
Copy link
Member

Describe the bug:

  • Filter in does not work properly for non-ECS fields

Kibana/Elasticsearch Stack version:

Initial Setup:

  • To have a document with a non-ECS field with a map i.e.
  • Mapping:
{
  "properties" : {
    "@timestamp" : {
    	"type" : "date"
  },
   "dummy_field_1" : { 
    "type" : "keyword", 
    "ignore_above" : 1024
   },
   "dummy_field_2" : { 
    "type" : "keyword", 
    "ignore_above" : 1024
   }
  • Document
{
   "@timestamp":"2022-05-05T09:38:19.579Z",
   "dummy_field_1":"field_1",
   "dummy_field_2":"field_2"
}
  • Make sure that your index is part of the Security Solution data view
  • To generate an alert using the above data (make sure you are using a big look-back time for the rule in order to fit the @timestamp)

Steps to reproduce:

  1. Navigate to the alerts page
  2. Click on the fields browser
  3. Search for dummy
  4. Select dummy_field_1
  5. Click on Close
  6. Filter in by the field_1 value on the dummy_field_1 column

Current behavior:

Screenshot 2022-05-05 at 14 00 50

Expected behavior:

  • The alert is displayed since it has the field_1 value for the dummy_field_1 column
@MadameSheema MadameSheema added bug Fixes for quality problems that affect the customer experience triage_needed Team:Threat Hunting Security Solution Threat Hunting Team Team: SecuritySolution Security Solutions Team working on SIEM, Endpoint, Timeline, Resolver, etc. Team:Threat Hunting:Investigations Security Solution Investigations Team labels May 5, 2022
@elasticmachine
Copy link
Contributor

Pinging @elastic/security-threat-hunting (Team:Threat Hunting)

@elasticmachine
Copy link
Contributor

Pinging @elastic/security-solution (Team: SecuritySolution)

@michaelolo24 michaelolo24 removed their assignment May 12, 2022
@michaelolo24 michaelolo24 added the impact:medium Addressing this issue will have a medium level of impact on the quality/strength of our product. label May 12, 2022
@MadameSheema
Copy link
Member Author

@peluja1012 @michaelolo24 can you please confirm if the following statement is still valid? Also if there is any plan to work on this?

image

cc @toby-sutor

@frconil
Copy link
Contributor

frconil commented Mar 28, 2023

FWIW I think it also applies for ECS fields, I've seen the same issue with data_stream.namespace

@lgestc
Copy link
Contributor

lgestc commented Apr 11, 2024

Problem has been reproduced, even without having custom index created

@michaelolo24 michaelolo24 modified the milestones: 8.14, 8.15 Apr 23, 2024
@lgestc
Copy link
Contributor

lgestc commented Apr 24, 2024

Root cause, right now we dont know which fields are mapped or not #154714 (comment)

@lgestc
Copy link
Contributor

lgestc commented May 16, 2024

on hold until the we refactor data view selection

@PhilippeOberti PhilippeOberti removed this from the 8.15 milestone Aug 5, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
8.3 candidate bug Fixes for quality problems that affect the customer experience impact:medium Addressing this issue will have a medium level of impact on the quality/strength of our product. needs-input Team: SecuritySolution Security Solutions Team working on SIEM, Endpoint, Timeline, Resolver, etc. Team:Threat Hunting:Investigations Security Solution Investigations Team Team:Threat Hunting Security Solution Threat Hunting Team
Projects
None yet
Development

No branches or pull requests

6 participants