-
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
Build inclusive "OR" filters from lists in the UI #4673
Comments
Duplicate of #3693 |
Sort of not a dupe. What we'd really want here is a compound filter that acts on an array of values, eg, put array.length terms filters into a bool, but keep it as a single filter object. |
Are we talking about a subquery? i.e. filter where ip matches field_x in subquery(filter to get a list of ips) |
That sounds like it would be a great feature in general, and improve It wouldn't be fully flexible for the sort of forensic investigations I get
|
+1, trying to match up a list of known company owned IPs with intelligence feeds of bad actors. |
Perhaps the expression language of Canvas can be expanded to add a checkboxfilter and checkboxfilterControl and element. These could be OR-based filters that would could be ANDed like the dropdownfilter and timefilter elements do today. Would this be a reasonable way to implement what people have been crying about for several releses now? #HowLongToImplement ? |
Pinging @elastic/kibana-app-arch (Team:AppArch) |
Just tried to query nginx logs in Kibana by the top 1000 IPs in https://www.abuseipdb.com, using Here's an example of what Inspect shows for such a query with only 4 IPs. No wonder ES has trouble with it when we get to 1000 values due to all the nesting: https://gist.github.com/6dc0915601699a37a763d4dc99263a16. Is there really no equivalent of MySQL's |
@archon810 This seems like a separate issue from this here, around how we generate the Elasticsearch DSL from the KQL you enter, while this issue is about adding UI capabilities in the filter UI for it. Could you please open a separate issue for this, with the information you shared here? |
Opened up a separate ticket above. I'm not sure if it's an issue with how DSL is built from KQL or if ES isn't capable of a more optimized search, but I'm all ears to test any solutions. |
Thank you for contributing to this issue, however, we are closing this issue due to inactivity as part of a backlog grooming effort. If you believe this feature/bug should still be considered, please reopen with a comment. |
Pinging @elastic/kibana-data-discovery (Team:DataDiscovery) |
As per the question in https://discuss.elastic.co/t/hunting-for-bad-actors-searching-for-multiple-ip-addresses/27095, I often have a dashboard that provides a useful list of values in response to a query; I'd like to be able to simply build these values into a complex "OR/should" filter from the UI.
The example use case is related to hunting bad actor IP addresses; when I find a compromised user account I often get a list of IP addresses that have accessed it; a quick and useful query is to see if any other accounts have been accessed from the same source addresses.
Currently I can manually build a query with "srcip:1.2.3.4 OR srcip:2.3.4.5 ..." but that takes time, and as a query probably isn't the most efficient; this should be a filter.
The text was updated successfully, but these errors were encountered: