Skip to content
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

Specific Keys of Json #67

Closed
Indu-sharma opened this issue Jun 29, 2019 · 6 comments
Closed

Specific Keys of Json #67

Indu-sharma opened this issue Jun 29, 2019 · 6 comments

Comments

@Indu-sharma
Copy link

I'd wish to load only specific keys of json file to ES. Would it be able to support ?
Example:
json --keys a,b.c,d [json_files]

@moshe moshe mentioned this issue Jun 29, 2019
@moshe
Copy link
Owner

moshe commented Jun 29, 2019

Hi @Indu-sharma,
I have added --keys, you can try it in version 0.4.0.
add the flag before the format (elasticsearch_loader --index indexname --keys key1,key2 json files.json)
Let me know if it works for you (:

@moshe
Copy link
Owner

moshe commented Jul 1, 2019

ping @Indu-sharma

@Indu-sharma
Copy link
Author

Sure, Thanks a lot @moshe!
One more ask, many times our ES document id needs to be the concatenation of two fields. Would that be possible to take care of? Thank you.

@moshe
Copy link
Owner

moshe commented Jul 9, 2019

Yes, but it will wait until the next time I will have some free time.
Feel free to make a pr (:

@stale
Copy link

stale bot commented Jul 23, 2019

This issue has been automatically marked as stale because it has not had recent activity (14 days). It will be closed if no further activity occurs in the next 7 days. Thank you for your contributions.

@stale stale bot added the stale label Jul 23, 2019
@stale
Copy link

stale bot commented Jul 30, 2019

This issue has been automatically closed because it has not had recent activity (21 days). Please reopen it if you feel that the issue not resolved yet.

@stale stale bot closed this as completed Jul 30, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants