elasticsearch-dataformat icon indicating copy to clipboard operation
elasticsearch-dataformat copied to clipboard

Installation on ElasticCloud

Open martinszy opened this issue 4 years ago • 2 comments

I'm testing out ElasticCloud and I would like to have datafromat on it. I will report my steps so they can get added to the documentation.

You can upload it through the features section of the Cloud Admin console: https://www.elastic.co/guide/en/cloud/current/ec-custom-bundles.html

Once added, you’ll activate it for your deployment from the “Edit” view.

martinszy avatar May 04 '21 02:05 martinszy

  1. You have to be Gold level in ElasticCloud to upload plugins (it didn't work at first for me, I had to ask them to enable it specifically)
  2. Download the latest zip file version from maven here: https://repo1.maven.org/maven2/org/codelibs/elasticsearch-dataformat/ (watch out for weird sorting of versions)
  3. Open the zip file and edit the plugin-descriptor.properties file, edit line 6, add the version number elasticsearch.version=7.10.0
  4. Log in to elastic cloud, pick a deployment, go to features and then extensions. Or just click here: https://cloud.elastic.co/deployment-features/extensions/create
  5. Configure and upload your plugin. If it says you can't upload plugins, check point 1.

Now your plugin is on the ElasticCloud servers, all you need to do is activate it following these instructions https://www.elastic.co/guide/en/cloud/current/ec-custom-bundles.html#ec-update-bundles

(I wasn't able to follow them, I'll report back)

martinszy avatar May 05 '21 02:05 martinszy

So, to enable the extension:

  1. Make sure the version number you configured in step 5 is the exact same as the one of your deployment.
  2. Go to edit your elasticsearch deployment, settings & plugins and then select the plugin.
  3. The server will be reset with a rolling update

Now it says the plugin is loaded, but still I get this message:

Incorrect HTTP method for uri [/index/_data?...] and method [GET], allowed: [POST]' }

martinszy avatar May 05 '21 19:05 martinszy