An elastic cluster is "Licensed" not individual components.
That license is applied / stored in Elasticsearch.
There are 2 ways to CRUD licenses for a normal self managaed clusters
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant
logo are trademarks of the
Apache Software Foundation
in the United States and/or other countries.