Skip to content

Instantly share code, notes, and snippets.

@drawks
Forked from kimchy/gist:1556171
Created January 3, 2012 18:59
Show Gist options
  • Save drawks/1556336 to your computer and use it in GitHub Desktop.
Save drawks/1556336 to your computer and use it in GitHub Desktop.
optimize a logstash/elasticsearch index
curl -XPOST 'http://localhost:9200/logstash-2001.01.01/_optimize?max_num_segments=2'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment