Skip to content

Conversation

@Korving-F
Copy link

@Korving-F Korving-F commented Mar 29, 2022

This is by no means a full/clean fix for #44 but allows to push in most textual datasets straight from a file (.log / .json) as well as from a zip or tar archive.

Main remaining issues seem to be caused by import errors when things like timestamp fields conflict with the index or other datasets one is trying to push. For example adding two datasets from datasets/atomic/windows/defense_evasion/host/ directory.

{'error': {'type': 'mapper_parsing_exception', 'reason': "failed to parse field [winlog.event_data.TimeCreated] of type [date] in document with id 'bkY71X8B_OeruxpihSOU'. Preview of field's value: '2020-10-21 12:19:04.554'", 'caused_by': {'type': 'illegal_argument_exception', 'reason': 'failed to parse date field [2020-10-21 12:19:04.554] with format [strict_date_optional_time||epoch_millis]', 'caused_by': {'type': 'date_time_parse_exception', 'reason': 'Failed to parse with all enclosed parsers'}}}}

image

Some successful imports:
recursive_zip
single_file_json
single_file_log
single_file_tar

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