Created
May 15, 2016 22:54
-
-
Save bryder/e83fa912676efc0171bebd01bea2524b to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
cat get_job_totals.no_beauty_exrs.002 | jq -c ' | |
.[] | { index: { _index: "manuka_xmlstats_by_job", _type: "by_job"}}, | |
.' | curl -XPOST http://escluster:9200/_bulk --data-binary @- |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment