elasticsearch

package module
v0.0.0-...-b05df2b Latest Latest
Warning

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

Go to latest
Published: Jul 30, 2024 License: Apache-2.0 Imports: 18 Imported by: 0

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

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

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

BaseClient represents the Elasticsearch client.

func (*BaseClient) DiscoverNodes

func (c *BaseClient) DiscoverNodes() error

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

func (*BaseClient) InstrumentationEnabled

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

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

func (*BaseClient) Metrics

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

Metrics returns the client metrics.

func (*BaseClient) Perform

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

type TypedClient struct {
	BaseClient
	*typedapi.API
}

TypedClient represents the Typed API.

func NewTypedClient

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
Deletes an async search by identifier.
Deletes an async search by identifier.
asyncsearch/get
Retrieves the results of a previously submitted async search request given its identifier.
Retrieves the results of a previously submitted async search request given its identifier.
asyncsearch/status
Get async search status Retrieves the status of a previously submitted async search request given its identifier, without retrieving search results.
Get async search status Retrieves the status of a previously submitted async search request given its identifier, without retrieving search results.
asyncsearch/submit
Runs a search request asynchronously.
Runs a search request asynchronously.
autoscaling/deleteautoscalingpolicy
Deletes an autoscaling policy.
Deletes an autoscaling policy.
autoscaling/getautoscalingcapacity
Gets the current autoscaling capacity based on the configured autoscaling policy.
Gets the current autoscaling capacity based on the configured autoscaling policy.
autoscaling/getautoscalingpolicy
Retrieves an autoscaling policy.
Retrieves an autoscaling policy.
autoscaling/putautoscalingpolicy
Creates a new autoscaling policy.
Creates a new 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
Retrieves the cluster’s index aliases, including filter and routing information.
Retrieves the cluster’s index aliases, including filter and routing information.
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
Returns information about component templates in a cluster.
Returns information about component templates in a cluster.
cat/count
Provides quick access to a document count for a data stream, an index, or an entire cluster.
Provides quick access to a document count for a data stream, an index, or an entire cluster.
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
Returns help for the Cat APIs.
Returns help for the Cat APIs.
cat/indices
Returns high-level information about indices in a cluster, including backing indices for data streams.
Returns high-level information about indices in a cluster, including backing indices for data streams.
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
Returns configuration and usage information about datafeeds.
Returns configuration and usage information about datafeeds.
cat/mldataframeanalytics
Returns configuration and usage information about data frame analytics jobs.
Returns configuration and usage information about data frame analytics jobs.
cat/mljobs
Returns configuration and usage information for anomaly detection jobs.
Returns configuration and usage information for anomaly detection jobs.
cat/mltrainedmodels
Returns configuration and usage information about inference trained models.
Returns configuration and usage information about inference 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
Returns configuration and usage information about transforms.
Returns configuration and usage information about transforms.
ccr/deleteautofollowpattern
Deletes auto-follow patterns.
Deletes auto-follow patterns.
ccr/follow
Creates a new follower index configured to follow the referenced leader index.
Creates a new follower index configured to follow the referenced leader index.
ccr/followinfo
Retrieves information about all follower indices, including parameters and status for each follower index
Retrieves information about all follower indices, including parameters and status for each follower index
ccr/followstats
Retrieves follower stats.
Retrieves follower stats.
ccr/forgetfollower
Removes the follower retention leases from the leader.
Removes the follower retention leases from the leader.
ccr/getautofollowpattern
Gets configured auto-follow patterns.
Gets configured auto-follow patterns.
ccr/pauseautofollowpattern
Pauses an auto-follow pattern
Pauses an auto-follow pattern
ccr/pausefollow
Pauses a follower index.
Pauses a follower index.
ccr/putautofollowpattern
Creates a new named collection of auto-follow patterns against a specified remote cluster.
Creates a new named collection of auto-follow patterns against a specified remote cluster.
ccr/resumeautofollowpattern
Resumes an auto-follow pattern that has been paused
Resumes an auto-follow pattern that has been paused
ccr/resumefollow
Resumes a follower index that has been paused
Resumes a follower index that has been paused
ccr/stats
Gets all stats related to cross-cluster replication.
Gets all stats related to cross-cluster replication.
ccr/unfollow
Stops the following task associated with a follower index and removes index metadata and settings associated with cross-cluster replication.
Stops the following task associated with a follower index and removes index metadata and settings associated with cross-cluster replication.
cluster/allocationexplain
Provides explanations for shard allocations in the cluster.
Provides explanations for shard allocations in the cluster.
cluster/deletecomponenttemplate
Deletes component templates.
Deletes component templates.
cluster/deletevotingconfigexclusions
Clears cluster voting config exclusions.
Clears cluster voting config exclusions.
cluster/existscomponenttemplate
Returns information about whether a particular component template exist
Returns information about whether a particular component template exist
cluster/getcomponenttemplate
Retrieves information about component templates.
Retrieves information about component templates.
cluster/getsettings
Returns cluster-wide settings.
Returns cluster-wide settings.
cluster/health
The cluster health API returns a simple status on the health of the cluster.
The cluster health API returns a simple status on the health of the cluster.
cluster/info
Returns different information about the cluster.
Returns different information about the cluster.
cluster/pendingtasks
Returns cluster-level changes (such as create index, update mapping, allocate or fail shard) that have not yet been executed.
Returns cluster-level changes (such as create index, update mapping, allocate or fail shard) that have not yet been executed.
cluster/postvotingconfigexclusions
Updates the cluster voting config exclusions by node ids or node names.
Updates the cluster voting config exclusions by node ids or node names.
cluster/putcomponenttemplate
Creates or updates a component template.
Creates or updates a component template.
cluster/putsettings
Updates the cluster settings.
Updates the cluster settings.
cluster/remoteinfo
The cluster remote info API allows you to retrieve all of the configured remote cluster information.
The cluster remote info API allows you to retrieve all of the configured remote cluster information.
cluster/reroute
Allows to manually change the allocation of individual shards in the cluster.
Allows to manually change the allocation of individual shards in the cluster.
cluster/state
Returns a comprehensive information about the state of the cluster.
Returns a comprehensive information about the state of the cluster.
cluster/stats
Returns cluster statistics.
Returns cluster statistics.
core/bulk
Performs multiple indexing or delete operations in a single API call.
Performs multiple indexing or delete operations in a single API call.
core/clearscroll
Clears the search context and results for a scrolling search.
Clears the search context and results for a scrolling search.
core/closepointintime
Closes a point-in-time.
Closes a point-in-time.
core/count
Returns number of documents matching a query.
Returns number of documents matching a query.
core/create
Adds a JSON document to the specified data stream or index and makes it searchable.
Adds a JSON document to the specified data stream or index and makes it searchable.
core/delete
Removes a JSON document from the specified index.
Removes a JSON document from the specified index.
core/deletebyquery
Deletes documents that match the specified query.
Deletes documents that match the specified query.
core/deletebyqueryrethrottle
Changes the number of requests per second for a particular Delete By Query operation.
Changes the number of requests per second for a particular Delete By Query operation.
core/deletescript
Deletes a stored script or search template.
Deletes a stored script or search template.
core/exists
Checks if a document in an index exists.
Checks if a document in an index exists.
core/existssource
Checks if a document's `_source` is stored.
Checks if a document's `_source` is stored.
core/explain
Returns information about why a specific document matches (or doesn’t match) a query.
Returns information about why a specific document matches (or doesn’t match) a query.
core/fieldcaps
The field capabilities API returns the information about the capabilities of fields among multiple indices.
The field capabilities API returns the information about the capabilities of fields among multiple indices.
core/get
Returns a document.
Returns a document.
core/getscript
Retrieves a stored script or search template.
Retrieves a stored script or search template.
core/getscriptcontext
Returns all script contexts.
Returns all script contexts.
core/getscriptlanguages
Returns available script types, languages and contexts
Returns available script types, languages and contexts
core/getsource
Returns the source of a document.
Returns the source of a document.
core/healthreport
Returns the health of the cluster.
Returns the health of the cluster.
core/index
Adds a JSON document to the specified data stream or index and makes it searchable.
Adds a JSON document to the specified data stream or index and makes it searchable.
core/info
Returns basic information about the cluster.
Returns basic information about the cluster.
core/knnsearch
Performs a kNN search.
Performs a kNN search.
core/mget
Allows to get multiple documents in one request.
Allows to get multiple documents in one request.
core/msearch
Allows to execute several search operations in one request.
Allows to execute several search operations in one request.
core/msearchtemplate
Runs multiple templated searches with a single request.
Runs multiple templated searches with a single request.
core/mtermvectors
Returns multiple termvectors in one request.
Returns multiple termvectors in one request.
core/openpointintime
A search request by default executes against the most recent visible data of the target indices, which is called point in time.
A search request by default executes against the most recent visible data of the target indices, which is called point in time.
core/ping
Returns whether the cluster is running.
Returns whether the cluster is running.
core/putscript
Creates or updates a stored script or search template.
Creates or updates a stored script or search template.
core/rankeval
Enables you to evaluate the quality of ranked search results over a set of typical search queries.
Enables you to evaluate the quality of ranked search results over a set of typical search queries.
core/reindex
Allows to copy documents from one index to another, optionally filtering the source documents by a query, changing the destination index settings, or fetching the documents from a remote cluster.
Allows to copy documents from one index to another, optionally filtering the source documents by a query, changing the destination index settings, or fetching the documents from a remote cluster.
core/reindexrethrottle
Copies documents from a source to a destination.
Copies documents from a source to a destination.
core/rendersearchtemplate
Renders a search template as a search request body.
Renders a search template as a search request body.
core/scriptspainlessexecute
Runs a script and returns a result.
Runs a script and returns a result.
core/scroll
Allows to retrieve a large numbers of results from a single search request.
Allows to retrieve a large numbers of results from a single search request.
core/search
Returns search hits that match the query defined in the request.
Returns search hits that match the query defined in the request.
core/searchmvt
Searches a vector tile for geospatial values.
Searches a vector tile for geospatial values.
core/searchshards
Returns information about the indices and shards that a search request would be executed against.
Returns information about the indices and shards that a search request would be executed against.
core/searchtemplate
Runs a search with a search template.
Runs a search with a search template.
core/termsenum
The terms enum API can be used to discover terms in the index that begin with the provided string.
The terms enum API can be used to discover terms in the index that begin with the provided string.
core/termvectors
Returns information and statistics about terms in the fields of a particular document.
Returns information and statistics about terms in the fields of a particular document.
core/update
Updates a document with a script or partial document.
Updates a document with a script or partial document.
core/updatebyquery
Updates documents that match the specified query.
Updates documents that match the specified query.
core/updatebyqueryrethrottle
Changes the number of requests per second for a particular Update By Query operation.
Changes the number of requests per second for a particular Update By Query operation.
danglingindices/deletedanglingindex
Deletes the specified dangling index
Deletes the specified dangling index
danglingindices/importdanglingindex
Imports the specified dangling index
Imports the specified dangling index
danglingindices/listdanglingindices
Returns all dangling indices.
Returns all dangling indices.
enrich/deletepolicy
Deletes an existing enrich policy and its enrich index.
Deletes an existing enrich policy and its enrich index.
enrich/executepolicy
Creates the enrich index for an existing enrich policy.
Creates the enrich index for an existing enrich policy.
enrich/getpolicy
Returns information about an enrich policy.
Returns information about an enrich policy.
enrich/putpolicy
Creates an enrich policy.
Creates an enrich policy.
enrich/stats
Returns enrich coordinator statistics and information about enrich policies that are currently executing.
Returns enrich coordinator statistics and information about enrich policies that are currently executing.
eql/delete
Deletes an async EQL search or a stored synchronous EQL search.
Deletes an async EQL search or a stored synchronous EQL search.
eql/get
Returns the current status and available results for an async EQL search or a stored synchronous EQL search.
Returns the current status and available results for an async EQL search or a stored synchronous EQL search.
eql/getstatus
Returns the current status for an async EQL search or a stored synchronous EQL search without returning results.
Returns the current status for an async EQL search or a stored synchronous EQL search without returning results.
eql/search
Returns results matching a query expressed in Event Query Language (EQL)
Returns results matching a query expressed in Event Query Language (EQL)
esql/asyncquery
Executes an ESQL request asynchronously
Executes an ESQL request asynchronously
esql/query
Executes an ES|QL request
Executes an ES|QL request
features/getfeatures
Gets a list of features which can be included in snapshots using the feature_states field when creating a snapshot
Gets a list of features which can be included in snapshots using the feature_states field when creating a snapshot
features/resetfeatures
Resets the internal state of features, usually by deleting system indices
Resets the internal state of features, usually by deleting system indices
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
Extracts and summarizes information about the documents and terms in an Elasticsearch data stream or index.
Extracts and summarizes information about the documents and terms in an Elasticsearch data stream or index.
ilm/deletelifecycle
Deletes the specified lifecycle policy definition.
Deletes the specified lifecycle policy definition.
ilm/explainlifecycle
Retrieves information about the index’s current lifecycle state, such as the currently executing phase, action, and step.
Retrieves information about the index’s current lifecycle state, such as the currently executing phase, action, and step.
ilm/getlifecycle
Retrieves a lifecycle policy.
Retrieves a lifecycle policy.
ilm/getstatus
Retrieves the current index lifecycle management (ILM) status.
Retrieves the current index lifecycle management (ILM) status.
ilm/migratetodatatiers
Switches the indices, ILM policies, and legacy, composable and component templates from using custom node attributes and attribute-based allocation filters to using data tiers, and optionally deletes one legacy index template.+ Using node roles enables ILM to automatically move the indices between data tiers.
Switches the indices, ILM policies, and legacy, composable and component templates from using custom node attributes and attribute-based allocation filters to using data tiers, and optionally deletes one legacy index template.+ Using node roles enables ILM to automatically move the indices between data tiers.
ilm/movetostep
Manually moves an index into the specified step and executes that step.
Manually moves an index into the specified step and executes that step.
ilm/putlifecycle
Creates a lifecycle policy.
Creates a lifecycle policy.
ilm/removepolicy
Removes the assigned lifecycle policy and stops managing the specified index
Removes the assigned lifecycle policy and stops managing the specified index
ilm/retry
Retries executing the policy for an index that is in the ERROR step.
Retries executing the policy for an index that is in the ERROR step.
ilm/start
Start the index lifecycle management (ILM) plugin.
Start the index lifecycle management (ILM) plugin.
ilm/stop
Halts all lifecycle management operations and stops the index lifecycle management (ILM) plugin
Halts all lifecycle management operations and stops the index lifecycle management (ILM) plugin
indices/addblock
Adds a block to an index.
Adds a block to an index.
indices/analyze
Performs analysis on a text string and returns the resulting tokens.
Performs analysis on a text string and returns the resulting tokens.
indices/clearcache
Clears the caches of one or more indices.
Clears the caches of one or more indices.
indices/clone
Clones an existing index.
Clones an existing index.
indices/close
Closes an index.
Closes an index.
indices/create
Creates a new index.
Creates a new index.
indices/createdatastream
Creates a data stream.
Creates a data stream.
indices/datastreamsstats
Retrieves statistics for one or more data streams.
Retrieves statistics for one or more data streams.
indices/delete
Deletes one or more indices.
Deletes one or more indices.
indices/deletealias
Removes a data stream or index from an alias.
Removes a data stream or index from an alias.
indices/deletedatalifecycle
Removes the data lifecycle from a data stream rendering it not managed by the data stream lifecycle
Removes the data lifecycle from a data stream rendering it not managed by the data stream lifecycle
indices/deletedatastream
Deletes one or more data streams and their backing indices.
Deletes one or more data streams and their backing indices.
indices/deleteindextemplate
Delete an index template.
Delete an index template.
indices/deletetemplate
Deletes a legacy index template.
Deletes a legacy index template.
indices/diskusage
Analyzes the disk usage of each field of an index or data stream.
Analyzes the disk usage of each field of an index or data stream.
indices/downsample
Aggregates a time series (TSDS) index and stores pre-computed statistical summaries (`min`, `max`, `sum`, `value_count` and `avg`) for each metric field grouped by a configured time interval.
Aggregates a time series (TSDS) index and stores pre-computed statistical summaries (`min`, `max`, `sum`, `value_count` and `avg`) for each metric field grouped by a configured time interval.
indices/exists
Checks if a data stream, index, or alias exists.
Checks if a data stream, index, or alias exists.
indices/existsalias
Checks if an alias exists.
Checks if an alias exists.
indices/existsindextemplate
Returns information about whether a particular index template exists.
Returns information about whether a particular index template exists.
indices/existstemplate
Check existence of index templates.
Check existence of index templates.
indices/explaindatalifecycle
Retrieves information about the index's current data stream lifecycle, such as any potential encountered error, time since creation etc.
Retrieves information about the index's current data stream lifecycle, such as any potential encountered error, time since creation etc.
indices/fieldusagestats
Returns field usage information for each shard and field of an index.
Returns field usage information for each shard and field of an index.
indices/flush
Flushes one or more data streams or indices.
Flushes one or more data streams or indices.
indices/forcemerge
Performs the force merge operation on one or more indices.
Performs the force merge operation on one or more indices.
indices/get
Returns information about one or more indices.
Returns information about one or more indices.
indices/getalias
Retrieves information for one or more aliases.
Retrieves information for one or more aliases.
indices/getdatalifecycle
Retrieves the data stream lifecycle configuration of one or more data streams.
Retrieves the data stream lifecycle configuration of one or more data streams.
indices/getdatastream
Retrieves information about one or more data streams.
Retrieves information about one or more data streams.
indices/getfieldmapping
Retrieves mapping definitions for one or more fields.
Retrieves mapping definitions for one or more fields.
indices/getindextemplate
Get index templates.
Get index templates.
indices/getmapping
Retrieves mapping definitions for one or more indices.
Retrieves mapping definitions for one or more indices.
indices/getsettings
Returns setting information for one or more indices.
Returns setting information for one or more indices.
indices/gettemplate
Get index templates.
Get index templates.
indices/migratetodatastream
Converts an index alias to a data stream.
Converts an index alias to a data stream.
indices/modifydatastream
Performs one or more data stream modification actions in a single atomic operation.
Performs one or more data stream modification actions in a single atomic operation.
indices/open
Opens a closed index.
Opens a closed index.
indices/promotedatastream
Promotes a data stream from a replicated data stream managed by CCR to a regular data stream
Promotes a data stream from a replicated data stream managed by CCR to a regular data stream
indices/putalias
Adds a data stream or index to an alias.
Adds a data stream or index to an alias.
indices/putdatalifecycle
Update the data lifecycle of the specified data streams.
Update the data lifecycle of the specified data streams.
indices/putindextemplate
Create or update an index template.
Create or update an index template.
indices/putmapping
Adds new fields to an existing data stream or index.
Adds new fields to an existing data stream or index.
indices/putsettings
Changes a dynamic index setting in real time.
Changes a dynamic index setting in real time.
indices/puttemplate
Create or update an index template.
Create or update an index template.
indices/recovery
Returns information about ongoing and completed shard recoveries for one or more indices.
Returns information about ongoing and completed shard recoveries for one or more indices.
indices/refresh
A refresh makes recent operations performed on one or more indices available for search.
A refresh makes recent operations performed on one or more indices available for search.
indices/reloadsearchanalyzers
Reloads an index's search analyzers and their resources.
Reloads an index's search analyzers and their resources.
indices/resolvecluster
Resolves the specified index expressions to return information about each cluster, including the local cluster, if included.
Resolves the specified index expressions to return information about each cluster, including the local cluster, if included.
indices/resolveindex
Resolves the specified name(s) and/or index patterns for indices, aliases, and data streams.
Resolves the specified name(s) and/or index patterns for indices, aliases, and data streams.
indices/rollover
Creates a new index for a data stream or index alias.
Creates a new index for a data stream or index alias.
indices/segments
Returns low-level information about the Lucene segments in index shards.
Returns low-level information about the Lucene segments in index shards.
indices/shardstores
Retrieves store information about replica shards in one or more indices.
Retrieves store information about replica shards in one or more indices.
indices/shrink
Shrinks an existing index into a new index with fewer primary shards.
Shrinks an existing index into a new index with fewer primary shards.
indices/simulateindextemplate
Simulate an index.
Simulate an index.
indices/simulatetemplate
Simulate an index template.
Simulate an index template.
indices/split
Splits an existing index into a new index with more primary shards.
Splits an existing index into a new index with more primary shards.
indices/stats
Returns statistics for one or more indices.
Returns statistics for one or more indices.
indices/unfreeze
Unfreezes an index.
Unfreezes an index.
indices/updatealiases
Adds a data stream or index to an alias.
Adds a data stream or index to an alias.
indices/validatequery
Validates a potentially expensive query without executing it.
Validates a potentially expensive query without executing it.
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/deletepipeline
Deletes one or more existing ingest pipeline.
Deletes one or more existing ingest pipeline.
ingest/geoipstats
Gets download statistics for GeoIP2 databases used with the geoip processor.
Gets download statistics for GeoIP2 databases used with the geoip processor.
ingest/getpipeline
Returns information about one or more ingest pipelines.
Returns information about one or more ingest pipelines.
ingest/processorgrok
Extracts structured fields out of a single text field within a document.
Extracts structured fields out of a single text field within a document.
ingest/putpipeline
Creates or updates an ingest pipeline.
Creates or updates an ingest pipeline.
ingest/simulate
Executes an ingest pipeline against a set of provided documents.
Executes an ingest pipeline against a set of provided documents.
license/delete
Deletes licensing information for the cluster
Deletes licensing information for the cluster
license/get
This API returns information about the type of license, when it was issued, and when it expires, for example.
This API returns information about the type of license, when it was issued, and when it expires, for example.
license/getbasicstatus
Retrieves information about the status of the basic license.
Retrieves information about the status of the basic license.
license/gettrialstatus
Retrieves information about the status of the trial license.
Retrieves information about the status of the trial license.
license/post
Updates the license for the cluster.
Updates the license for the cluster.
license/poststartbasic
The start basic API enables you to initiate an indefinite basic license, which gives access to all the basic features.
The start basic API enables you to initiate an indefinite basic license, which gives access to all the basic features.
license/poststarttrial
The start trial API enables you to start a 30-day trial, which gives access to all subscription features.
The start trial API enables you to start a 30-day trial, which gives access to all subscription features.
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
Clears a trained model deployment cache on all nodes where the trained model is assigned.
Clears a trained model deployment cache on all nodes where the trained model is assigned.
ml/closejob
Close anomaly detection jobs A job can be opened and closed multiple times throughout its lifecycle.
Close anomaly detection jobs A job can be opened and closed multiple times throughout its lifecycle.
ml/deletecalendar
Removes all scheduled events from a calendar, then deletes it.
Removes all scheduled events from a calendar, then deletes it.
ml/deletecalendarevent
Deletes scheduled events from a calendar.
Deletes scheduled events from a calendar.
ml/deletecalendarjob
Deletes anomaly detection jobs from a calendar.
Deletes anomaly detection jobs from a calendar.
ml/deletedatafeed
Deletes an existing datafeed.
Deletes an existing datafeed.
ml/deletedataframeanalytics
Deletes a data frame analytics job.
Deletes a data frame analytics job.
ml/deleteexpireddata
Deletes expired and unused machine learning data.
Deletes expired and unused machine learning data.
ml/deletefilter
Deletes a filter.
Deletes a filter.
ml/deleteforecast
Deletes forecasts from a machine learning job.
Deletes forecasts from a machine learning job.
ml/deletejob
Deletes an anomaly detection job.
Deletes an anomaly detection job.
ml/deletemodelsnapshot
Deletes an existing model snapshot.
Deletes an existing model snapshot.
ml/deletetrainedmodel
Deletes an existing trained inference model that is currently not referenced by an ingest pipeline.
Deletes an existing trained inference model that is currently not referenced by an ingest pipeline.
ml/deletetrainedmodelalias
Deletes a trained model alias.
Deletes a trained model alias.
ml/estimatemodelmemory
Makes an estimation of the memory usage for an anomaly detection job model.
Makes an estimation of the memory usage for an anomaly detection job model.
ml/evaluatedataframe
Evaluates the data frame analytics for an annotated index.
Evaluates the data frame analytics for an annotated index.
ml/explaindataframeanalytics
Explains a data frame analytics config.
Explains a data frame analytics config.
ml/flushjob
Forces any buffered data to be processed by the job.
Forces any buffered data to be processed by the job.
ml/forecast
Predicts the future behavior of a time series by using its historical behavior.
Predicts the future behavior of a time series by using its historical behavior.
ml/getbuckets
Retrieves anomaly detection job results for one or more buckets.
Retrieves anomaly detection job results for one or more buckets.
ml/getcalendarevents
Retrieves information about the scheduled events in calendars.
Retrieves information about the scheduled events in calendars.
ml/getcalendars
Retrieves configuration information for calendars.
Retrieves configuration information for calendars.
ml/getcategories
Retrieves anomaly detection job results for one or more categories.
Retrieves anomaly detection job results for one or more categories.
ml/getdatafeeds
Retrieves configuration information for datafeeds.
Retrieves configuration information for datafeeds.
ml/getdatafeedstats
Retrieves usage information for datafeeds.
Retrieves usage information for datafeeds.
ml/getdataframeanalytics
Retrieves configuration information for data frame analytics jobs.
Retrieves configuration information for data frame analytics jobs.
ml/getdataframeanalyticsstats
Retrieves usage information for data frame analytics jobs.
Retrieves usage information for data frame analytics jobs.
ml/getfilters
Retrieves filters.
Retrieves filters.
ml/getinfluencers
Retrieves anomaly detection job results for one or more influencers.
Retrieves anomaly detection job results for one or more influencers.
ml/getjobs
Retrieves configuration information for anomaly detection jobs.
Retrieves configuration information for anomaly detection jobs.
ml/getjobstats
Retrieves usage information for anomaly detection jobs.
Retrieves usage information for anomaly detection jobs.
ml/getmemorystats
Get information about how machine learning jobs and trained models are using memory, on each node, both within the JVM heap, and natively, outside of the JVM.
Get information about how machine learning jobs and trained models are using memory, on each node, both within the JVM heap, and natively, outside of the JVM.
ml/getmodelsnapshots
Retrieves information about model snapshots.
Retrieves information about model snapshots.
ml/getmodelsnapshotupgradestats
Retrieves usage information for anomaly detection job model snapshot upgrades.
Retrieves usage information for anomaly detection job model snapshot upgrades.
ml/getoverallbuckets
Retrieves overall bucket results that summarize the bucket results of multiple anomaly detection jobs.
Retrieves overall bucket results that summarize the bucket results of multiple anomaly detection jobs.
ml/getrecords
Retrieves anomaly records for an anomaly detection job.
Retrieves anomaly records for an anomaly detection job.
ml/gettrainedmodels
Retrieves configuration information for a trained model.
Retrieves configuration information for a trained model.
ml/gettrainedmodelsstats
Retrieves usage information for trained models.
Retrieves usage information for trained models.
ml/infertrainedmodel
Evaluates a trained model.
Evaluates a trained model.
ml/info
Returns defaults and limits used by machine learning.
Returns defaults and limits used by machine learning.
ml/openjob
Opens one or more anomaly detection jobs.
Opens one or more anomaly detection jobs.
ml/postcalendarevents
Adds scheduled events to a calendar.
Adds scheduled events to a calendar.
ml/postdata
Sends data to an anomaly detection job for analysis.
Sends data to an anomaly detection job for analysis.
ml/previewdatafeed
Previews a datafeed.
Previews a datafeed.
ml/previewdataframeanalytics
Previews the extracted features used by a data frame analytics config.
Previews the extracted features used by a data frame analytics config.
ml/putcalendar
Creates a calendar.
Creates a calendar.
ml/putcalendarjob
Adds an anomaly detection job to a calendar.
Adds an anomaly detection job to a calendar.
ml/putdatafeed
Instantiates a datafeed.
Instantiates a datafeed.
ml/putdataframeanalytics
Instantiates a data frame analytics job.
Instantiates a data frame analytics job.
ml/putfilter
Instantiates a filter.
Instantiates a filter.
ml/putjob
Instantiates an anomaly detection job.
Instantiates an anomaly detection job.
ml/puttrainedmodel
Enables you to supply a trained model that is not created by data frame analytics.
Enables you to supply a trained model that is not created by data frame analytics.
ml/puttrainedmodelalias
Creates or updates a trained model alias.
Creates or updates a trained model alias.
ml/puttrainedmodeldefinitionpart
Creates part of a trained model definition.
Creates part of a trained model definition.
ml/puttrainedmodelvocabulary
Creates a trained model vocabulary.
Creates a trained model vocabulary.
ml/resetjob
Resets an anomaly detection job.
Resets an anomaly detection job.
ml/revertmodelsnapshot
Reverts to a specific snapshot.
Reverts to a specific snapshot.
ml/setupgrademode
Sets a cluster wide upgrade_mode setting that prepares machine learning indices for an upgrade.
Sets a cluster wide upgrade_mode setting that prepares machine learning indices for an upgrade.
ml/startdatafeed
Starts one or more datafeeds.
Starts one or more datafeeds.
ml/startdataframeanalytics
Starts a data frame analytics job.
Starts a data frame analytics job.
ml/starttrainedmodeldeployment
Starts a trained model deployment, which allocates the model to every machine learning node.
Starts a trained model deployment, which allocates the model to every machine learning node.
ml/stopdatafeed
Stops one or more datafeeds.
Stops one or more datafeeds.
ml/stopdataframeanalytics
Stops one or more data frame analytics jobs.
Stops one or more data frame analytics jobs.
ml/stoptrainedmodeldeployment
Stops a trained model deployment.
Stops a trained model deployment.
ml/updatedatafeed
Updates the properties of a datafeed.
Updates the properties of a datafeed.
ml/updatedataframeanalytics
Updates an existing data frame analytics job.
Updates an existing data frame analytics job.
ml/updatefilter
Updates the description of a filter, adds items, or removes items from the list.
Updates the description of a filter, adds items, or removes items from the list.
ml/updatejob
Updates certain properties of an anomaly detection job.
Updates certain properties of an anomaly detection job.
ml/updatemodelsnapshot
Updates certain properties of a snapshot.
Updates certain properties of a snapshot.
ml/updatetrainedmodeldeployment
Starts a trained model deployment, which allocates the model to every machine learning node.
Starts a trained model deployment, which allocates the model to every machine learning node.
ml/upgradejobsnapshot
Upgrades an anomaly detection model snapshot to the latest major version.
Upgrades an anomaly detection model snapshot to the latest major version.
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
You can use this API to clear the archived repositories metering information in the cluster.
You can use this API to clear the archived repositories metering information in the cluster.
nodes/getrepositoriesmeteringinfo
You can use the cluster repositories metering API to retrieve repositories metering information in a cluster.
You can use the cluster repositories metering API to retrieve repositories metering information in a cluster.
nodes/hotthreads
This API yields a breakdown of the hot threads on each selected node in the cluster.
This API yields a breakdown of the hot threads on each selected node in the cluster.
nodes/info
Returns cluster nodes information.
Returns cluster nodes information.
nodes/reloadsecuresettings
Reloads the keystore on nodes in the cluster.
Reloads the keystore on nodes in the cluster.
nodes/stats
Returns cluster nodes statistics.
Returns cluster nodes statistics.
nodes/usage
Returns information on the usage of features.
Returns information on the usage of features.
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
Deletes a query rule within a query ruleset.
Deletes a query rule within a query ruleset.
queryrules/deleteruleset
Deletes a query ruleset.
Deletes a query ruleset.
queryrules/getrule
Returns the details about a query rule within a query ruleset
Returns the details about a query rule within a query ruleset
queryrules/getruleset
Returns the details about a query ruleset
Returns the details about a query ruleset
queryrules/listrulesets
Returns summarized information about existing query rulesets.
Returns summarized information about existing query rulesets.
queryrules/putrule
Creates or updates a query rule within a query ruleset.
Creates or updates a query rule within a query ruleset.
queryrules/putruleset
Creates or updates a query ruleset.
Creates or updates 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
Deletes a search application.
Deletes a search application.
searchapplication/deletebehavioralanalytics
Delete a behavioral analytics collection.
Delete a behavioral analytics collection.
searchapplication/get
Returns the details about a search application
Returns the details about a search application
searchapplication/getbehavioralanalytics
Returns the existing behavioral analytics collections.
Returns the existing behavioral analytics collections.
searchapplication/list
Returns the existing search applications.
Returns the existing search applications.
searchapplication/put
Creates or updates a search application.
Creates or updates a search application.
searchapplication/putbehavioralanalytics
Creates a behavioral analytics collection.
Creates a behavioral analytics collection.
searchapplication/search
Perform a search against a search application.
Perform a search against a search application.
security/activateuserprofile
Creates or updates a user profile on behalf of another user.
Creates or updates a user profile on behalf of another user.
security/authenticate
Enables you to submit a request with a basic auth header to authenticate a user and retrieve information about the authenticated user.
Enables you to submit a request with a basic auth header to authenticate a user and retrieve information about the authenticated user.
security/bulkupdateapikeys
Updates the attributes of multiple existing API keys.
Updates the attributes of multiple existing API keys.
security/changepassword
Changes the passwords of users in the native realm and built-in users.
Changes the passwords of users in the native realm and built-in users.
security/clearapikeycache
Evicts a subset of all entries from the API key cache.
Evicts a subset of all entries from the API key cache.
security/clearcachedprivileges
Evicts application privileges from the native application privileges cache.
Evicts application privileges from the native application privileges cache.
security/clearcachedrealms
Evicts users from the user cache.
Evicts users from the user cache.
security/clearcachedroles
Evicts roles from the native role cache.
Evicts roles from the native role cache.
security/clearcachedservicetokens
Evicts tokens from the service account token caches.
Evicts tokens from the service account token caches.
security/createapikey
Creates an API key for access without requiring basic authentication.
Creates an API key for access without requiring basic authentication.
security/createcrossclusterapikey
Creates a cross-cluster API key for API key based remote cluster access.
Creates a cross-cluster API key for API key based remote cluster access.
security/createservicetoken
Creates a service accounts token for access without requiring basic authentication.
Creates a service accounts token for access without requiring basic authentication.
security/deleteprivileges
Removes application privileges.
Removes application privileges.
security/deleterole
Removes roles in the native realm.
Removes roles in the native realm.
security/deleterolemapping
Removes role mappings.
Removes role mappings.
security/deleteservicetoken
Deletes a service account token.
Deletes a service account token.
security/deleteuser
Deletes users from the native realm.
Deletes users from the native realm.
security/disableuser
Disables users in the native realm.
Disables users in the native realm.
security/disableuserprofile
Disables a user profile so it's not visible in user profile searches.
Disables a user profile so it's not visible in user profile searches.
security/enableuser
Enables users in the native realm.
Enables users in the native realm.
security/enableuserprofile
Enables a user profile so it's visible in user profile searches.
Enables a user profile so it's visible in user profile searches.
security/enrollkibana
Enables a Kibana instance to configure itself for communication with a secured Elasticsearch cluster.
Enables a Kibana instance to configure itself for communication with a secured Elasticsearch cluster.
security/enrollnode
Allows a new node to join an existing cluster with security features enabled.
Allows a new node to join an existing cluster with security features enabled.
security/getapikey
Retrieves information for one or more API keys.
Retrieves information for one or more API keys.
security/getbuiltinprivileges
Retrieves the list of cluster privileges and index privileges that are available in this version of Elasticsearch.
Retrieves the list of cluster privileges and index privileges that are available in this version of Elasticsearch.
security/getprivileges
Retrieves application privileges.
Retrieves application privileges.
security/getrole
The role management APIs are generally the preferred way to manage roles, rather than using file-based role management.
The role management APIs are generally the preferred way to manage roles, rather than using file-based role management.
security/getrolemapping
Retrieves role mappings.
Retrieves role mappings.
security/getserviceaccounts
This API returns a list of service accounts that match the provided path parameter(s).
This API returns a list of service accounts that match the provided path parameter(s).
security/getservicecredentials
Retrieves information of all service credentials for a service account.
Retrieves information of all service credentials for a service account.
security/getsettings
Retrieve settings for the security system indices
Retrieve settings for the security system indices
security/gettoken
Creates a bearer token for access without requiring basic authentication.
Creates a bearer token for access without requiring basic authentication.
security/getuser
Retrieves information about users in the native realm and built-in users.
Retrieves information about users in the native realm and built-in users.
security/getuserprivileges
Retrieves security privileges for the logged in user.
Retrieves security privileges for the logged in user.
security/getuserprofile
Retrieves a user's profile using the unique profile ID.
Retrieves a user's profile using the unique profile ID.
security/grantapikey
Creates an API key on behalf of another user.
Creates an API key on behalf of another user.
security/hasprivileges
Determines whether the specified user has a specified list of privileges.
Determines whether the specified user has a specified list of privileges.
security/hasprivilegesuserprofile
Determines whether the users associated with the specified profile IDs have all the requested privileges.
Determines whether the users associated with the specified profile IDs have all the requested privileges.
security/invalidateapikey
Invalidates one or more API keys.
Invalidates one or more API keys.
security/invalidatetoken
Invalidates one or more access tokens or refresh tokens.
Invalidates one or more access tokens or refresh tokens.
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
Adds or updates application privileges.
Adds or updates application privileges.
security/putrole
The role management APIs are generally the preferred way to manage roles, rather than using file-based role management.
The role management APIs are generally the preferred way to manage roles, rather than using file-based role management.
security/putrolemapping
Creates and updates role mappings.
Creates and updates role mappings.
security/putuser
Adds and updates users in the native realm.
Adds and updates users in the native realm.
security/queryapikeys
Retrieves information for API keys in a paginated manner.
Retrieves information for API keys in a paginated manner.
security/queryuser
Retrieves information for Users using a subset of query DSL
Retrieves information for Users using a subset of query DSL
security/samlauthenticate
Submits a SAML Response message to Elasticsearch for consumption.
Submits a SAML Response message to Elasticsearch for consumption.
security/samlcompletelogout
Verifies the logout response sent from the SAML IdP.
Verifies the logout response sent from the SAML IdP.
security/samlinvalidate
Submits a SAML LogoutRequest message to Elasticsearch for consumption.
Submits a SAML LogoutRequest message to Elasticsearch for consumption.
security/samllogout
Submits a request to invalidate an access token and refresh token.
Submits a request to invalidate an access token and refresh token.
security/samlprepareauthentication
Creates a SAML authentication request (<AuthnRequest>) as a URL string, based on the configuration of the respective SAML realm in Elasticsearch.
Creates a SAML authentication request (<AuthnRequest>) as a URL string, based on the configuration of the respective SAML realm in Elasticsearch.
security/samlserviceprovidermetadata
Generate SAML metadata for a SAML 2.0 Service Provider.
Generate SAML metadata for a SAML 2.0 Service Provider.
security/suggestuserprofiles
Get suggestions for user profiles that match specified search criteria.
Get suggestions for user profiles that match specified search criteria.
security/updateapikey
Updates attributes of an existing API key.
Updates attributes of an existing API key.
security/updatesettings
Update settings for the security system index
Update settings for the security system index
security/updateuserprofiledata
Updates specific data for the user profile that's associated with the specified unique ID.
Updates specific data for the user profile that's associated with the specified unique ID.
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/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
Clears the SQL cursor
Clears the SQL cursor
sql/deleteasync
Deletes an async SQL search or a stored synchronous SQL search.
Deletes an async SQL search or a stored synchronous SQL search.
sql/getasync
Returns the current status and available results for an async SQL search or stored synchronous SQL search
Returns the current status and available results for an async SQL search or stored synchronous SQL search
sql/getasyncstatus
Returns the current status of an async SQL search or a stored synchronous SQL search
Returns the current status of an async SQL search or a stored synchronous SQL search
sql/query
Executes a SQL request
Executes a SQL request
sql/translate
Translates SQL into Elasticsearch queries
Translates SQL into Elasticsearch queries
ssl/certificates
Retrieves information about the X.509 certificates used to encrypt communications in the cluster.
Retrieves information about the X.509 certificates used to encrypt communications in the cluster.
synonyms/deletesynonym
Deletes a synonym set
Deletes a synonym set
synonyms/deletesynonymrule
Deletes a synonym rule in a synonym set
Deletes a synonym rule in a synonym set
synonyms/getsynonym
Retrieves a synonym set
Retrieves a synonym set
synonyms/getsynonymrule
Retrieves a synonym rule from a synonym set
Retrieves a synonym rule from a synonym set
synonyms/getsynonymssets
Retrieves a summary of all defined synonym sets
Retrieves a summary of all defined synonym sets
synonyms/putsynonym
Creates or updates a synonym set.
Creates or updates a synonym set.
synonyms/putsynonymrule
Creates or updates a synonym rule in a synonym set
Creates or updates a synonym rule in a synonym set
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
Returns information about a task.
Returns information about a task.
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
Deletes a transform.
Deletes a transform.
transform/getnodestats
Retrieves transform usage information for transform nodes.
Retrieves transform usage information for transform nodes.
transform/gettransform
Retrieves configuration information for transforms.
Retrieves configuration information for transforms.
transform/gettransformstats
Retrieves usage information for transforms.
Retrieves usage information for transforms.
transform/previewtransform
Previews a transform.
Previews a transform.
transform/puttransform
Creates a transform.
Creates a transform.
transform/resettransform
Resets a transform.
Resets a transform.
transform/schedulenowtransform
Schedules now a transform.
Schedules now a transform.
transform/starttransform
Starts a transform.
Starts a transform.
transform/stoptransform
Stops one or more transforms.
Stops one or more transforms.
transform/updatetransform
Updates certain properties of a transform.
Updates certain properties of 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/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/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/deploymentstate
Package deploymentstate
Package deploymentstate
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/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/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/filtertype
Package filtertype
Package filtertype
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/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/responsecontenttype
Package responsecontenttype
Package responsecontenttype
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/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/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/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