# Version.number is not properly displayed in curl request

**URL:** <https://forum.opensearch.org/t/version-number-is-not-properly-displayed-in-curl-request/9726>\
**Category:** OpenSearch\
**Created:** [May 27, 2022, 8:13am UTC](https://forum.opensearch.org/t/version-number-is-not-properly-displayed-in-curl-request/9726 "2022-05-27T08:13:17Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![chaitra](https://avatars.discourse-cdn.com/v4/letter/c/7feea3/32.png) [@chaitra](https://forum.opensearch.org/u/chaitra)\
**Post date:** [May 27, 2022, 8:13am UTC](https://forum.opensearch.org/t/version-number-is-not-properly-displayed-in-curl-request/9726/1 "2022-05-27T08:13:18Z")

</div>

Hi,  
I am using Opensearch 1.3.1 tar and when I curl to Opensearch endpoint, version.number is 7.10.2, instead it should have been Opensearch tar version which is 1.3.1.

```auto
{
"name" : "my-opensearch",
"cluster_name" : "test",
"cluster_uuid" : "N8-vFcQKQuiv6m8skLdkog",
"version" : {
"number" : "7.10.2",
"build_type" : "tar",
"build_hash" : "c4c0672877bf0f787ca857c7c37b775967f93d81",
"build_date" : "2022-03-29T18:34:46.566802Z",
"build_snapshot" : false,
"lucene_version" : "8.10.1",
"minimum_wire_compatibility_version" : "6.8.0",
"minimum_index_compatibility_version" : "6.0.0-beta1"
},
"tagline" : "The OpenSearch Project: https://opensearch.org/"
}

```

---

<div class="post-metadata">

**Author:** ![reta](https://avatars.discourse-cdn.com/v4/letter/r/cdc98d/32.png) [@reta](https://forum.opensearch.org/u/reta)\
**Post date:** [May 27, 2022, 1:05pm UTC](https://forum.opensearch.org/t/version-number-is-not-properly-displayed-in-curl-request/9726/2 "2022-05-27T13:05:20Z")

</div>

Hi @chaitra ,

The only case when Opensearch will return `7.10.2` version instead of `1.3.1` (as in your deployment) is to preserve compatibility with Elasticsearch clients [1]. If you don’t need that, you could set `override_main_response_version` setting to `false`, for example:

```auto
PUT https://localhost:9200/_cluster/settings

{
  "persistent": {
    "compatibility": {
      "override_main_response_version": false
    }
  }
}

```

Please note after that, if you use some tooling from Elasticsearch ecosystem, it may stop connecting to your cluster(s). Thank you.

[1] [Upgrade from Elasticsearch OSS to OpenSearch - OpenSearch documentation](https://opensearch.org/docs/latest/upgrade-to/upgrade-to/#upgrade-to-opensearch)
