Skip to content
This repository has been archived by the owner on Jan 7, 2020. It is now read-only.

Support multiple search filters #737

Open
Evesy opened this issue Nov 28, 2017 · 0 comments
Open

Support multiple search filters #737

Evesy opened this issue Nov 28, 2017 · 0 comments

Comments

@Evesy
Copy link

Evesy commented Nov 28, 2017

Since all Sensu API endpoints support content filtering for multiple attributes I'd like to see this feature be carried across to Uchiwa search, so that I can narrow down results based on multiple dimensions.

Even better would be to extend support for further logical operators, such as OR.

Expected Behavior

A search with multiple attributes, i.e. service:logstash && environment:indexing should return results for clients/events that match both those attributes.

Current Behavior

Only one attribute is supported in search

Possible Solution

For just supporting the AND operator perhaps you could pass several attributes that are comma or space separated and then parsed accordingly..

i.e. service:logstash,environment:indexing

Context

Our clients have multiple attributes to define what they are; service, environment, zone etc. It'd be great to have the option to filter to a specific subset of clients.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants