Kibana Add filter should use LTE not LT on IP fields #51666
Labels
enhancement
New value added to drive a business result
Feature:Filters
Feature:Search
Querying infrastructure in Kibana
Icebox
impact:low
Addressing this issue will have a low level of impact on the quality/strength of our product.
loe:needs-research
This issue requires some research before it can be worked on or estimated
Team:DataDiscovery
Discover, search (e.g. data plugin and KQL), data views, saved searches. For ES|QL, use Team:ES|QL.
Kibana version:
7.4
Elasticsearch version:
7.4
Server OS version:
N/A
Browser version:
N/A
Browser OS version:
N/A
Original install method (e.g. download page, yum, from source, etc.):
N/A
Describe the bug:
When using the add filter in Kibana to create a filter for IP address (or any data) using the is between it applies a GTE to the start but a LT to the end. This creates unexpected results especially when doing network blocks because you still see all of the broadcast or don't see them depending on how you applied the filter.
Steps to reproduce:
server.ip is between 172.16.100.0 to 172.16.100.255
client.ip is NOT between 172.16.100.0 to 172.16.100.255
Expected behavior:
You only see Server IP's from your range talking to anything other than your servers. In my case I should see all of my test network talking to Public IP's. That is not the case though.
Screenshots (if relevant):
I crafted a query and filter to show the miss-leading results. Here is a screen shot of the 36 hits I get back that would normally get lost or overlooked in the millions of events.
Errors in browser console (if relevant):
Provide logs and/or server output (if relevant):
Any additional context:
Here is the kibana query for more context. I think the easiest solution for any analyst not just in the security or IP space would be to include on both ends not just the beginning. Removes bad filter results and is easy enough and intuitive enough to understand that it is using an include on the last entry added.
Kibana_query.txt
The text was updated successfully, but these errors were encountered: