🚨 Shai-Hulud Strikes Again:834 Packages Compromised.Technical Analysis →
Socket
Book a DemoInstallSign in
Socket

elastic-transport

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

elastic-transport

bundlerRubygems
Version
8.4.1
Version published
Maintainers
1
Created
Source

Elastic Transport

Run tests

This gem provides a low-level Ruby client for connecting to an Elastic cluster. It powers the Elasticsearch client and other Elastic projects.

In the simplest form, connect to Elasticsearch running on http://localhost:9200 without any configuration:

require 'elastic/transport'

client = Elastic::Transport::Client.new
response = client.perform_request('GET', '_cluster/health')
# => #<Elastic::Transport::Transport::Response:0x007fc5d506ce38 @status=200, @body={ ... } >

Refer to the official documentation on Elastic Transport.

Refer to Advanced Configuration to read about more configuration options.

Compatibility

This gem is compatible with maintained Ruby versions. See Ruby Maintenance Branches. We don't provide support to versions which have reached their end of life.

Development and Community

See CONTRIBUTING.

License

This software is licensed under the Apache 2 license.

FAQs

Package last updated on 07 Oct 2025

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts