Configuration

This page contains information about how to configure the Ruby client tailored to your needs. Almost every aspect of the client is configurable. However, in most cases you only need to set a couple of parameters.

  • Basic configuration
  • Advanced configuration
Previous
Connecting
Next
Basic configuration
  • View as Markdown
  • Edit this page
  • Ruby

  • Ruby
    • Getting started
    • Installation
    • Connecting
    • Configuration
      • Basic configuration
      • Advanced configuration
    • Integrations
      • Transport
      • Elasticsearch API
      • Using OpenTelemetry
      • Elastic Common Schema (ECS)
      • ActiveModel / ActiveRecord
      • Ruby On Rails
      • Persistence
      • Elasticsearch DSL
    • Examples
    • Client helpers
      • Bulk and Scroll helpers
      • ES|QL
    • Troubleshoot
  • Elasticsearch Ruby Client
    • Known issues
    • Breaking changes
    • Deprecations
Elastic logo

© 2026 Elasticsearch B.V. All Rights Reserved.

  • Terms of Use
  • Privacy