Json codec vs. json_lines codec for collecting mongoexport output JSON?

From the document you shared it looks like the tasks field could be an issue, so you will probably need to map this field as a flattened field before creating your index.

This will make elasticsearch to store the entire json of the tasks obejct, but will create just one mapping.

1 Like