code: def get_kibiter_version(url):
      
  
      config_url = '.kibana/config/_search'
      # Avoid having // in the URL because ES will fail
      if url[-1] != '/':
          url += "/"
      url += config_url
      r = requests.get(url)
      r.raise_for_status()
  
      if len(r.json()['hits']['hits']) == 0:
          logger.error("Can not get the Kibiter version")
          return None
  
      version = r.json()['hits']['hits'][0]['_id']
      # 5.4.0-SNAPSHOT
      major_version = version.split(".", 1)[0]
      return major_version
docs: Return kibiter major number version
  
          The url must point to the Elasticsearch used by Kibiter