Add support to visualize logs in ClickHouse #162
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
It is now possible to visualize logs from ClickHouse via bar or pie
charts. For that a new link to the visualization page was added to the
logs page.
To generate a pie or bar chart a user must provide a query and a time
range. Besides these two option a user can also select the operation
which should be used for the visualization, the field on which this
operation should be run, a field to group the results, a sorting order
and a limit.
NOTE: Currently the user must now if he uses a string or number field.
Maybe we can get a list of fields from ClickHouse in the future and the
let the user select the field via a select box, where we also now if the
field is a number or a string.