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 cluster search #18

Open
pdelewski opened this issue Feb 9, 2024 · 0 comments
Open

Support for cluster search #18

pdelewski opened this issue Feb 9, 2024 · 0 comments

Comments

@pdelewski
Copy link
Contributor

pdelewski commented Feb 9, 2024

Routing without index at the beginning "/_search" represents cluster search.

https://github.com/QuesmaOrg/poc-elk-mitmproxy/blob/main/quesma/quesma/router.go#L20
Currently hardcoded index name as index is not part of url (As written above, that's cluster search).

It means that as a result there should be build select statement that contains more than one table in from clause,
for instance SELECT * FROM "verse-logs", "logs-generic-default";

We don't handle such case correctly. I tried to hack it https://github.com/QuesmaOrg/poc-elk-mitmproxy/compare/main...pdelewski-cluster-search, but I'm afraid we came to some limitations of our query translator and supporting this case requires redesign.

@pivovarit pivovarit transferred this issue from another repository May 2, 2024
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

1 participant