Skip to content

es-import-bulk says complete, but 0 object count in AWS ES #26

Description

@dimisjim

Hey there,

I am trying to use these tools, as they are much faster than elasticdump (thanks a lot for that!!), but I am having this weird issue:
It seems that I can import the mappings correctly:
es-import-mappings --url <MyESDomain>/ --file index_mappings.json

Creating Indexes (if needed):
[index="userupdates_v1"] - creating
[index="users_v1"] - creating
Creating mappings:
[index="userupdates_v1", prop="userupdate"]
[index="users_v1", prop="user"]
Done!

Which I can only verify by viewing them in the AWS console

Next, I am importing the userupdates_v1 index, by:
$ es-import-bulk --url <MyESDomain>/ --file index_userupdates.json

Pre-Processing file of size: 9.18 MB
Starting bulk imports with batches of 20000 lines.
Processing line 70240 of 70240 [====================] 100% 16.0s
Complete!

But by going again to the console, the count is still 0
image

(I have also tried with /userupdates_v1 suffix on the ES domain, but still getting the same result)

Biggest issue here is that there is no verbose or debugging mode for the es-import-bulk tool, so there's no way of knowing what's the issue.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions