Background:
I'm trying to use the Elastic stack (Elastic, Logstash & Kibana), but I have no money to pay. I don't mind using the parts that are closed source, as long as they are free. In this regard, I'm trying to understand how Elastic Licensing works.
We Opened X-Pack seems to suggest that after Elastic 6.3 the X-Pack Code is included (though with a different license). I also understand that some parts of X-Pack are free, but other's are not. This is all a bit confusing.
Objective: I would like to run Elastic stack with all of the free stuff, and none of the paid stuff.
What I have done so far:
I'm on Linux but I have chosen not to use the distribution package repositories i.e. I would like to use the downloads provided by Elastic Co. For Elastic and Kibana, I have downloaded and extracted the tar.gz version 6.5.4 GA Release from https://www.elastic.co/downloads/elasticsearch and https://www.elastic.co/downloads/kibana For most part, I did not set any options, so I assume my setup used the defaults. Both Elastic and Kibana started up, without any issues. I'm running these on the commandline for now.
From the logs, I noticed that the install had been granted a trial version license for 14 days or something like that. Since I did not want to use the license, I used the Delete license API i.e. I ran
curl -X DELETE "localhost:9200/_xpack/license"
This worked in a sense i.e. I got the {"acknowledged": true} response. I thought this would get rid of the xpack stuff that was not free, but unfortunately, it didn't. I still saw some of the x-pack stuff in the startup.
I then tried to do what is mentioned in Uninstalling X-Pack. I know this is old, but I did not know how to do it in the newer version. Anyway, if I run the commands:
bin/elasticsearch-plugin remove x-pack
I get the error:
ERROR: plugin [x-pacl] not found; run 'elasticsearch-plugin list' to
get the list of installed plugins
And elasticsearch-plugin list doesn't return anything.
If I run
bin/kibana-plugin remove x-pack
I get:
Unable to remove plugin because of error: “You are using the standard
distribution of kibana. Please install the OSS-only distribution to
remove the X-Pack features.”
Now my Kibana does not run, complaining that:
Elasticsearch cluster did not respond with license information..
i.e. it does start up, but when you go to the webpage it tells me that it Cannot connect to the Elastic cluster
Questions:
What is the OSS-only distribution and where do I download it?
Is there anyway to not use the trial version license of elastic and use
all of the parts that are free (as in cost/price) and would not
expire after x-days? I would like to use all the X-Pack stuff that's free, and not use the X-Pack stuff that's paid.
Since version 6.5 there is not a standalone x-Pack plugin anymore, all the x-pack features are integrated in the Elastic Stack.
If you want to run the Elastic Stack using only the free features, which means that you will use the free basic license, you need to set your license in the elasticsearch.yml file using the line below (more info):
xpack.license.self_generated.type: basic
This will disable the trial and enable only the free features.
If you want to run the stack using only the features licensed under Apache 2.0 license (the open source version), you need to download the oss packages for elasticsearch, kibana and logstash.
You can download it here: elasticsearch-oss,kibana-oss and logstash-oss
You can see the differences between the OSS version and the Free Basic license in the subscriptions page.
Elastic have published a apache-only-open-source distro with just free components:
https://www.elastic.co/es/downloads/elasticsearch-oss
On the other side, AWS have taken last apache-open source versions from Elastic-Apache and have created a new open source distro forking from that and including new functionalities, and functionalities that are no more open source in last Elastic version, like Kibana
https://opendistro.github.io/for-elasticsearch/downloads.html
To know more about the licenses war: https://grafana.com/blog/2019/03/20/everything-you-need-to-know-about-the-oss-licensing-war-part-1./
Related
I'd like to change the license but couldn't find the solution.
Is there any way to change Elasticsearch basic license to Elasticsearch OSS?
I know how to move OSS to basic but not reverse?
I haven't tried yet.
I've successfully installed Ambari server/agent 2.7.5 on my Centos 7 machine. Now i am facing an issue while installing a cluster in the install wizard at the "Select version" step. I have no versions showing in my dropdown. What can be the issue?
ps: see screenshots
my content in /var/lib/ambari-server/resources/stacks/HDP
install wizard screenshot
Now that ambari has come back to life, this conversation is relevant despite other stack members feels. Additionally 100s if not 1000s of companies are still using free open source ambari w/ free open source HDP.
When you are building ambari 2.7.5 from source, you need to feed it a stack. HDP was one of them, that is no NLA unless you copied it.
The last free HDP repos you need are found here:
https://www.makeopensourcegreatagain.com/rpms/
And you can find instructions about how to use these here:
https://github.com/steven-matison/dfhz_ddp_mpack
Step 1:
Copy HDP 3.0 and 3.1 Stack to /var/lib/ambari-server/resources/stacks/hdp, and then restart ambari-server
Step 2:
After clicking the "Add Version" button,for details, please refer to https://www.yuque.com/create17/mxswdh/pqrb9q#tsdHa
For the premise, you need to have an HDP-related RPM package.
I just installed the elasticsearch (https://github.com/drud/ddev-elasticsearch) add-on on my DDEV site, which is listed on the ddev documents:
https://ddev.readthedocs.io/en/latest/users/extend/additional-services/
The problem is that I need to downgrade the Elasticsearch version to 7.6 and this add-on installed Elasticsearch at version 7.17.6.
I cant not find additional documentation on how to install the specific version of this Elasticsearch add-on, I see that the version is listed in the docker-compose.elasticsearch.yaml file, I tried changing it there, but it complain.
Any tips or reference will be appreciated, thanks
Using https://github.com/drud/ddev-elasticsearch mostly just installs a docker-compose.elasticsearch.yaml for you. You can change the version there.
Change image: elasticsearch:7.17.6 to an appropriate value. image: elasticsearch:7.6.2
You have to look at https://hub.docker.com/_/elasticsearch/tags to see what tags are available, but it looks like you probably want 7.6.2.
I have Elastic stack (6.8.0) free version. But I cannot use watcher features there as mentioned in the following link.
https://www.elastic.co/guide/en/kibana/7.6/watcher-ui.html
Simply I don't have a section "Management > Elasticsearch > Watcher". I'm planning to upgrade Elastic stack to 7.5.2 free version. Will I have watcher feature there?
The Alerting features (Watcher) are not free in any version, you need at least a gold license subscription to use it, that's why you are not seeing it in your kibana interface.
You can see the difference between the licenses subscriptions in this link
It appears that my kibana installation did not contain the grokdebugger plugin since I was not able to find it in /usr/local/www/kibana6/ and it did not appear under the Dev Tools pane.
I did install it by installing x-pack using elasticsearch-plugin and kibana-plugin. This required removing a few of these x-pack plugins after installation since they were reported as being red status upon visiting the Kibana page. However, I successfully removed them and Kibana loads as normal; but there is no grokdebugger. The grokdebugger source directory is present in /usr/local/www/kibana6/plugins/x-pack/plugins/, and its contents appear to be normal, but it does not appear in the Dev Tools section.
I would rather consult some experts before diving too much deeper and messing things up (more than I already have).
It is worth mentioning, this is a new installation so I am open to deleting anything or installing anything from scratch if that is cleaner or easiest.
Thanks~
Edit
I've noticed that only a few of the plugins that are in src/core_plugins are loaded, according to the logs:
elasticsearch
kibana
timelion
metrics
console
There are numerous other plugins in that directory which are not being loaded. I tried placing grokdebugger in there from where it was in plugins/x-pack, but it also was not picked up.