Closed zmoog closed 1 year ago
Here's how to manually load the .ndjson
file into Elasticsearch:
Export the week's time entries from Monday (included) to Monday (excluded):
tgl --format ndjson entries list --start-date 2023-02-06 --end-date 2023-02-13 > 2023-w06.json
Then:
w06.json
preview the file contentyyyy-MM-dd HH:mm:ss
as Timestamp formatstart
or end
as Time fieldtoggl-track-2023-w06
as Index nameThe tool will create the new index and import the data according to settings.
https://user-images.githubusercontent.com/25941/222286733-c71d4eed-9f4a-4bbb-a381-05722fc60c18.mp4