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 a Python API to selectively mark data for removal #278

Open
spanezz opened this issue Nov 16, 2021 · 0 comments
Open

Add a Python API to selectively mark data for removal #278

spanezz opened this issue Nov 16, 2021 · 0 comments
Assignees

Comments

@spanezz
Copy link
Contributor

spanezz commented Nov 16, 2021

For local datasets only, there can be a Python API that:

  • given an Arkimet query (allow to also pass with_data)
  • calls a Python callable for every metadata in the query result
  • deletes the corresponding element if the function returned True

This allows to trim the contents of a database according to an arbitrary user function that can also, if needed, parse the data.

@spanezz spanezz self-assigned this Nov 16, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant