powered by
Returns the major, minor and build version numbers for an Elasticsearch cluster, given a valid URL to an Elasticsearch cluster.
elastic_version(url)
A valid URL to an Elasticsearch cluster.
A list with the major, minor and build numbers.
major
minor
build
# NOT RUN { elastic_version("http://localhost:9200") $major [1] 5 $minor [1] 0 $build [1] 1 # }
Run the code above in your browser using DataLab