Skip to content

Commit

Permalink
feat: Allow re-index to be executed as a webhook
Browse files Browse the repository at this point in the history
Signed-off-by: Arturo Volpe <[email protected]>
  • Loading branch information
aVolpe committed Dec 22, 2020
1 parent 13dc381 commit 4ee86bb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion infra/elk/re-index.sh
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ docker-compose stop logstash

rm -rvf "logstash_data/$FILE_NAME"

docker-compose exec elasticsearch curl -XDELETE localhost:9200/$INDEX_NAME
docker-compose exec -T elasticsearch curl -XDELETE localhost:9200/$INDEX_NAME

echo "Index removed, restarting"

Expand Down

0 comments on commit 4ee86bb

Please sign in to comment.