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

enable doing raw query based on any fields in the message #202

Open
TomasTomecek opened this issue Feb 7, 2018 · 2 comments
Open

enable doing raw query based on any fields in the message #202

TomasTomecek opened this issue Feb 7, 2018 · 2 comments

Comments

@TomasTomecek
Copy link

Recently we were trying to find a specific message using datagrepper REST API together with @thrix. So we tried https://.../raw/task?method=buildContainer&topic=... or ?id=1234565 (koji task id). After I browsed the sources I realized that datagrepper doesn't support such dynamic queries. Would it be then possible to add support for queries based on any fields in messages?

I understand this is a complex RFE which would likely require support from the database backend (index every key in the message).

@prcek-prcek
Copy link

prcek-prcek commented Mar 13, 2018

I second this request. Recently I was trying to workaround it using "contains=" filter, this can be done for one key:value. '%' for arbitrary string can be used, but filtering messages by more fields depends on fields order as you treat messages as strings.
It would be also handy to be able filter according headers name/value as I'm not aware of any method how to do it ATM.

@akostadinov
Copy link

Sounds related to #55.

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

No branches or pull requests

3 participants