Skip to content

Instantly share code, notes, and snippets.

@spalger
Last active August 29, 2015 14:15
Show Gist options
  • Star 2 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save spalger/8daf6c2b7f2954639e38 to your computer and use it in GitHub Desktop.
Save spalger/8daf6c2b7f2954639e38 to your computer and use it in GitHub Desktop.

Migrate config from Kibana 4 RC1 to Kibana 4

BODY=`curl -XGET 'localhost:9200/.kibana/config/4.0.0-rc1/_source'`; curl -XPUT "localhost:9200/.kibana/config/4.0.0" -d "$BODY" && curl -XDELETE "localhost:9200/.kibana/config/4.0.0-rc1"
@arnaudmm
Copy link

what is curl -XGET 'localhost:9200/.kibana/config/4.0.0-rc1/_source' supposed to return ?

@burdandrei
Copy link

👍

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment