Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Installation on ElasticCloud #67

Open
martinszy opened this issue May 4, 2021 · 2 comments
Open

Installation on ElasticCloud #67

martinszy opened this issue May 4, 2021 · 2 comments

Comments

@martinszy
Copy link

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
Copy link
Author

martinszy commented May 5, 2021

  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
Copy link
Author

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]' }

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant