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

Support for matching in-line query results against a table or list that includes key/value pairs #2851

Open
jimishs opened this issue Nov 10, 2022 · 2 comments
Labels
enhancement New feature or request needs more info Requires more information from poster

Comments

@jimishs
Copy link

jimishs commented Nov 10, 2022

Is your feature request related to a problem? Please describe.

Im trying to do a real time search against a (static/dynamic) table of values (sometimes referred to as a lookup table). I need to run a query that shows only those results where the IP addresses in the log/document, matches one of the values in the lookup table.

Describe the solution you'd like

This feature can have broad applicability - Imagine you want to monitor the activity of all users who are leaving for another team or company, or imagine if you are investigating intruder activity into specific list of executive accounts. The examples are many as this is a very useful feature that can also be used by other plugins to filter out the data they process. Since the lookup table can change dynamically, the same query can yield different results if its rerun at a different time.

We should support to execute a query against a pre-created or inline lookup table that can contain multiple fields to use as filter criteria for the query.

Describe alternatives you've considered

We also dont support providing a comma separated list of values as a filter criteria within dashboards.

@jimishs jimishs added the enhancement New feature or request label Nov 10, 2022
@joshuarrrr
Copy link
Member

@jimishs It sounds like your particular pain point has to do with the limitations of current filter definitions, where it's impractical to create a filter that is essentially an allowlist of many different values. And secondarily, it would be even better if the filter could be dynamic, rather than just a static list.

Did I understand the basic problem correctly?

@joshuarrrr
Copy link
Member

Note that the request for comma-separated multiple values should be straightforward and is captured in opensearch-project/oui#661

@joshuarrrr joshuarrrr added the needs more info Requires more information from poster label Nov 22, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request needs more info Requires more information from poster
Projects
None yet
Development

No branches or pull requests

2 participants