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

Implemented a preview Column renderer #2412

Merged
merged 1 commit into from
Feb 2, 2023
Merged

Implemented a preview Column renderer #2412

merged 1 commit into from
Feb 2, 2023

Conversation

scudette
Copy link
Contributor

@scudette scudette commented Feb 2, 2023

Sometimes it is handy to present data inside the VQL generated table. Previously the only way to do this was to include the data in the output JSON using e.g. read_file().

This approach is problematic because the JSON size is limited by the GUI. For larger data we really want to be able to upload the entire file using the VQL upload() function.

The preview_upload column renderer takes the output of the upload() function and renders an GUI widget in the table that allows closer inspection of the collected file. It also automatically renders images inside the table cell if the uploaded file was an image (otherwise a snippet of the raw data).

This approach allows us to keep the JSON lean while allowing for large quantity of data to be delivered for inspection by analysts.

Sometimes it is handy to present data inside the VQL generated
table. Previously the only way to do this was to include the data in
the output JSON using e.g. read_file().

This approach is problematic because the JSON size is limited by the
GUI. For larger data we really want to be able to upload the entire
file using the VQL upload() function.

The `preview_upload` column renderer takes the output of the upload()
function and renders an GUI widget in the table that allows closer
inspection of the collected file. It also automatically renders images
inside the table cell if the uploaded file was an image (otherwise a
snippet of the raw data).

This approach allows us to keep the JSON lean while allowing for large
quantity of data to be delivered for inspection by analysts.
@scudette scudette merged commit c652071 into master Feb 2, 2023
@scudette scudette deleted the preview branch February 2, 2023 16:28
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