{"id":19492091,"url":"https://github.com/kylemclaren/elasticsearch-ruby-connection-test","last_synced_at":"2026-05-18T09:12:27.170Z","repository":{"id":62483714,"uuid":"560542338","full_name":"kylemclaren/elasticsearch-ruby-connection-test","owner":"kylemclaren","description":"Minimal, dockerized Ruby application for testing connectivity/credentials to Elastic Cloud","archived":false,"fork":false,"pushed_at":"2022-11-02T15:42:28.000Z","size":6,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-02-25T19:46:59.384Z","etag":null,"topics":["elastic","elasticsearch","ruby"],"latest_commit_sha":null,"homepage":"","language":"Ruby","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/kylemclaren.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2022-11-01T18:18:10.000Z","updated_at":"2022-11-04T17:39:28.000Z","dependencies_parsed_at":"2023-01-23T10:15:33.238Z","dependency_job_id":null,"html_url":"https://github.com/kylemclaren/elasticsearch-ruby-connection-test","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/kylemclaren/elasticsearch-ruby-connection-test","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kylemclaren%2Felasticsearch-ruby-connection-test","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kylemclaren%2Felasticsearch-ruby-connection-test/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kylemclaren%2Felasticsearch-ruby-connection-test/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kylemclaren%2Felasticsearch-ruby-connection-test/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/kylemclaren","download_url":"https://codeload.github.com/kylemclaren/elasticsearch-ruby-connection-test/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kylemclaren%2Felasticsearch-ruby-connection-test/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":278916436,"owners_count":26068090,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-10-08T02:00:06.501Z","response_time":56,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["elastic","elasticsearch","ruby"],"created_at":"2024-11-10T21:19:18.066Z","updated_at":"2025-10-08T08:53:07.022Z","avatar_url":"https://github.com/kylemclaren.png","language":"Ruby","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Elasticsearch Ruby Connection Test\n![](https://badgen.net/github/release/kylemclaren/elasticsearch-ruby-connection-test)\n\nMinimal, dockerized Ruby application for testing connectivity/credentials to Elastic Cloud\n\n### Configuration\nAdd your Cloud ID, API Key ID and API Key to `connect.rb`.\n\nMore info on authentication to Elastic Cloud can be found in the official docs [here](https://www.elastic.co/guide/en/elasticsearch/client/ruby-api/current/connecting.html#auth-ec)\n\n### Building\n\nTo build the image run the following:\n\n```\ndocker build -t \u003cusername\u003e/\u003cimage_name\u003e/tags .\n```\n\n### Running\n\nTo run the program and test your connection, run:\n\n```\ndocker run --rm \u003cusername\u003e/\u003cimage_name\u003e/tags\n```\n\nThe output should look something like this:\n\n```\n{\"cluster_name\"=\u003e\"xyz123\",\n \"status\"=\u003e\"green\",\n \"timed_out\"=\u003efalse,\n \"number_of_nodes\"=\u003e1,\n \"number_of_data_nodes\"=\u003e1,\n \"active_primary_shards\"=\u003e12,\n \"active_shards\"=\u003e12,\n \"relocating_shards\"=\u003e0,\n \"initializing_shards\"=\u003e0,\n \"unassigned_shards\"=\u003e0,\n \"delayed_unassigned_shards\"=\u003e0,\n \"number_of_pending_tasks\"=\u003e0,\n \"number_of_in_flight_fetch\"=\u003e0,\n \"task_max_waiting_in_queue_millis\"=\u003e0,\n \"active_shards_percent_as_number\"=\u003e100.0}\n ```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkylemclaren%2Felasticsearch-ruby-connection-test","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkylemclaren%2Felasticsearch-ruby-connection-test","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkylemclaren%2Felasticsearch-ruby-connection-test/lists"}