-
Notifications
You must be signed in to change notification settings - Fork 589
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
Importer doesn't accept dates before 1677 or after 2262 #1617
Comments
I opt for skipping with a warning, |
also take into consideration #1534, since that will also change ingestion of data... and since that will use the pandas library for ingestion, it may have similar effects when the web UI is used to import the data (since pandas is already used in the importer, which is the reason for this) |
so to be fair, it's not a Now #1534 has been merged in, this becomes even more important to fix. |
@kiddinn are you planning to work on this bug? Otherwise I opt to free it up and someone else look into it maybe. |
I will write some unit tests and e2e tests around this. |
Describe the bug
Not sure if this is a real bug but I want to report this in any case.
If the data you want to import has a date before 1677 [in our case some windows log that default to 1601-01-01T00:00:00Z] or after 2262 the importer with pandas support will fail with:
It seems that valid range are:
Expected behavior
Default the line to oldest supported value or skip the line with a warning
Used lib for import
timesketch-api-client==20210205
timesketch-import-client==20210215
The text was updated successfully, but these errors were encountered: