Elasticsearch reindex script
#!/bin/bash
function reIndex {
echo creating "$INDEX"_dummy from $INDEX
curl -H "Content-Type: Application/json" -XPOST
#!/bin/bash
function reIndex {
echo creating "$INDEX"_dummy from $INDEX
curl -H "Content-Type: Application/json" -XPOST