elasticsearch

package module
v8.17.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 17, 2024 License: Apache-2.0 Imports: 18 Imported by: 873

README

go-elasticsearch

The official Go client for Elasticsearch.

Download the latest version of Elasticsearch or sign-up for a free trial of Elastic Cloud.

Go Reference Go Report Card codecov.io Build Unit Integration API

Compatibility

Go

Starting from version 8.12.0, this library follow the Go language policy. Each major Go release is supported until there are two newer major releases. For example, Go 1.5 was supported until the Go 1.7 release, and Go 1.6 was supported until the Go 1.8 release.

Elasticsearch

Language clients are forward compatible; meaning that clients support communicating with greater or equal minor versions of Elasticsearch. Elasticsearch language clients are only backwards compatible with default distributions and without guarantees made.

When using Go modules, include the version in the import path, and specify either an explicit version or a branch:

require github.com/elastic/go-elasticsearch/v8 v8.0.0
require github.com/elastic/go-elasticsearch/v7 7.17

It's possible to use multiple versions of the client in a single project:

// go.mod
github.com/elastic/go-elasticsearch/v7 v7.17.0
github.com/elastic/go-elasticsearch/v8 v8.0.0

// main.go
import (
  elasticsearch7 "github.com/elastic/go-elasticsearch/v7"
  elasticsearch8 "github.com/elastic/go-elasticsearch/v8"
)
// ...
es7, _ := elasticsearch7.NewDefaultClient()
es8, _ := elasticsearch8.NewDefaultClient()

The main branch of the client is compatible with the current master branch of Elasticsearch.

Installation

Refer to the Installation section of the getting started documentation.

Connecting

Refer to the Connecting section of the getting started documentation.

Operations

Helpers

The esutil package provides convenience helpers for working with the client. At the moment, it provides the esutil.JSONReader() and the esutil.BulkIndexer helpers.

Examples

The _examples folder contains a number of recipes and comprehensive examples to get you started with the client, including configuration and customization of the client, using a custom certificate authority (CA) for security (TLS), mocking the transport for unit tests, embedding the client in a custom type, building queries, performing requests individually and in bulk, and parsing the responses.

License

This software is licensed under the Apache 2 license. See NOTICE.

Documentation

Overview

Package elasticsearch provides a Go client for Elasticsearch.

Create the client with the NewDefaultClient function:

elasticsearch.NewDefaultClient()

The ELASTICSEARCH_URL environment variable is used instead of the default URL, when set. Use a comma to separate multiple URLs.

To configure the client, pass a Config object to the NewClient function:

cfg := elasticsearch.Config{
  Addresses: []string{
    "http://localhost:9200",
    "http://localhost:9201",
  },
  Username: "foo",
  Password: "bar",
  Transport: &http.Transport{
    MaxIdleConnsPerHost:   10,
    ResponseHeaderTimeout: time.Second,
    DialContext:           (&net.Dialer{Timeout: time.Second}).DialContext,
    TLSClientConfig: &tls.Config{
      MinVersion:         tls.VersionTLS12,
    },
  },
}

elasticsearch.NewClient(cfg)

When using the Elastic Service (https://elastic.co/cloud), you can use CloudID instead of Addresses. When either Addresses or CloudID is set, the ELASTICSEARCH_URL environment variable is ignored.

See the elasticsearch_integration_test.go file and the _examples folder for more information.

Call the Elasticsearch APIs by invoking the corresponding methods on the client:

res, err := es.Info()
if err != nil {
  log.Fatalf("Error getting response: %s", err)
}

log.Println(res)

See the github.com/elastic/go-elasticsearch/esapi package for more information about using the API.

See the github.com/elastic/elastic-transport-go package for more information about configuring the transport.

Index

Examples

Constants

View Source
const (

	// Version returns the package version as a string.
	Version = version.Client

	// HeaderClientMeta Key for the HTTP Header related to telemetry data sent with
	// each request to Elasticsearch.
	HeaderClientMeta = "x-elastic-client-meta"
)

Variables

This section is empty.

Functions

func NewOpenTelemetryInstrumentation added in v8.12.0

func NewOpenTelemetryInstrumentation(provider trace.TracerProvider, captureSearchBody bool) elastictransport.Instrumentation

NewOpenTelemetryInstrumentation provides the OpenTelemetry integration for both low-level and TypedAPI. provider is optional, if nil is passed the integration will retrieve the provider set globally by otel. captureSearchBody allows to define if the search queries body should be included in the span. Search endpoints are:

search
async_search.submit
msearch
eql.search
terms_enum
search_template
msearch_template
render_search_template

Types

type BaseClient added in v8.4.0

type BaseClient struct {
	Transport elastictransport.Interface
	// contains filtered or unexported fields
}

BaseClient represents the Elasticsearch client.

func (*BaseClient) DiscoverNodes added in v8.4.0

func (c *BaseClient) DiscoverNodes() error

DiscoverNodes reloads the client connections by fetching information from the cluster.

func (*BaseClient) InstrumentationEnabled added in v8.12.0

func (c *BaseClient) InstrumentationEnabled() elastictransport.Instrumentation

InstrumentationEnabled propagates back to the client the Instrumentation provided by the transport.

func (*BaseClient) Metrics added in v8.4.0

func (c *BaseClient) Metrics() (elastictransport.Metrics, error)

Metrics returns the client metrics.

func (*BaseClient) Perform added in v8.4.0

func (c *BaseClient) Perform(req *http.Request) (*http.Response, error)

Perform delegates to Transport to execute a request and return a response.

type Client

type Client struct {
	BaseClient
	*esapi.API
}

Client represents the Functional Options API.

func NewClient

func NewClient(cfg Config) (*Client, error)

NewClient creates a new client with configuration from cfg.

It will use http://localhost:9200 as the default address.

It will use the ELASTICSEARCH_URL environment variable, if set, to configure the addresses; use a comma to separate multiple URLs.

If either cfg.Addresses or cfg.CloudID is set, the ELASTICSEARCH_URL environment variable is ignored.

It's an error to set both cfg.Addresses and cfg.CloudID.

Example
cfg := elasticsearch.Config{
	Addresses: []string{
		"http://localhost:9200",
	},
	Username: "foo",
	Password: "bar",
	Transport: &http.Transport{
		MaxIdleConnsPerHost:   10,
		ResponseHeaderTimeout: time.Second,
		DialContext:           (&net.Dialer{Timeout: time.Second}).DialContext,
		TLSClientConfig: &tls.Config{
			MinVersion: tls.VersionTLS12,
		},
	},
}

es, _ := elasticsearch.NewClient(cfg)
log.Print(es.Transport.(*elastictransport.Client).URLs())
Output:

Example (Logger)
// import "github.com/elastic/go-elasticsearch/v8/elastictransport"

// Use one of the bundled loggers:
//
// * elastictransport.TextLogger
// * elastictransport.ColorLogger
// * elastictransport.CurlLogger
// * elastictransport.JSONLogger

cfg := elasticsearch.Config{
	Logger: &elastictransport.ColorLogger{Output: os.Stdout},
}

elasticsearch.NewClient(cfg)
Output:

func NewDefaultClient

func NewDefaultClient() (*Client, error)

NewDefaultClient creates a new client with default options.

It will use http://localhost:9200 as the default address.

It will use the ELASTICSEARCH_URL environment variable, if set, to configure the addresses; use a comma to separate multiple URLs.

Example
es, err := elasticsearch.NewDefaultClient()
if err != nil {
	log.Fatalf("Error creating the client: %s\n", err)
}

res, err := es.Info()
if err != nil {
	log.Fatalf("Error getting the response: %s\n", err)
}
defer res.Body.Close()

log.Print(es.Transport.(*elastictransport.Client).URLs())
Output:

type Config

type Config struct {
	Addresses []string // A list of Elasticsearch nodes to use.
	Username  string   // Username for HTTP Basic Authentication.
	Password  string   // Password for HTTP Basic Authentication.

	CloudID                string // Endpoint for the Elastic Service (https://elastic.co/cloud).
	APIKey                 string // Base64-encoded token for authorization; if set, overrides username/password and service token.
	ServiceToken           string // Service token for authorization; if set, overrides username/password.
	CertificateFingerprint string // SHA256 hex fingerprint given by Elasticsearch on first launch.

	Header http.Header // Global HTTP request header.

	// PEM-encoded certificate authorities.
	// When set, an empty certificate pool will be created, and the certificates will be appended to it.
	// The option is only valid when the transport is not specified, or when it's http.Transport.
	CACert []byte

	RetryOnStatus []int                           // List of status codes for retry. Default: 502, 503, 504.
	DisableRetry  bool                            // Default: false.
	MaxRetries    int                             // Default: 3.
	RetryOnError  func(*http.Request, error) bool // Optional function allowing to indicate which error should be retried. Default: nil.

	CompressRequestBody      bool // Default: false.
	CompressRequestBodyLevel int  // Default: gzip.DefaultCompression.
	PoolCompressor           bool // If true, a sync.Pool based gzip writer is used. Default: false.

	DiscoverNodesOnStart  bool          // Discover nodes when initializing the client. Default: false.
	DiscoverNodesInterval time.Duration // Discover nodes periodically. Default: disabled.

	EnableMetrics           bool // Enable the metrics collection.
	EnableDebugLogger       bool // Enable the debug logging.
	EnableCompatibilityMode bool // Enable sends compatibility header

	DisableMetaHeader bool // Disable the additional "X-Elastic-Client-Meta" HTTP header.

	RetryBackoff func(attempt int) time.Duration // Optional backoff duration. Default: nil.

	Transport http.RoundTripper         // The HTTP transport object.
	Logger    elastictransport.Logger   // The logger object.
	Selector  elastictransport.Selector // The selector object.

	// Optional constructor function for a custom ConnectionPool. Default: nil.
	ConnectionPoolFunc func([]*elastictransport.Connection, elastictransport.Selector) elastictransport.ConnectionPool

	Instrumentation elastictransport.Instrumentation // Enable instrumentation throughout the client.
}

Config represents the client configuration.

type TypedClient added in v8.4.0

type TypedClient struct {
	BaseClient
	*typedapi.API
}

TypedClient represents the Typed API.

func NewTypedClient added in v8.4.0

func NewTypedClient(cfg Config) (*TypedClient, error)

NewTypedClient create a new client with the configuration from cfg.

This version uses the same configuration as NewClient.

It will return the client with the TypedAPI.

Directories

Path Synopsis
Package esapi provides the Go API for Elasticsearch.
Package esapi provides the Go API for Elasticsearch.
Package esutil provides helper utilities to the Go client for Elasticsearch.
Package esutil provides helper utilities to the Go client for Elasticsearch.
internal
asyncsearch/delete
Delete an async search.
Delete an async search.
asyncsearch/get
Get async search results.
Get async search results.
asyncsearch/status
Get the async search status.
Get the async search status.
asyncsearch/submit
Run an async search.
Run an async search.
autoscaling/deleteautoscalingpolicy
Delete an autoscaling policy.
Delete an autoscaling policy.
autoscaling/getautoscalingcapacity
Get the autoscaling capacity.
Get the autoscaling capacity.
autoscaling/getautoscalingpolicy
Get an autoscaling policy.
Get an autoscaling policy.
autoscaling/putautoscalingpolicy
Create or update an autoscaling policy.
Create or update an autoscaling policy.
capabilities
Checks if the specified combination of method, API, parameters, and arbitrary capabilities are supported
Checks if the specified combination of method, API, parameters, and arbitrary capabilities are supported
cat/aliases
Get aliases.
Get aliases.
cat/allocation
Provides a snapshot of the number of shards allocated to each data node and their disk space.
Provides a snapshot of the number of shards allocated to each data node and their disk space.
cat/componenttemplates
Get component templates.
Get component templates.
cat/count
Get a document count.
Get a document count.
cat/fielddata
Returns the amount of heap memory currently used by the field data cache on every data node in the cluster.
Returns the amount of heap memory currently used by the field data cache on every data node in the cluster.
cat/health
Returns the health status of a cluster, similar to the cluster health API.
Returns the health status of a cluster, similar to the cluster health API.
cat/help
Get CAT help.
Get CAT help.
cat/indices
Get index information.
Get index information.
cat/master
Returns information about the master node, including the ID, bound IP address, and name.
Returns information about the master node, including the ID, bound IP address, and name.
cat/mldatafeeds
Get datafeeds.
Get datafeeds.
cat/mldataframeanalytics
Get data frame analytics jobs.
Get data frame analytics jobs.
cat/mljobs
Get anomaly detection jobs.
Get anomaly detection jobs.
cat/mltrainedmodels
Get trained models.
Get trained models.
cat/nodeattrs
Returns information about custom node attributes.
Returns information about custom node attributes.
cat/nodes
Returns information about the nodes in a cluster.
Returns information about the nodes in a cluster.
cat/pendingtasks
Returns cluster-level changes that have not yet been executed.
Returns cluster-level changes that have not yet been executed.
cat/plugins
Returns a list of plugins running on each node of a cluster.
Returns a list of plugins running on each node of a cluster.
cat/recovery
Returns information about ongoing and completed shard recoveries.
Returns information about ongoing and completed shard recoveries.
cat/repositories
Returns the snapshot repositories for a cluster.
Returns the snapshot repositories for a cluster.
cat/segments
Returns low-level information about the Lucene segments in index shards.
Returns low-level information about the Lucene segments in index shards.
cat/shards
Returns information about the shards in a cluster.
Returns information about the shards in a cluster.
cat/snapshots
Returns information about the snapshots stored in one or more repositories.
Returns information about the snapshots stored in one or more repositories.
cat/tasks
Returns information about tasks currently executing in the cluster.
Returns information about tasks currently executing in the cluster.
cat/templates
Returns information about index templates in a cluster.
Returns information about index templates in a cluster.
cat/threadpool
Returns thread pool statistics for each node in a cluster.
Returns thread pool statistics for each node in a cluster.
cat/transforms
Get transforms.
Get transforms.
ccr/deleteautofollowpattern
Delete auto-follow patterns.
Delete auto-follow patterns.
ccr/follow
Create a follower.
Create a follower.
ccr/followinfo
Get follower information.
Get follower information.
ccr/followstats
Get follower stats.
Get follower stats.
ccr/forgetfollower
Forget a follower.
Forget a follower.
ccr/getautofollowpattern
Get auto-follow patterns.
Get auto-follow patterns.
ccr/pauseautofollowpattern
Pause an auto-follow pattern.
Pause an auto-follow pattern.
ccr/pausefollow
Pause a follower.
Pause a follower.
ccr/putautofollowpattern
Create or update auto-follow patterns.
Create or update auto-follow patterns.
ccr/resumeautofollowpattern
Resume an auto-follow pattern.
Resume an auto-follow pattern.
ccr/resumefollow
Resume a follower.
Resume a follower.
ccr/stats
Get cross-cluster replication stats.
Get cross-cluster replication stats.
ccr/unfollow
Unfollow an index.
Unfollow an index.
cluster/allocationexplain
Explain the shard allocations.
Explain the shard allocations.
cluster/deletecomponenttemplate
Delete component templates.
Delete component templates.
cluster/deletevotingconfigexclusions
Clear cluster voting config exclusions.
Clear cluster voting config exclusions.
cluster/existscomponenttemplate
Check component templates.
Check component templates.
cluster/getcomponenttemplate
Get component templates.
Get component templates.
cluster/getsettings
Get cluster-wide settings.
Get cluster-wide settings.
cluster/health
Get the cluster health status.
Get the cluster health status.
cluster/info
Get cluster info.
Get cluster info.
cluster/pendingtasks
Get the pending cluster tasks.
Get the pending cluster tasks.
cluster/postvotingconfigexclusions
Update voting configuration exclusions.
Update voting configuration exclusions.
cluster/putcomponenttemplate
Create or update a component template.
Create or update a component template.
cluster/putsettings
Update the cluster settings.
Update the cluster settings.
cluster/remoteinfo
Get remote cluster information.
Get remote cluster information.
cluster/reroute
Reroute the cluster.
Reroute the cluster.
cluster/state
Get the cluster state.
Get the cluster state.
cluster/stats
Get cluster statistics.
Get cluster statistics.
connector/checkin
Check in a connector.
Check in a connector.
connector/delete
Delete a connector.
Delete a connector.
connector/get
Get a connector.
Get a connector.
connector/lastsync
Update the connector last sync stats.
Update the connector last sync stats.
connector/list
Get all connectors.
Get all connectors.
connector/post
Create a connector.
Create a connector.
connector/put
Create or update a connector.
Create or update a connector.
connector/secretpost
Creates a secret for a Connector.
Creates a secret for a Connector.
connector/syncjobcancel
Cancel a connector sync job.
Cancel a connector sync job.
connector/syncjobdelete
Delete a connector sync job.
Delete a connector sync job.
connector/syncjobget
Get a connector sync job.
Get a connector sync job.
connector/syncjoblist
Get all connector sync jobs.
Get all connector sync jobs.
connector/syncjobpost
Create a connector sync job.
Create a connector sync job.
connector/updateactivefiltering
Activate the connector draft filter.
Activate the connector draft filter.
connector/updateapikeyid
Update the connector API key ID.
Update the connector API key ID.
connector/updateconfiguration
Update the connector configuration.
Update the connector configuration.
connector/updateerror
Update the connector error field.
Update the connector error field.
connector/updatefiltering
Update the connector filtering.
Update the connector filtering.
connector/updatefilteringvalidation
Update the connector draft filtering validation.
Update the connector draft filtering validation.
connector/updateindexname
Update the connector index name.
Update the connector index name.
connector/updatename
Update the connector name and description.
Update the connector name and description.
connector/updatenative
Update the connector is_native flag.
Update the connector is_native flag.
connector/updatepipeline
Update the connector pipeline.
Update the connector pipeline.
connector/updatescheduling
Update the connector scheduling.
Update the connector scheduling.
connector/updateservicetype
Update the connector service type.
Update the connector service type.
connector/updatestatus
Update the connector status.
Update the connector status.
core/bulk
Bulk index or delete documents.
Bulk index or delete documents.
core/clearscroll
Clear a scrolling search.
Clear a scrolling search.
core/closepointintime
Close a point in time.
Close a point in time.
core/count
Count search results.
Count search results.
core/create
Index a document.
Index a document.
core/delete
Delete a document.
Delete a document.
core/deletebyquery
Delete documents.
Delete documents.
core/deletebyqueryrethrottle
Throttle a delete by query operation.
Throttle a delete by query operation.
core/deletescript
Delete a script or search template.
Delete a script or search template.
core/exists
Check a document.
Check a document.
core/existssource
Check for a document source.
Check for a document source.
core/explain
Explain a document match result.
Explain a document match result.
core/fieldcaps
Get the field capabilities.
Get the field capabilities.
core/get
Get a document by its ID.
Get a document by its ID.
core/getscript
Get a script or search template.
Get a script or search template.
core/getscriptcontext
Get script contexts.
Get script contexts.
core/getscriptlanguages
Get script languages.
Get script languages.
core/getsource
Get a document's source.
Get a document's source.
core/healthreport
Get the cluster health.
Get the cluster health.
core/index
Index a document.
Index a document.
core/info
Get cluster info.
Get cluster info.
core/knnsearch
Run a knn search.
Run a knn search.
core/mget
Get multiple documents.
Get multiple documents.
core/msearch
Run multiple searches.
Run multiple searches.
core/msearchtemplate
Run multiple templated searches.
Run multiple templated searches.
core/mtermvectors
Get multiple term vectors.
Get multiple term vectors.
core/openpointintime
Open a point in time.
Open a point in time.
core/ping
Ping the cluster.
Ping the cluster.
core/putscript
Create or update a script or search template.
Create or update a script or search template.
core/rankeval
Evaluate ranked search results.
Evaluate ranked search results.
core/reindex
Reindex documents.
Reindex documents.
core/reindexrethrottle
Throttle a reindex operation.
Throttle a reindex operation.
core/rendersearchtemplate
Render a search template.
Render a search template.
Run a script.
core/scroll
Run a scrolling search.
Run a scrolling search.
core/search
Run a search.
Run a search.
core/searchmvt
Search a vector tile.
Search a vector tile.
core/searchshards
Get the search shards.
Get the search shards.
core/searchtemplate
Run a search with a search template.
Run a search with a search template.
core/termsenum
Get terms in an index.
Get terms in an index.
core/termvectors
Get term vector information.
Get term vector information.
core/update
Update a document.
Update a document.
core/updatebyquery
Update documents.
Update documents.
core/updatebyqueryrethrottle
Throttle an update by query operation.
Throttle an update by query operation.
danglingindices/deletedanglingindex
Delete a dangling index.
Delete a dangling index.
danglingindices/importdanglingindex
Import a dangling index.
Import a dangling index.
danglingindices/listdanglingindices
Get the dangling indices.
Get the dangling indices.
enrich/deletepolicy
Delete an enrich policy.
Delete an enrich policy.
enrich/executepolicy
Run an enrich policy.
Run an enrich policy.
enrich/getpolicy
Get an enrich policy.
Get an enrich policy.
enrich/putpolicy
Create an enrich policy.
Create an enrich policy.
enrich/stats
Get enrich stats.
Get enrich stats.
eql/delete
Delete an async EQL search.
Delete an async EQL search.
eql/get
Get async EQL search results.
Get async EQL search results.
eql/getstatus
Get the async EQL status.
Get the async EQL status.
eql/search
Get EQL search results.
Get EQL search results.
esql/asyncquery
Executes an ESQL request asynchronously
Executes an ESQL request asynchronously
esql/query
Run an ES|QL query.
Run an ES|QL query.
features/getfeatures
Get the features.
Get the features.
features/resetfeatures
Reset the features.
Reset the features.
fleet/globalcheckpoints
Returns the current global checkpoints for an index.
Returns the current global checkpoints for an index.
fleet/msearch
Executes several [fleet searches](https://www.elastic.co/guide/en/elasticsearch/reference/current/fleet-search.html) with a single API request.
Executes several [fleet searches](https://www.elastic.co/guide/en/elasticsearch/reference/current/fleet-search.html) with a single API request.
fleet/postsecret
Creates a secret stored by Fleet.
Creates a secret stored by Fleet.
fleet/search
The purpose of the fleet search api is to provide a search api where the search will only be executed after provided checkpoint has been processed and is visible for searches inside of Elasticsearch.
The purpose of the fleet search api is to provide a search api where the search will only be executed after provided checkpoint has been processed and is visible for searches inside of Elasticsearch.
graph/explore
Explore graph analytics.
Explore graph analytics.
ilm/deletelifecycle
Delete a lifecycle policy.
Delete a lifecycle policy.
ilm/explainlifecycle
Explain the lifecycle state.
Explain the lifecycle state.
ilm/getlifecycle
Get lifecycle policies.
Get lifecycle policies.
ilm/getstatus
Get the ILM status.
Get the ILM status.
ilm/migratetodatatiers
Migrate to data tiers routing.
Migrate to data tiers routing.
ilm/movetostep
Move to a lifecycle step.
Move to a lifecycle step.
ilm/putlifecycle
Create or update a lifecycle policy.
Create or update a lifecycle policy.
ilm/removepolicy
Remove policies from an index.
Remove policies from an index.
ilm/retry
Retry a policy.
Retry a policy.
ilm/start
Start the ILM plugin.
Start the ILM plugin.
ilm/stop
Stop the ILM plugin.
Stop the ILM plugin.
indices/addblock
Add an index block.
Add an index block.
indices/analyze
Get tokens from text analysis.
Get tokens from text analysis.
indices/clearcache
Clear the cache.
Clear the cache.
indices/clone
Clone an index.
Clone an index.
indices/close
Close an index.
Close an index.
indices/create
Create an index.
Create an index.
indices/createdatastream
Create a data stream.
Create a data stream.
indices/datastreamsstats
Get data stream stats.
Get data stream stats.
indices/delete
Delete indices.
Delete indices.
indices/deletealias
Delete an alias.
Delete an alias.
indices/deletedatalifecycle
Delete data stream lifecycles.
Delete data stream lifecycles.
indices/deletedatastream
Delete data streams.
Delete data streams.
indices/deleteindextemplate
Delete an index template.
Delete an index template.
indices/deletetemplate
Deletes a legacy index template.
Deletes a legacy index template.
indices/diskusage
Analyze the index disk usage.
Analyze the index disk usage.
indices/downsample
Downsample an index.
Downsample an index.
indices/exists
Check indices.
Check indices.
indices/existsalias
Check aliases.
Check aliases.
indices/existsindextemplate
Check index templates.
Check index templates.
indices/existstemplate
Check existence of index templates.
Check existence of index templates.
indices/explaindatalifecycle
Get the status for a data stream lifecycle.
Get the status for a data stream lifecycle.
indices/fieldusagestats
Get field usage stats.
Get field usage stats.
indices/flush
Flush data streams or indices.
Flush data streams or indices.
indices/forcemerge
Force a merge.
Force a merge.
indices/get
Get index information.
Get index information.
indices/getalias
Get aliases.
Get aliases.
indices/getdatalifecycle
Get data stream lifecycles.
Get data stream lifecycles.
indices/getdatastream
Get data streams.
Get data streams.
indices/getfieldmapping
Get mapping definitions.
Get mapping definitions.
indices/getindextemplate
Get index templates.
Get index templates.
indices/getmapping
Get mapping definitions.
Get mapping definitions.
indices/getsettings
Get index settings.
Get index settings.
indices/gettemplate
Get index templates.
Get index templates.
indices/migratetodatastream
Convert an index alias to a data stream.
Convert an index alias to a data stream.
indices/modifydatastream
Update data streams.
Update data streams.
indices/open
Opens a closed index.
Opens a closed index.
indices/promotedatastream
Promote a data stream.
Promote a data stream.
indices/putalias
Create or update an alias.
Create or update an alias.
indices/putdatalifecycle
Update data stream lifecycles.
Update data stream lifecycles.
indices/putindextemplate
Create or update an index template.
Create or update an index template.
indices/putmapping
Update field mappings.
Update field mappings.
indices/putsettings
Update index settings.
Update index settings.
indices/puttemplate
Create or update an index template.
Create or update an index template.
indices/recovery
Get index recovery information.
Get index recovery information.
indices/refresh
Refresh an index.
Refresh an index.
indices/reloadsearchanalyzers
Reload search analyzers.
Reload search analyzers.
indices/resolvecluster
Resolve the cluster.
Resolve the cluster.
indices/resolveindex
Resolve indices.
Resolve indices.
indices/rollover
Roll over to a new index.
Roll over to a new index.
indices/segments
Get index segments.
Get index segments.
indices/shardstores
Get index shard stores.
Get index shard stores.
indices/shrink
Shrink an index.
Shrink an index.
indices/simulateindextemplate
Simulate an index.
Simulate an index.
indices/simulatetemplate
Simulate an index template.
Simulate an index template.
indices/split
Split an index.
Split an index.
indices/stats
Get index statistics.
Get index statistics.
indices/unfreeze
Unfreeze an index.
Unfreeze an index.
indices/updatealiases
Create or update an alias.
Create or update an alias.
indices/validatequery
Validate a query.
Validate a query.
inference/delete
Delete an inference endpoint
Delete an inference endpoint
inference/get
Get an inference endpoint
Get an inference endpoint
inference/inference
Perform inference on the service
Perform inference on the service
inference/put
Create an inference endpoint
Create an inference endpoint
ingest/deletegeoipdatabase
Delete GeoIP database configurations.
Delete GeoIP database configurations.
ingest/deletepipeline
Delete pipelines.
Delete pipelines.
ingest/geoipstats
Get GeoIP statistics.
Get GeoIP statistics.
ingest/getgeoipdatabase
Get GeoIP database configurations.
Get GeoIP database configurations.
ingest/getpipeline
Get pipelines.
Get pipelines.
ingest/processorgrok
Run a grok processor.
Run a grok processor.
ingest/putgeoipdatabase
Create or update GeoIP database configurations.
Create or update GeoIP database configurations.
ingest/putpipeline
Create or update a pipeline.
Create or update a pipeline.
ingest/simulate
Simulate a pipeline.
Simulate a pipeline.
license/delete
Delete the license.
Delete the license.
license/get
Get license information.
Get license information.
license/getbasicstatus
Get the basic license status.
Get the basic license status.
license/gettrialstatus
Get the trial status.
Get the trial status.
license/post
Update the license.
Update the license.
license/poststartbasic
Start a basic license.
Start a basic license.
license/poststarttrial
Start a trial.
Start a trial.
logstash/deletepipeline
Deletes a pipeline used for Logstash Central Management.
Deletes a pipeline used for Logstash Central Management.
logstash/getpipeline
Retrieves pipelines used for Logstash Central Management.
Retrieves pipelines used for Logstash Central Management.
logstash/putpipeline
Creates or updates a pipeline used for Logstash Central Management.
Creates or updates a pipeline used for Logstash Central Management.
migration/deprecations
Retrieves information about different cluster, node, and index level settings that use deprecated features that will be removed or changed in the next major version.
Retrieves information about different cluster, node, and index level settings that use deprecated features that will be removed or changed in the next major version.
migration/getfeatureupgradestatus
Find out whether system features need to be upgraded or not
Find out whether system features need to be upgraded or not
migration/postfeatureupgrade
Begin upgrades for system features
Begin upgrades for system features
ml/cleartrainedmodeldeploymentcache
Clear trained model deployment cache.
Clear trained model deployment cache.
ml/closejob
Close anomaly detection jobs.
Close anomaly detection jobs.
ml/deletecalendar
Delete a calendar.
Delete a calendar.
ml/deletecalendarevent
Delete events from a calendar.
Delete events from a calendar.
ml/deletecalendarjob
Delete anomaly jobs from a calendar.
Delete anomaly jobs from a calendar.
ml/deletedatafeed
Delete a datafeed.
Delete a datafeed.
ml/deletedataframeanalytics
Delete a data frame analytics job.
Delete a data frame analytics job.
ml/deleteexpireddata
Delete expired ML data.
Delete expired ML data.
ml/deletefilter
Delete a filter.
Delete a filter.
ml/deleteforecast
Delete forecasts from a job.
Delete forecasts from a job.
ml/deletejob
Delete an anomaly detection job.
Delete an anomaly detection job.
ml/deletemodelsnapshot
Delete a model snapshot.
Delete a model snapshot.
ml/deletetrainedmodel
Delete an unreferenced trained model.
Delete an unreferenced trained model.
ml/deletetrainedmodelalias
Delete a trained model alias.
Delete a trained model alias.
ml/estimatemodelmemory
Estimate job model memory usage.
Estimate job model memory usage.
ml/evaluatedataframe
Evaluate data frame analytics.
Evaluate data frame analytics.
ml/explaindataframeanalytics
Explain data frame analytics config.
Explain data frame analytics config.
ml/flushjob
Force buffered data to be processed.
Force buffered data to be processed.
ml/forecast
Predict future behavior of a time series.
Predict future behavior of a time series.
ml/getbuckets
Get anomaly detection job results for buckets.
Get anomaly detection job results for buckets.
ml/getcalendarevents
Get info about events in calendars.
Get info about events in calendars.
ml/getcalendars
Get calendar configuration info.
Get calendar configuration info.
ml/getcategories
Get anomaly detection job results for categories.
Get anomaly detection job results for categories.
ml/getdatafeeds
Get datafeeds configuration info.
Get datafeeds configuration info.
ml/getdatafeedstats
Get datafeeds usage info.
Get datafeeds usage info.
ml/getdataframeanalytics
Get data frame analytics job configuration info.
Get data frame analytics job configuration info.
ml/getdataframeanalyticsstats
Get data frame analytics jobs usage info.
Get data frame analytics jobs usage info.
ml/getfilters
Get filters.
Get filters.
ml/getinfluencers
Get anomaly detection job results for influencers.
Get anomaly detection job results for influencers.
ml/getjobs
Get anomaly detection jobs configuration info.
Get anomaly detection jobs configuration info.
ml/getjobstats
Get anomaly detection jobs usage info.
Get anomaly detection jobs usage info.
ml/getmemorystats
Get machine learning memory usage info.
Get machine learning memory usage info.
ml/getmodelsnapshots
Get model snapshots info.
Get model snapshots info.
ml/getmodelsnapshotupgradestats
Get anomaly detection job model snapshot upgrade usage info.
Get anomaly detection job model snapshot upgrade usage info.
ml/getoverallbuckets
Get overall bucket results.
Get overall bucket results.
ml/getrecords
Get anomaly records for an anomaly detection job.
Get anomaly records for an anomaly detection job.
ml/gettrainedmodels
Get trained model configuration info.
Get trained model configuration info.
ml/gettrainedmodelsstats
Get trained models usage info.
Get trained models usage info.
ml/infertrainedmodel
Evaluate a trained model.
Evaluate a trained model.
ml/info
Return ML defaults and limits.
Return ML defaults and limits.
ml/openjob
Open anomaly detection jobs.
Open anomaly detection jobs.
ml/postcalendarevents
Add scheduled events to the calendar.
Add scheduled events to the calendar.
ml/postdata
Send data to an anomaly detection job for analysis.
Send data to an anomaly detection job for analysis.
ml/previewdatafeed
Preview a datafeed.
Preview a datafeed.
ml/previewdataframeanalytics
Preview features used by data frame analytics.
Preview features used by data frame analytics.
ml/putcalendar
Create a calendar.
Create a calendar.
ml/putcalendarjob
Add anomaly detection job to calendar.
Add anomaly detection job to calendar.
ml/putdatafeed
Create a datafeed.
Create a datafeed.
ml/putdataframeanalytics
Create a data frame analytics job.
Create a data frame analytics job.
ml/putfilter
Create a filter.
Create a filter.
ml/putjob
Create an anomaly detection job.
Create an anomaly detection job.
ml/puttrainedmodel
Create a trained model.
Create a trained model.
ml/puttrainedmodelalias
Create or update a trained model alias.
Create or update a trained model alias.
ml/puttrainedmodeldefinitionpart
Create part of a trained model definition.
Create part of a trained model definition.
ml/puttrainedmodelvocabulary
Create a trained model vocabulary.
Create a trained model vocabulary.
ml/resetjob
Reset an anomaly detection job.
Reset an anomaly detection job.
ml/revertmodelsnapshot
Revert to a snapshot.
Revert to a snapshot.
ml/setupgrademode
Set upgrade_mode for ML indices.
Set upgrade_mode for ML indices.
ml/startdatafeed
Start datafeeds.
Start datafeeds.
ml/startdataframeanalytics
Start a data frame analytics job.
Start a data frame analytics job.
ml/starttrainedmodeldeployment
Start a trained model deployment.
Start a trained model deployment.
ml/stopdatafeed
Stop datafeeds.
Stop datafeeds.
ml/stopdataframeanalytics
Stop data frame analytics jobs.
Stop data frame analytics jobs.
ml/stoptrainedmodeldeployment
Stop a trained model deployment.
Stop a trained model deployment.
ml/updatedatafeed
Update a datafeed.
Update a datafeed.
ml/updatedataframeanalytics
Update a data frame analytics job.
Update a data frame analytics job.
ml/updatefilter
Update a filter.
Update a filter.
ml/updatejob
Update an anomaly detection job.
Update an anomaly detection job.
ml/updatemodelsnapshot
Update a snapshot.
Update a snapshot.
ml/updatetrainedmodeldeployment
Update a trained model deployment.
Update a trained model deployment.
ml/upgradejobsnapshot
Upgrade a snapshot.
Upgrade a snapshot.
ml/validate
Validates an anomaly detection job.
Validates an anomaly detection job.
ml/validatedetector
Validates an anomaly detection detector.
Validates an anomaly detection detector.
monitoring/bulk
Used by the monitoring features to send monitoring data.
Used by the monitoring features to send monitoring data.
nodes/clearrepositoriesmeteringarchive
Clear the archived repositories metering.
Clear the archived repositories metering.
nodes/getrepositoriesmeteringinfo
Get cluster repositories metering.
Get cluster repositories metering.
nodes/hotthreads
Get the hot threads for nodes.
Get the hot threads for nodes.
nodes/info
Get node information.
Get node information.
nodes/reloadsecuresettings
Reload the keystore on nodes in the cluster.
Reload the keystore on nodes in the cluster.
nodes/stats
Get node statistics.
Get node statistics.
nodes/usage
Get feature usage information.
Get feature usage information.
profiling/flamegraph
Extracts a UI-optimized structure to render flamegraphs from Universal Profiling.
Extracts a UI-optimized structure to render flamegraphs from Universal Profiling.
profiling/stacktraces
Extracts raw stacktrace information from Universal Profiling.
Extracts raw stacktrace information from Universal Profiling.
profiling/status
Returns basic information about the status of Universal Profiling.
Returns basic information about the status of Universal Profiling.
profiling/topnfunctions
Extracts a list of topN functions from Universal Profiling.
Extracts a list of topN functions from Universal Profiling.
queryrules/deleterule
Delete a query rule.
Delete a query rule.
queryrules/deleteruleset
Delete a query ruleset.
Delete a query ruleset.
queryrules/getrule
Get a query rule.
Get a query rule.
queryrules/getruleset
Get a query ruleset.
Get a query ruleset.
queryrules/listrulesets
Get all query rulesets.
Get all query rulesets.
queryrules/putrule
Create or update a query rule.
Create or update a query rule.
queryrules/putruleset
Create or update a query ruleset.
Create or update a query ruleset.
queryrules/test
Test a query ruleset.
Test a query ruleset.
rollup/deletejob
Deletes an existing rollup job.
Deletes an existing rollup job.
rollup/getjobs
Retrieves the configuration, stats, and status of rollup jobs.
Retrieves the configuration, stats, and status of rollup jobs.
rollup/getrollupcaps
Returns the capabilities of any rollup jobs that have been configured for a specific index or index pattern.
Returns the capabilities of any rollup jobs that have been configured for a specific index or index pattern.
rollup/getrollupindexcaps
Returns the rollup capabilities of all jobs inside of a rollup index (for example, the index where rollup data is stored).
Returns the rollup capabilities of all jobs inside of a rollup index (for example, the index where rollup data is stored).
rollup/putjob
Creates a rollup job.
Creates a rollup job.
rollup/rollupsearch
Enables searching rolled-up data using the standard Query DSL.
Enables searching rolled-up data using the standard Query DSL.
rollup/startjob
Starts an existing, stopped rollup job.
Starts an existing, stopped rollup job.
rollup/stopjob
Stops an existing, started rollup job.
Stops an existing, started rollup job.
searchablesnapshots/cachestats
Retrieve node-level cache statistics about searchable snapshots.
Retrieve node-level cache statistics about searchable snapshots.
searchablesnapshots/clearcache
Clear the cache of searchable snapshots.
Clear the cache of searchable snapshots.
searchablesnapshots/mount
Mount a snapshot as a searchable index.
Mount a snapshot as a searchable index.
searchablesnapshots/stats
Retrieve shard-level statistics about searchable snapshots.
Retrieve shard-level statistics about searchable snapshots.
searchapplication/delete
Delete a search application.
Delete a search application.
searchapplication/deletebehavioralanalytics
Delete a behavioral analytics collection.
Delete a behavioral analytics collection.
searchapplication/get
Get search application details.
Get search application details.
searchapplication/getbehavioralanalytics
Get behavioral analytics collections.
Get behavioral analytics collections.
searchapplication/list
Returns the existing search applications.
Returns the existing search applications.
searchapplication/put
Create or update a search application.
Create or update a search application.
searchapplication/putbehavioralanalytics
Create a behavioral analytics collection.
Create a behavioral analytics collection.
searchapplication/search
Run a search application search.
Run a search application search.
security/activateuserprofile
Activate a user profile.
Activate a user profile.
security/authenticate
Authenticate a user.
Authenticate a user.
security/bulkdeleterole
Bulk delete roles.
Bulk delete roles.
security/bulkputrole
Bulk create or update roles.
Bulk create or update roles.
security/bulkupdateapikeys
Updates the attributes of multiple existing API keys.
Updates the attributes of multiple existing API keys.
security/changepassword
Change passwords.
Change passwords.
security/clearapikeycache
Clear the API key cache.
Clear the API key cache.
security/clearcachedprivileges
Clear the privileges cache.
Clear the privileges cache.
security/clearcachedrealms
Clear the user cache.
Clear the user cache.
security/clearcachedroles
Clear the roles cache.
Clear the roles cache.
security/clearcachedservicetokens
Clear service account token caches.
Clear service account token caches.
security/createapikey
Create an API key.
Create an API key.
security/createcrossclusterapikey
Create a cross-cluster API key.
Create a cross-cluster API key.
security/createservicetoken
Create a service account token.
Create a service account token.
security/deleteprivileges
Delete application privileges.
Delete application privileges.
security/deleterole
Delete roles.
Delete roles.
security/deleterolemapping
Delete role mappings.
Delete role mappings.
security/deleteservicetoken
Delete service account tokens.
Delete service account tokens.
security/deleteuser
Delete users.
Delete users.
security/disableuser
Disable users.
Disable users.
security/disableuserprofile
Disable a user profile.
Disable a user profile.
security/enableuser
Enable users.
Enable users.
security/enableuserprofile
Enable a user profile.
Enable a user profile.
security/enrollkibana
Enroll Kibana.
Enroll Kibana.
security/enrollnode
Enroll a node.
Enroll a node.
security/getapikey
Get API key information.
Get API key information.
security/getbuiltinprivileges
Get builtin privileges.
Get builtin privileges.
security/getprivileges
Get application privileges.
Get application privileges.
security/getrole
Get roles.
Get roles.
security/getrolemapping
Get role mappings.
Get role mappings.
security/getserviceaccounts
Get service accounts.
Get service accounts.
security/getservicecredentials
Get service account credentials.
Get service account credentials.
security/getsettings
Retrieve settings for the security system indices
Retrieve settings for the security system indices
security/gettoken
Get a token.
Get a token.
security/getuser
Get users.
Get users.
security/getuserprivileges
Get user privileges.
Get user privileges.
security/getuserprofile
Get a user profile.
Get a user profile.
security/grantapikey
Grant an API key.
Grant an API key.
security/hasprivileges
Check user privileges.
Check user privileges.
security/hasprivilegesuserprofile
Check user profile privileges.
Check user profile privileges.
security/invalidateapikey
Invalidate API keys.
Invalidate API keys.
security/invalidatetoken
Invalidate a token.
Invalidate a token.
security/oidcauthenticate
Exchanges an OpenID Connection authentication response message for an Elasticsearch access token and refresh token pair
Exchanges an OpenID Connection authentication response message for an Elasticsearch access token and refresh token pair
security/oidclogout
Invalidates a refresh token and access token that was generated from the OpenID Connect Authenticate API
Invalidates a refresh token and access token that was generated from the OpenID Connect Authenticate API
security/oidcprepareauthentication
Creates an OAuth 2.0 authentication request as a URL string
Creates an OAuth 2.0 authentication request as a URL string
security/putprivileges
Create or update application privileges.
Create or update application privileges.
security/putrole
Create or update roles.
Create or update roles.
security/putrolemapping
Create or update role mappings.
Create or update role mappings.
security/putuser
Create or update users.
Create or update users.
security/queryapikeys
Find API keys with a query.
Find API keys with a query.
security/queryrole
Find roles with a query.
Find roles with a query.
security/queryuser
Find users with a query.
Find users with a query.
security/samlauthenticate
Authenticate SAML.
Authenticate SAML.
security/samlcompletelogout
Logout of SAML completely.
Logout of SAML completely.
security/samlinvalidate
Invalidate SAML.
Invalidate SAML.
security/samllogout
Logout of SAML.
Logout of SAML.
security/samlprepareauthentication
Prepare SAML authentication.
Prepare SAML authentication.
security/samlserviceprovidermetadata
Create SAML service provider metadata.
Create SAML service provider metadata.
security/suggestuserprofiles
Suggest a user profile.
Suggest a user profile.
security/updateapikey
Update an API key.
Update an API key.
security/updatecrossclusterapikey
Update a cross-cluster API key.
Update a cross-cluster API key.
security/updatesettings
Update settings for the security system index
Update settings for the security system index
security/updateuserprofiledata
Update user profile data.
Update user profile data.
shutdown/deletenode
Removes a node from the shutdown list.
Removes a node from the shutdown list.
shutdown/getnode
Retrieve status of a node or nodes that are currently marked as shutting down.
Retrieve status of a node or nodes that are currently marked as shutting down.
shutdown/putnode
Adds a node to be shut down.
Adds a node to be shut down.
slm/deletelifecycle
Deletes an existing snapshot lifecycle policy.
Deletes an existing snapshot lifecycle policy.
slm/executelifecycle
Immediately creates a snapshot according to the lifecycle policy, without waiting for the scheduled time.
Immediately creates a snapshot according to the lifecycle policy, without waiting for the scheduled time.
slm/executeretention
Deletes any snapshots that are expired according to the policy's retention rules.
Deletes any snapshots that are expired according to the policy's retention rules.
slm/getlifecycle
Retrieves one or more snapshot lifecycle policy definitions and information about the latest snapshot attempts.
Retrieves one or more snapshot lifecycle policy definitions and information about the latest snapshot attempts.
slm/getstats
Returns global and policy-level statistics about actions taken by snapshot lifecycle management.
Returns global and policy-level statistics about actions taken by snapshot lifecycle management.
slm/getstatus
Retrieves the status of snapshot lifecycle management (SLM).
Retrieves the status of snapshot lifecycle management (SLM).
slm/putlifecycle
Creates or updates a snapshot lifecycle policy.
Creates or updates a snapshot lifecycle policy.
slm/start
Turns on snapshot lifecycle management (SLM).
Turns on snapshot lifecycle management (SLM).
slm/stop
Turns off snapshot lifecycle management (SLM).
Turns off snapshot lifecycle management (SLM).
snapshot/cleanuprepository
Triggers the review of a snapshot repository’s contents and deletes any stale data not referenced by existing snapshots.
Triggers the review of a snapshot repository’s contents and deletes any stale data not referenced by existing snapshots.
snapshot/clone
Clones indices from one snapshot into another snapshot in the same repository.
Clones indices from one snapshot into another snapshot in the same repository.
snapshot/create
Creates a snapshot in a repository.
Creates a snapshot in a repository.
snapshot/createrepository
Creates a repository.
Creates a repository.
snapshot/delete
Deletes one or more snapshots.
Deletes one or more snapshots.
snapshot/deleterepository
Deletes a repository.
Deletes a repository.
snapshot/get
Returns information about a snapshot.
Returns information about a snapshot.
snapshot/getrepository
Returns information about a repository.
Returns information about a repository.
snapshot/repositoryverifyintegrity
Verifies the integrity of the contents of a snapshot repository
Verifies the integrity of the contents of a snapshot repository
snapshot/restore
Restores a snapshot.
Restores a snapshot.
snapshot/status
Returns information about the status of a snapshot.
Returns information about the status of a snapshot.
snapshot/verifyrepository
Verifies a repository.
Verifies a repository.
some
Package some provides helpers to allow users to user inline pointers on primitive types for the TypedAPI.
Package some provides helpers to allow users to user inline pointers on primitive types for the TypedAPI.
sql/clearcursor
Clear an SQL search cursor.
Clear an SQL search cursor.
sql/deleteasync
Delete an async SQL search.
Delete an async SQL search.
sql/getasync
Get async SQL search results.
Get async SQL search results.
sql/getasyncstatus
Get the async SQL search status.
Get the async SQL search status.
sql/query
Get SQL search results.
Get SQL search results.
sql/translate
Translate SQL into Elasticsearch queries.
Translate SQL into Elasticsearch queries.
ssl/certificates
Get SSL certificates.
Get SSL certificates.
synonyms/deletesynonym
Delete a synonym set.
Delete a synonym set.
synonyms/deletesynonymrule
Delete a synonym rule.
Delete a synonym rule.
synonyms/getsynonym
Get a synonym set.
Get a synonym set.
synonyms/getsynonymrule
Get a synonym rule.
Get a synonym rule.
synonyms/getsynonymssets
Get all synonym sets.
Get all synonym sets.
synonyms/putsynonym
Create or update a synonym set.
Create or update a synonym set.
synonyms/putsynonymrule
Create or update a synonym rule.
Create or update a synonym rule.
tasks/cancel
Cancels a task, if it can be cancelled through an API.
Cancels a task, if it can be cancelled through an API.
tasks/get
Get task information.
Get task information.
tasks/list
The task management API returns information about tasks currently executing on one or more nodes in the cluster.
The task management API returns information about tasks currently executing on one or more nodes in the cluster.
textstructure/findfieldstructure
Finds the structure of a text field in an index.
Finds the structure of a text field in an index.
textstructure/findmessagestructure
Finds the structure of a list of messages.
Finds the structure of a list of messages.
textstructure/findstructure
Finds the structure of a text file.
Finds the structure of a text file.
textstructure/testgrokpattern
Tests a Grok pattern on some text.
Tests a Grok pattern on some text.
transform/deletetransform
Delete a transform.
Delete a transform.
transform/getnodestats
Retrieves transform usage information for transform nodes.
Retrieves transform usage information for transform nodes.
transform/gettransform
Get transforms.
Get transforms.
transform/gettransformstats
Get transform stats.
Get transform stats.
transform/previewtransform
Preview a transform.
Preview a transform.
transform/puttransform
Create a transform.
Create a transform.
transform/resettransform
Reset a transform.
Reset a transform.
transform/schedulenowtransform
Schedule a transform to start now.
Schedule a transform to start now.
transform/starttransform
Start a transform.
Start a transform.
transform/stoptransform
Stop transforms.
Stop transforms.
transform/updatetransform
Update a transform.
Update a transform.
transform/upgradetransforms
Upgrades all transforms.
Upgrades all transforms.
types/enums/accesstokengranttype
Package accesstokengranttype
Package accesstokengranttype
types/enums/acknowledgementoptions
Package acknowledgementoptions
Package acknowledgementoptions
types/enums/actionexecutionmode
Package actionexecutionmode
Package actionexecutionmode
types/enums/actionstatusoptions
Package actionstatusoptions
Package actionstatusoptions
types/enums/actiontype
Package actiontype
Package actiontype
types/enums/allocationexplaindecision
Package allocationexplaindecision
Package allocationexplaindecision
types/enums/apikeygranttype
Package apikeygranttype
Package apikeygranttype
types/enums/apikeytype
Package apikeytype
Package apikeytype
types/enums/appliesto
Package appliesto
Package appliesto
types/enums/boundaryscanner
Package boundaryscanner
Package boundaryscanner
types/enums/bytes
Package bytes
Package bytes
types/enums/calendarinterval
Package calendarinterval
Package calendarinterval
types/enums/cardinalityexecutionmode
Package cardinalityexecutionmode
Package cardinalityexecutionmode
types/enums/catanomalydetectorcolumn
Package catanomalydetectorcolumn
Package catanomalydetectorcolumn
types/enums/catdatafeedcolumn
Package catdatafeedcolumn
Package catdatafeedcolumn
types/enums/catdfacolumn
Package catdfacolumn
Package catdfacolumn
types/enums/categorizationstatus
Package categorizationstatus
Package categorizationstatus
types/enums/cattrainedmodelscolumn
Package cattrainedmodelscolumn
Package cattrainedmodelscolumn
types/enums/cattransformcolumn
Package cattransformcolumn
Package cattransformcolumn
types/enums/childscoremode
Package childscoremode
Package childscoremode
types/enums/chunkingmode
Package chunkingmode
Package chunkingmode
types/enums/clusterinfotarget
Package clusterinfotarget
Package clusterinfotarget
types/enums/clusterprivilege
Package clusterprivilege
Package clusterprivilege
types/enums/clustersearchstatus
Package clustersearchstatus
Package clustersearchstatus
types/enums/combinedfieldsoperator
Package combinedfieldsoperator
Package combinedfieldsoperator
types/enums/combinedfieldszeroterms
Package combinedfieldszeroterms
Package combinedfieldszeroterms
types/enums/conditionop
Package conditionop
Package conditionop
types/enums/conditionoperator
Package conditionoperator
Package conditionoperator
types/enums/conditiontype
Package conditiontype
Package conditiontype
types/enums/conflicts
Package conflicts
Package conflicts
types/enums/connectionscheme
Package connectionscheme
Package connectionscheme
types/enums/connectorfieldtype
Package connectorfieldtype
Package connectorfieldtype
types/enums/connectorstatus
Package connectorstatus
Package connectorstatus
types/enums/converttype
Package converttype
Package converttype
types/enums/dataattachmentformat
Package dataattachmentformat
Package dataattachmentformat
types/enums/datafeedstate
Package datafeedstate
Package datafeedstate
types/enums/dataframestate
Package dataframestate
Package dataframestate
types/enums/day
Package day
Package day
types/enums/decision
Package decision
Package decision
types/enums/delimitedpayloadencoding
Package delimitedpayloadencoding
Package delimitedpayloadencoding
types/enums/deploymentallocationstate
Package deploymentallocationstate
Package deploymentallocationstate
types/enums/deploymentassignmentstate
Package deploymentassignmentstate
Package deploymentassignmentstate
types/enums/deprecationlevel
Package deprecationlevel
Package deprecationlevel
types/enums/dfiindependencemeasure
Package dfiindependencemeasure
Package dfiindependencemeasure
types/enums/dfraftereffect
Package dfraftereffect
Package dfraftereffect
types/enums/dfrbasicmodel
Package dfrbasicmodel
Package dfrbasicmodel
types/enums/displaytype
Package displaytype
Package displaytype
types/enums/distanceunit
Package distanceunit
Package distanceunit
types/enums/dynamicmapping
Package dynamicmapping
Package dynamicmapping
types/enums/edgengramside
Package edgengramside
Package edgengramside
types/enums/emailpriority
Package emailpriority
Package emailpriority
types/enums/enrichpolicyphase
Package enrichpolicyphase
Package enrichpolicyphase
types/enums/esqlformat
Package esqlformat
Package esqlformat
types/enums/excludefrequent
Package excludefrequent
Package excludefrequent
types/enums/executionphase
Package executionphase
Package executionphase
types/enums/executionstatus
Package executionstatus
Package executionstatus
types/enums/expandwildcard
Package expandwildcard
Package expandwildcard
types/enums/feature
Package feature
Package feature
types/enums/fieldsortnumerictype
Package fieldsortnumerictype
Package fieldsortnumerictype
types/enums/fieldtype
Package fieldtype
Package fieldtype
types/enums/fieldvaluefactormodifier
Package fieldvaluefactormodifier
Package fieldvaluefactormodifier
types/enums/filteringpolicy
Package filteringpolicy
Package filteringpolicy
types/enums/filteringrulerule
Package filteringrulerule
Package filteringrulerule
types/enums/filteringvalidationstate
Package filteringvalidationstate
Package filteringvalidationstate
types/enums/filtertype
Package filtertype
Package filtertype
types/enums/fingerprintdigest
Package fingerprintdigest
Package fingerprintdigest
types/enums/followerindexstatus
Package followerindexstatus
Package followerindexstatus
types/enums/functionboostmode
Package functionboostmode
Package functionboostmode
types/enums/functionscoremode
Package functionscoremode
Package functionscoremode
types/enums/gappolicy
Package gappolicy
Package gappolicy
types/enums/geodistancetype
Package geodistancetype
Package geodistancetype
types/enums/geoexecution
Package geoexecution
Package geoexecution
types/enums/geogridtargetformat
Package geogridtargetformat
Package geogridtargetformat
types/enums/geogridtiletype
Package geogridtiletype
Package geogridtiletype
types/enums/geoorientation
Package geoorientation
Package geoorientation
types/enums/geoshaperelation
Package geoshaperelation
Package geoshaperelation
types/enums/geostrategy
Package geostrategy
Package geostrategy
types/enums/geovalidationmethod
Package geovalidationmethod
Package geovalidationmethod
types/enums/granttype
Package granttype
Package granttype
types/enums/gridaggregationtype
Package gridaggregationtype
Package gridaggregationtype
types/enums/gridtype
Package gridtype
Package gridtype
types/enums/groupby
Package groupby
Package groupby
types/enums/healthstatus
Package healthstatus
Package healthstatus
types/enums/highlighterencoder
Package highlighterencoder
Package highlighterencoder
types/enums/highlighterfragmenter
Package highlighterfragmenter
Package highlighterfragmenter
types/enums/highlighterorder
Package highlighterorder
Package highlighterorder
types/enums/highlightertagsschema
Package highlightertagsschema
Package highlightertagsschema
types/enums/highlightertype
Package highlightertype
Package highlightertype
types/enums/holtwinterstype
Package holtwinterstype
Package holtwinterstype
types/enums/httpinputmethod
Package httpinputmethod
Package httpinputmethod
types/enums/ibdistribution
Package ibdistribution
Package ibdistribution
types/enums/iblambda
Package iblambda
Package iblambda
types/enums/icucollationalternate
Package icucollationalternate
Package icucollationalternate
types/enums/icucollationcasefirst
Package icucollationcasefirst
Package icucollationcasefirst
types/enums/icucollationdecomposition
Package icucollationdecomposition
Package icucollationdecomposition
types/enums/icucollationstrength
Package icucollationstrength
Package icucollationstrength
types/enums/icunormalizationmode
Package icunormalizationmode
Package icunormalizationmode
types/enums/icunormalizationtype
Package icunormalizationtype
Package icunormalizationtype
types/enums/icutransformdirection
Package icutransformdirection
Package icutransformdirection
types/enums/impactarea
Package impactarea
Package impactarea
types/enums/include
Package include
Package include
types/enums/indexcheckonstartup
Package indexcheckonstartup
Package indexcheckonstartup
types/enums/indexingjobstate
Package indexingjobstate
Package indexingjobstate
types/enums/indexmetadatastate
Package indexmetadatastate
Package indexmetadatastate
types/enums/indexoptions
Package indexoptions
Package indexoptions
types/enums/indexprivilege
Package indexprivilege
Package indexprivilege
types/enums/indexroutingallocationoptions
Package indexroutingallocationoptions
Package indexroutingallocationoptions
types/enums/indexroutingrebalanceoptions
Package indexroutingrebalanceoptions
Package indexroutingrebalanceoptions
types/enums/indicatorhealthstatus
Package indicatorhealthstatus
Package indicatorhealthstatus
types/enums/indicesblockoptions
Package indicesblockoptions
Package indicesblockoptions
types/enums/inputtype
Package inputtype
Package inputtype
types/enums/jobblockedreason
Package jobblockedreason
Package jobblockedreason
types/enums/jobstate
Package jobstate
Package jobstate
types/enums/jsonprocessorconflictstrategy
Package jsonprocessorconflictstrategy
Package jsonprocessorconflictstrategy
types/enums/keeptypesmode
Package keeptypesmode
Package keeptypesmode
types/enums/kuromojitokenizationmode
Package kuromojitokenizationmode
Package kuromojitokenizationmode
types/enums/language
Package language
Package language
types/enums/level
Package level
Package level
types/enums/licensestatus
Package licensestatus
Package licensestatus
types/enums/licensetype
Package licensetype
Package licensetype
types/enums/lifecycleoperationmode
Package lifecycleoperationmode
Package lifecycleoperationmode
types/enums/managedby
Package managedby
Package managedby
types/enums/matchtype
Package matchtype
Package matchtype
types/enums/memorystatus
Package memorystatus
Package memorystatus
types/enums/metric
Package metric
Package metric
types/enums/migrationstatus
Package migrationstatus
Package migrationstatus
types/enums/minimuminterval
Package minimuminterval
Package minimuminterval
types/enums/missingorder
Package missingorder
Package missingorder
types/enums/month
Package month
Package month
types/enums/multivaluemode
Package multivaluemode
Package multivaluemode
types/enums/noderole
Package noderole
Package noderole
types/enums/noridecompoundmode
Package noridecompoundmode
Package noridecompoundmode
types/enums/normalization
Package normalization
Package normalization
types/enums/normalizemethod
Package normalizemethod
Package normalizemethod
types/enums/numericfielddataformat
Package numericfielddataformat
Package numericfielddataformat
types/enums/onscripterror
Package onscripterror
Package onscripterror
types/enums/operationtype
Package operationtype
Package operationtype
types/enums/operator
Package operator
Package operator
types/enums/optype
Package optype
Package optype
types/enums/pagerdutycontexttype
Package pagerdutycontexttype
Package pagerdutycontexttype
types/enums/pagerdutyeventtype
Package pagerdutyeventtype
Package pagerdutyeventtype
types/enums/phoneticencoder
Package phoneticencoder
Package phoneticencoder
types/enums/phoneticlanguage
Package phoneticlanguage
Package phoneticlanguage
types/enums/phoneticnametype
Package phoneticnametype
Package phoneticnametype
types/enums/phoneticruletype
Package phoneticruletype
Package phoneticruletype
types/enums/policytype
Package policytype
Package policytype
types/enums/quantifier
Package quantifier
Package quantifier
types/enums/queryrulecriteriatype
Package queryrulecriteriatype
Package queryrulecriteriatype
types/enums/queryruletype
Package queryruletype
Package queryruletype
types/enums/rangerelation
Package rangerelation
Package rangerelation
types/enums/ratemode
Package ratemode
Package ratemode
types/enums/refresh
Package refresh
Package refresh
types/enums/remoteclusterprivilege
Package remoteclusterprivilege
Package remoteclusterprivilege
types/enums/responsecontenttype
Package responsecontenttype
Package responsecontenttype
types/enums/restrictionworkflow
Package restrictionworkflow
Package restrictionworkflow
types/enums/result
Package result
Package result
types/enums/resultposition
Package resultposition
Package resultposition
types/enums/routingstate
Package routingstate
Package routingstate
types/enums/ruleaction
Package ruleaction
Package ruleaction
types/enums/runtimefieldtype
Package runtimefieldtype
Package runtimefieldtype
types/enums/sampleraggregationexecutionhint
Package sampleraggregationexecutionhint
Package sampleraggregationexecutionhint
types/enums/scoremode
Package scoremode
Package scoremode
types/enums/scriptlanguage
Package scriptlanguage
Package scriptlanguage
types/enums/scriptsorttype
Package scriptsorttype
Package scriptsorttype
types/enums/searchtype
Package searchtype
Package searchtype
types/enums/segmentsortmissing
Package segmentsortmissing
Package segmentsortmissing
types/enums/segmentsortmode
Package segmentsortmode
Package segmentsortmode
types/enums/segmentsortorder
Package segmentsortorder
Package segmentsortorder
types/enums/shapetype
Package shapetype
Package shapetype
types/enums/shardroutingstate
Package shardroutingstate
Package shardroutingstate
types/enums/shardsstatsstage
Package shardsstatsstage
Package shardsstatsstage
types/enums/shardstoreallocation
Package shardstoreallocation
Package shardstoreallocation
types/enums/shardstorestatus
Package shardstorestatus
Package shardstorestatus
types/enums/shutdownstatus
Package shutdownstatus
Package shutdownstatus
types/enums/shutdowntype
Package shutdowntype
Package shutdowntype
types/enums/simplequerystringflag
Package simplequerystringflag
Package simplequerystringflag
types/enums/slicescalculation
Package slicescalculation
Package slicescalculation
types/enums/snapshotsort
Package snapshotsort
Package snapshotsort
types/enums/snapshotupgradestate
Package snapshotupgradestate
Package snapshotupgradestate
types/enums/snowballlanguage
Package snowballlanguage
Package snowballlanguage
types/enums/sortmode
Package sortmode
Package sortmode
types/enums/sortorder
Package sortorder
Package sortorder
types/enums/sourcefieldmode
Package sourcefieldmode
Package sourcefieldmode
types/enums/sqlformat
Package sqlformat
Package sqlformat
types/enums/statslevel
Package statslevel
Package statslevel
types/enums/storagetype
Package storagetype
Package storagetype
types/enums/stringdistance
Package stringdistance
Package stringdistance
types/enums/suggestmode
Package suggestmode
Package suggestmode
types/enums/suggestsort
Package suggestsort
Package suggestsort
types/enums/syncjobtriggermethod
Package syncjobtriggermethod
Package syncjobtriggermethod
types/enums/syncjobtype
Package syncjobtype
Package syncjobtype
types/enums/syncstatus
Package syncstatus
Package syncstatus
types/enums/synonymformat
Package synonymformat
Package synonymformat
types/enums/tasktype
Package tasktype
Package tasktype
types/enums/templateformat
Package templateformat
Package templateformat
types/enums/termsaggregationcollectmode
Package termsaggregationcollectmode
Package termsaggregationcollectmode
types/enums/termsaggregationexecutionhint
Package termsaggregationexecutionhint
Package termsaggregationexecutionhint
types/enums/termvectoroption
Package termvectoroption
Package termvectoroption
types/enums/textquerytype
Package textquerytype
Package textquerytype
types/enums/threadtype
Package threadtype
Package threadtype
types/enums/timeseriesmetrictype
Package timeseriesmetrictype
Package timeseriesmetrictype
types/enums/timeunit
Package timeunit
Package timeunit
types/enums/tokenchar
Package tokenchar
Package tokenchar
types/enums/tokenizationtruncate
Package tokenizationtruncate
Package tokenizationtruncate
types/enums/totalhitsrelation
Package totalhitsrelation
Package totalhitsrelation
types/enums/trainedmodeltype
Package trainedmodeltype
Package trainedmodeltype
types/enums/trainingpriority
Package trainingpriority
Package trainingpriority
types/enums/translogdurability
Package translogdurability
Package translogdurability
types/enums/ttesttype
Package ttesttype
Package ttesttype
types/enums/type_
Package type_
Package type_
types/enums/unassignedinformationreason
Package unassignedinformationreason
Package unassignedinformationreason
types/enums/useragentproperty
Package useragentproperty
Package useragentproperty
types/enums/valuetype
Package valuetype
Package valuetype
types/enums/versiontype
Package versiontype
Package versiontype
types/enums/waitforactiveshardoptions
Package waitforactiveshardoptions
Package waitforactiveshardoptions
types/enums/waitforevents
Package waitforevents
Package waitforevents
types/enums/watchermetric
Package watchermetric
Package watchermetric
types/enums/watcherstate
Package watcherstate
Package watcherstate
types/enums/xpackcategory
Package xpackcategory
Package xpackcategory
types/enums/zerotermsquery
Package zerotermsquery
Package zerotermsquery
watcher/ackwatch
Acknowledges a watch, manually throttling the execution of the watch's actions.
Acknowledges a watch, manually throttling the execution of the watch's actions.
watcher/activatewatch
Activates a currently inactive watch.
Activates a currently inactive watch.
watcher/deactivatewatch
Deactivates a currently active watch.
Deactivates a currently active watch.
watcher/deletewatch
Removes a watch from Watcher.
Removes a watch from Watcher.
watcher/executewatch
This API can be used to force execution of the watch outside of its triggering logic or to simulate the watch execution for debugging purposes.
This API can be used to force execution of the watch outside of its triggering logic or to simulate the watch execution for debugging purposes.
watcher/getsettings
Retrieve settings for the watcher system index
Retrieve settings for the watcher system index
watcher/getwatch
Retrieves a watch by its ID.
Retrieves a watch by its ID.
watcher/putwatch
Creates a new watch, or updates an existing one.
Creates a new watch, or updates an existing one.
watcher/querywatches
Retrieves stored watches.
Retrieves stored watches.
watcher/start
Starts Watcher if it is not already running.
Starts Watcher if it is not already running.
watcher/stats
Retrieves the current Watcher metrics.
Retrieves the current Watcher metrics.
watcher/stop
Stops Watcher if it is running.
Stops Watcher if it is running.
watcher/updatesettings
Update settings for the watcher system index
Update settings for the watcher system index
xpack/info
Provides general information about the installed X-Pack features.
Provides general information about the installed X-Pack features.
xpack/usage
This API provides information about which features are currently enabled and available under the current license and some usage statistics.
This API provides information about which features are currently enabled and available under the current license and some usage statistics.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL