Configuration

The client is designed to be easily configured for your needs. In the following section, you can see the possible options that you can use to configure it.

  • Basic configuration
  • Advanced configuration
  • Timeout best practices
  • Creating a child client
  • Testing
Previous
Connecting
Next
Basic configuration
  • View as Markdown
  • Edit this page
  • JavaScript

  • JavaScript
    • Getting started
    • Installation
    • Connecting
    • Configuration
      • Basic configuration
      • Advanced configuration
      • Creating a child client
      • Testing
    • Integrations
      • Observability
      • Transport
      • TypeScript support
    • API Reference
    • Examples
      • asStream
      • Bulk
      • Exists
      • Get
      • Ignore
      • MSearch
      • Scroll
      • Search
      • Suggest
      • transport.request
      • SQL
      • Update
      • Update By Query
      • Reindex
    • Client helpers
    • Timeout best practices
  • Elasticsearch JavaScript Client
    • Known issues
    • Breaking changes
    • Deprecations
Elastic logo

© 2026 Elasticsearch B.V. All Rights Reserved.

  • Terms of Use
  • Privacy