timesketch
timesketch copied to clipboard
UI: File Upload via Web provides a CLI command
Is your feature request related to a problem? Please describe. I'm always frustrated when I upload a timeline via the web UI and it times out.
Describe the solution you'd like I'd like the form for uploading the files to also list a CLI command (with a link to docs) for uploading files.
Describe alternatives you've considered
- Update our docs so the default timeout for the web server is higher, 2) Improve or re-write the web upload component.
We should really rewrite and implement chunk upload in the web upload client. But until then, lets add a helpful text :)
Hello - I'd like to work on this if possible :)
Isn't the best command we could give a user: https://github.com/log2timeline/dftimewolf/blob/main/data/recipes/upload_ts.json ?
I would love to look into this
We have guidance for upload data via CLI in our public docs: https://timesketch.org/guides/user/upload-data/
Since there are multiple ways to upload data via the CLI (e.g. via dftimewolf or the timesketch_importer.py
script) adding guidance to the web UI can get confusing since it also requires the user for extra setup on their side.
For the issue with the upload timeouts, we will aim to fix the underlying issue and track it in #1045 .
Therefore going to close out this issue.