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

Add SQL Plugin #149

Merged
merged 1 commit into from
Sep 15, 2021
Merged

Add SQL Plugin #149

merged 1 commit into from
Sep 15, 2021

Conversation

ricoberger
Copy link
Member

The new SQL plugin can be used to show the data from a SQL database
within kobs. In the first version we are only supporting the
"clickhouse", "postgres" and "mysql" driver in the SQL plugin.

We also only supporting to display the retrieved data in a table, later
we can also add other visualizations, like bar, pie or line charts.

NOTE: The plugin just runs the given query, which means if a user
proviedes a "DELETE" or "UPDATE" statement it will be executed by the
plugin. For that you should handle the permissions of the user which is
provided to access the database on the database layer.

The new SQL plugin can be used to show the data from a SQL database
within kobs. In the first version we are only supporting the
"clickhouse", "postgres" and "mysql" driver in the SQL plugin.

We also only supporting to display the retrieved data in a table, later
we can also add other visualizations, like bar, pie or line charts.

NOTE: The plugin just runs the given query, which means if a user
proviedes a "DELETE" or "UPDATE" statement it will be executed by the
plugin. For that you should handle the permissions of the user which is
provided to access the database on the database layer.
@ricoberger ricoberger merged commit 568e2c4 into main Sep 15, 2021
@ricoberger ricoberger deleted the add-sql-plugin branch September 15, 2021 17:59
ricoberger added a commit that referenced this pull request Sep 15, 2021
The ClickHouse plugin can now only be used as interface for the
kobsio/fluent-bit-clickhouse plugin. To run raw SQL queries against a
ClickHouse instance within kobs, the new SQL plugin from #149 can be
used.
ricoberger added a commit that referenced this pull request Sep 15, 2021
The ClickHouse plugin can now only be used as interface for the
kobsio/fluent-bit-clickhouse plugin. To run raw SQL queries against a
ClickHouse instance within kobs, the new SQL plugin from #149 can be
used.
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

Successfully merging this pull request may close these issues.

1 participant