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

Searching and writting data with an SQL query engine? #210

Open
twoMatches-admin opened this issue Jan 3, 2024 · 4 comments
Open

Searching and writting data with an SQL query engine? #210

twoMatches-admin opened this issue Jan 3, 2024 · 4 comments
Labels
enhancement New feature or request

Comments

@twoMatches-admin
Copy link

twoMatches-admin commented Jan 3, 2024

Request

I'm looking at CLP and would like to know if you have tried writing an SQL query engine or a query engine for any other declarative language that would make it easier to search over CLP.

Possible implementation

Implementing SQL over CLP using https://github.com/dolthub/go-mysql-server

@twoMatches-admin twoMatches-admin added the enhancement New feature or request label Jan 3, 2024
@kirkrodrigues
Copy link
Member

Hey @twoMatches-admin, that sounds interesting. Are you looking specifically for a way to use SQL syntax when querying CLP or a MySQL-compatible interface (such that you can use MySQL client libraries) to query CLP?

  • If it's the former, we have been looking into providing support for querying using the Kibana Query Language (KQL). Would that be something you're interested in or do you want SQL specifically?
  • If it's the latter, we hadn't considered that but the library you mentioned does sound promising.
  • Another area we have been dabbling with off and on is writing a connector for a system like Presto so that Presto users could query CLP.

Let me know which of those sounds most useful to you. On another note, do you have any example queries top of mind that you'd like to run atop CLP?

@twoMatches-admin
Copy link
Author

A way to use SQL syntax and already available tools. Specifically SQL to use with in house analytics service that don’t support KQL.

@gerilya
Copy link

gerilya commented Mar 24, 2024

Hey @twoMatches-admin, that sounds interesting. Are you looking specifically for a way to use SQL syntax when querying CLP or a MySQL-compatible interface (such that you can use MySQL client libraries) to query CLP?

  • If it's the former, we have been looking into providing support for querying using the Kibana Query Language (KQL). Would that be something you're interested in or do you want SQL specifically?

I think being able to use CLP logs via Kibana is a killing feature if that's what you mean. Elastic is a de-facto standard for logs analysis, so that would help with CLP adoption immensely.

@kirkrodrigues
Copy link
Member

Hey @gerilya, are you looking for support for querying CLP data using Kibana Query Language queries or support for using the Kibana UI with CLP?

If it's the former, clp-s has support for KQL. You can try it out using the clp-core container.

If it's the latter, we do have a UI for CLP which you can try by using the CLP package; You'll need to build it from source but we should be making a release in the next week or so. If we were to pursue an integration with Kibana, what features would you say are most important for your use cases?

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

No branches or pull requests

3 participants