@opensearch-project/opensearch 3.0.0-beta.7 → 3.0.0-beta.9
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/api/{OpenSearchAPI.d.ts → OpenSearchApi.d.ts} +251 -6
- package/api/{OpenSearchAPI.js → OpenSearchApi.js} +15 -0
- package/api/_core/bulk.d.ts +4 -4
- package/api/_core/bulk.js +1 -1
- package/api/_core/bulkStream.d.ts +52 -0
- package/api/_core/bulkStream.js +61 -0
- package/api/_core/clearScroll.d.ts +3 -3
- package/api/_core/clearScroll.js +2 -2
- package/api/_core/count.d.ts +5 -5
- package/api/_core/count.js +4 -4
- package/api/_core/create.d.ts +2 -2
- package/api/_core/createPit.d.ts +3 -3
- package/api/_core/createPit.js +3 -3
- package/api/_core/delete.d.ts +2 -2
- package/api/_core/deleteAllPits.d.ts +2 -2
- package/api/_core/deleteByQuery.d.ts +5 -20
- package/api/_core/deleteByQuery.js +8 -8
- package/api/_core/deleteByQueryRethrottle.d.ts +1 -1
- package/api/_core/deletePit.d.ts +3 -3
- package/api/_core/deleteScript.d.ts +1 -1
- package/api/_core/deleteScript.js +1 -1
- package/api/_core/exists.d.ts +4 -4
- package/api/_core/exists.js +2 -2
- package/api/_core/existsSource.d.ts +4 -4
- package/api/_core/existsSource.js +3 -3
- package/api/_core/explain.d.ts +6 -5
- package/api/_core/explain.js +1 -1
- package/api/_core/fieldCaps.d.ts +3 -5
- package/api/_core/fieldCaps.js +6 -6
- package/api/_core/get.d.ts +4 -4
- package/api/_core/get.js +3 -3
- package/api/_core/getAllPits.d.ts +2 -2
- package/api/_core/getScript.d.ts +2 -2
- package/api/_core/getScriptContext.d.ts +2 -2
- package/api/_core/getScriptLanguages.d.ts +2 -2
- package/api/_core/getSource.d.ts +4 -4
- package/api/_core/getSource.js +4 -4
- package/api/_core/index.d.ts +2 -2
- package/api/_core/index.js +1 -1
- package/api/_core/info.d.ts +2 -2
- package/api/_core/mget.d.ts +6 -6
- package/api/_core/mget.js +3 -3
- package/api/_core/msearch.d.ts +1 -1
- package/api/_core/msearch.js +4 -4
- package/api/_core/msearchTemplate.d.ts +2 -2
- package/api/_core/msearchTemplate.js +2 -2
- package/api/_core/mtermvectors.d.ts +4 -4
- package/api/_core/mtermvectors.js +3 -3
- package/api/_core/putScript.d.ts +2 -2
- package/api/_core/putScript.js +3 -3
- package/api/_core/rankEval.d.ts +4 -4
- package/api/_core/rankEval.js +5 -5
- package/api/_core/reindex.d.ts +4 -19
- package/api/_core/reindex.js +1 -1
- package/api/_core/reindexRethrottle.d.ts +2 -2
- package/api/_core/reindexRethrottle.js +1 -1
- package/api/_core/renderSearchTemplate.d.ts +5 -5
- package/api/_core/renderSearchTemplate.js +2 -2
- package/api/_core/scriptsPainlessExecute.d.ts +5 -5
- package/api/_core/scroll.d.ts +3 -3
- package/api/_core/scroll.js +3 -3
- package/api/_core/search.d.ts +5 -8
- package/api/_core/search.js +9 -9
- package/api/_core/searchShards.d.ts +14 -3
- package/api/_core/searchShards.js +5 -4
- package/api/_core/searchTemplate.d.ts +5 -4
- package/api/_core/searchTemplate.js +6 -6
- package/api/_core/termvectors.d.ts +6 -5
- package/api/_core/termvectors.js +2 -2
- package/api/_core/update.d.ts +4 -4
- package/api/_core/update.js +3 -3
- package/api/_core/updateByQuery.d.ts +5 -20
- package/api/_core/updateByQuery.js +8 -8
- package/api/_core/updateByQueryRethrottle.d.ts +2 -2
- package/api/_types/_common.aggregations.d.ts +195 -193
- package/api/_types/_common.analysis.d.ts +129 -102
- package/api/_types/_common.d.ts +252 -192
- package/api/_types/_common.mapping.d.ts +98 -162
- package/api/_types/_common.query_dsl.d.ts +128 -131
- package/api/_types/_core._common.d.ts +4 -4
- package/api/_types/_core.bulk.d.ts +9 -9
- package/api/_types/_core.explain.d.ts +4 -4
- package/api/_types/_core.field_caps.d.ts +1 -6
- package/api/_types/_core.get.d.ts +1 -1
- package/api/_types/_core.get_script_context.d.ts +3 -3
- package/api/_types/_core.get_script_languages.d.ts +1 -1
- package/api/_types/_core.mget.d.ts +3 -3
- package/api/_types/_core.msearch.d.ts +6 -8
- package/api/_types/_core.msearch_template.d.ts +3 -3
- package/api/_types/_core.mtermvectors.d.ts +3 -2
- package/api/_types/_core.rank_eval.d.ts +15 -14
- package/api/_types/_core.reindex.d.ts +3 -5
- package/api/_types/_core.reindex_rethrottle.d.ts +5 -3
- package/api/_types/_core.scripts_painless_execute.d.ts +2 -2
- package/api/_types/_core.search.d.ts +46 -45
- package/api/_types/_core.search_shards.d.ts +1 -1
- package/api/_types/_core.termvectors.d.ts +5 -5
- package/api/_types/_core.update.d.ts +1 -1
- package/api/_types/_core.update_by_query_rethrottle.d.ts +1 -1
- package/api/_types/_global.d.ts +1 -1
- package/api/_types/asynchronous_search._common.d.ts +7 -9
- package/api/_types/cat._common.d.ts +5 -4
- package/api/_types/cat.aliases.d.ts +1 -1
- package/api/_types/cat.allocation.d.ts +2 -2
- package/api/_types/cat.cluster_manager.d.ts +1 -1
- package/api/_types/cat.count.d.ts +1 -1
- package/api/_types/cat.fielddata.d.ts +1 -1
- package/api/_types/cat.health.d.ts +2 -2
- package/api/_types/cat.indices.d.ts +1 -1
- package/api/_types/cat.master.d.ts +1 -1
- package/api/_types/cat.nodeattrs.d.ts +1 -1
- package/api/_types/cat.nodes.d.ts +5 -5
- package/api/_types/cat.pending_tasks.d.ts +1 -1
- package/api/_types/cat.plugins.d.ts +1 -1
- package/api/_types/cat.recovery.d.ts +4 -4
- package/api/_types/cat.repositories.d.ts +1 -1
- package/api/_types/cat.segments.d.ts +2 -2
- package/api/_types/cat.shards.d.ts +1 -1
- package/api/_types/cat.snapshots.d.ts +1 -1
- package/api/_types/cat.tasks.d.ts +1 -1
- package/api/_types/cat.templates.d.ts +1 -1
- package/api/_types/cat.thread_pool.d.ts +1 -1
- package/api/_types/cluster._common.d.ts +4 -5
- package/api/_types/cluster.allocation_explain.d.ts +20 -20
- package/api/_types/cluster.health.d.ts +6 -5
- package/api/_types/cluster.pending_tasks.d.ts +1 -1
- package/api/_types/cluster.remote_info.d.ts +2 -2
- package/api/_types/cluster.reroute.d.ts +10 -8
- package/api/_types/cluster.stats.d.ts +88 -102
- package/api/_types/cluster.weighted_routing.d.ts +3 -3
- package/api/_types/dangling_indices.list_dangling_indices.d.ts +1 -1
- package/api/_types/flow_framework.common.d.ts +131 -7
- package/api/_types/flow_framework.errors.d.ts +90 -9
- package/api/_types/indices._common.d.ts +364 -236
- package/api/_types/indices.add_block.d.ts +1 -1
- package/api/_types/indices.analyze.d.ts +6 -6
- package/api/_types/indices.close.d.ts +2 -2
- package/api/_types/indices.get_alias.d.ts +1 -1
- package/api/_types/indices.get_field_mapping.d.ts +1 -1
- package/api/_types/indices.get_index_template.d.ts +2 -2
- package/api/_types/indices.get_mapping.d.ts +1 -1
- package/api/_types/indices.put_index_template.d.ts +2 -3
- package/api/_types/indices.recovery.d.ts +25 -21
- package/api/_types/indices.resolve_index.d.ts +3 -3
- package/api/_types/indices.rollover.d.ts +9 -9
- package/api/_types/indices.segments.d.ts +8 -8
- package/api/_types/indices.shard_stores.d.ts +7 -6
- package/api/_types/indices.simulate_template.d.ts +4 -4
- package/api/_types/indices.stats.d.ts +18 -16
- package/api/_types/indices.update_aliases.d.ts +4 -4
- package/api/_types/indices.validate_query.d.ts +1 -1
- package/api/_types/ingest._common.d.ts +39 -39
- package/api/_types/ingest.simulate.d.ts +5 -5
- package/api/_types/insights._common.d.ts +95 -0
- package/api/_types/ism._common.d.ts +259 -0
- package/api/_types/knn._common.d.ts +83 -0
- package/api/_types/ml._common.d.ts +106 -15
- package/api/_types/nodes._common.d.ts +192 -183
- package/api/_types/nodes.info.d.ts +61 -61
- package/api/_types/nodes.reload_secure_settings.d.ts +2 -2
- package/api/_types/nodes.stats.d.ts +2 -2
- package/api/_types/nodes.usage.d.ts +5 -5
- package/api/_types/notifications._common.d.ts +21 -21
- package/api/_types/observability._common.d.ts +16 -16
- package/api/_types/query._common.d.ts +12 -7
- package/api/_types/remote_store._common.d.ts +2 -2
- package/api/_types/replication._common.d.ts +143 -0
- package/api/_types/rollups._common.d.ts +22 -38
- package/api/_types/search_pipeline._common.d.ts +21 -21
- package/api/_types/security._common.d.ts +49 -42
- package/api/_types/sm._common.d.ts +198 -0
- package/api/_types/snapshot._common.d.ts +48 -57
- package/api/_types/snapshot.cleanup_repository.d.ts +1 -1
- package/api/_types/snapshot.restore.d.ts +1 -1
- package/api/_types/snapshot.verify_repository.d.ts +1 -1
- package/api/_types/sql._common.d.ts +18 -18
- package/api/_types/tasks._common.d.ts +26 -14
- package/api/_types/transforms._common.d.ts +56 -41
- package/api/_types/wlm._common.d.ts +53 -0
- package/api/asynchronousSearch/delete.d.ts +1 -1
- package/api/asynchronousSearch/get.d.ts +1 -1
- package/api/asynchronousSearch/search.d.ts +1 -1
- package/api/asynchronousSearch/search.js +3 -3
- package/api/asynchronousSearch/stats.d.ts +1 -1
- package/api/cat/aliases.d.ts +2 -2
- package/api/cat/aliases.js +9 -9
- package/api/cat/allPitSegments.d.ts +3 -3
- package/api/cat/allPitSegments.js +1 -1
- package/api/cat/allocation.d.ts +3 -3
- package/api/cat/allocation.js +11 -11
- package/api/cat/clusterManager.d.ts +2 -2
- package/api/cat/clusterManager.js +6 -6
- package/api/cat/count.d.ts +2 -2
- package/api/cat/count.js +4 -4
- package/api/cat/fielddata.d.ts +3 -3
- package/api/cat/fielddata.js +3 -3
- package/api/cat/health.d.ts +2 -2
- package/api/cat/health.js +2 -2
- package/api/cat/indices.d.ts +3 -3
- package/api/cat/indices.js +8 -8
- package/api/cat/master.d.ts +2 -2
- package/api/cat/master.js +2 -2
- package/api/cat/nodeattrs.d.ts +2 -2
- package/api/cat/nodeattrs.js +2 -2
- package/api/cat/nodes.d.ts +3 -3
- package/api/cat/nodes.js +2 -2
- package/api/cat/pendingTasks.d.ts +2 -2
- package/api/cat/pendingTasks.js +2 -2
- package/api/cat/pitSegments.d.ts +4 -4
- package/api/cat/pitSegments.js +1 -1
- package/api/cat/plugins.d.ts +2 -2
- package/api/cat/plugins.js +2 -2
- package/api/cat/recovery.d.ts +3 -3
- package/api/cat/recovery.js +3 -3
- package/api/cat/repositories.d.ts +2 -2
- package/api/cat/repositories.js +2 -2
- package/api/cat/segmentReplication.d.ts +3 -3
- package/api/cat/segmentReplication.js +6 -6
- package/api/cat/segments.d.ts +3 -3
- package/api/cat/segments.js +4 -4
- package/api/cat/shards.d.ts +3 -3
- package/api/cat/shards.js +4 -4
- package/api/cat/snapshots.d.ts +2 -2
- package/api/cat/snapshots.js +4 -4
- package/api/cat/tasks.d.ts +2 -2
- package/api/cat/tasks.js +1 -1
- package/api/cat/templates.d.ts +2 -2
- package/api/cat/templates.js +3 -3
- package/api/cat/threadPool.d.ts +2 -2
- package/api/cat/threadPool.js +3 -3
- package/api/cluster/allocationExplain.d.ts +4 -4
- package/api/cluster/allocationExplain.js +2 -2
- package/api/cluster/deleteComponentTemplate.d.ts +1 -1
- package/api/cluster/deleteComponentTemplate.js +1 -1
- package/api/cluster/deleteDecommissionAwareness.d.ts +1 -1
- package/api/cluster/deleteVotingConfigExclusions.js +1 -1
- package/api/cluster/deleteWeightedRouting.d.ts +1 -1
- package/api/cluster/existsComponentTemplate.d.ts +1 -1
- package/api/cluster/existsComponentTemplate.js +2 -2
- package/api/cluster/getComponentTemplate.d.ts +3 -3
- package/api/cluster/getComponentTemplate.js +3 -3
- package/api/cluster/getDecommissionAwareness.d.ts +1 -1
- package/api/cluster/getSettings.d.ts +2 -2
- package/api/cluster/getSettings.js +1 -1
- package/api/cluster/getWeightedRouting.d.ts +1 -1
- package/api/cluster/health.d.ts +2 -2
- package/api/cluster/health.js +8 -8
- package/api/cluster/pendingTasks.d.ts +3 -3
- package/api/cluster/pendingTasks.js +2 -2
- package/api/cluster/postVotingConfigExclusions.d.ts +1 -1
- package/api/cluster/postVotingConfigExclusions.js +2 -2
- package/api/cluster/putComponentTemplate.d.ts +2 -2
- package/api/cluster/putComponentTemplate.js +2 -2
- package/api/cluster/putDecommissionAwareness.d.ts +1 -1
- package/api/cluster/putSettings.d.ts +3 -3
- package/api/cluster/putSettings.js +1 -1
- package/api/cluster/putWeightedRouting.d.ts +1 -1
- package/api/cluster/remoteInfo.d.ts +1 -1
- package/api/cluster/reroute.d.ts +5 -5
- package/api/cluster/reroute.js +4 -4
- package/api/cluster/state.d.ts +2 -2
- package/api/cluster/state.js +8 -8
- package/api/cluster/stats.d.ts +4 -2
- package/api/cluster/stats.js +15 -2
- package/api/danglingIndices/deleteDanglingIndex.d.ts +1 -1
- package/api/danglingIndices/deleteDanglingIndex.js +4 -4
- package/api/danglingIndices/importDanglingIndex.d.ts +1 -1
- package/api/danglingIndices/importDanglingIndex.js +4 -4
- package/api/danglingIndices/listDanglingIndices.d.ts +2 -2
- package/api/danglingIndices/listDanglingIndices.js +1 -1
- package/api/flowFramework/_api.js +12 -0
- package/api/flowFramework/create.d.ts +7 -6
- package/api/flowFramework/create.js +3 -2
- package/api/flowFramework/delete.d.ts +3 -2
- package/api/flowFramework/deprovision.d.ts +31 -0
- package/api/flowFramework/deprovision.js +50 -0
- package/api/flowFramework/get.d.ts +3 -2
- package/api/flowFramework/getStatus.d.ts +31 -0
- package/api/flowFramework/getStatus.js +50 -0
- package/api/flowFramework/getSteps.d.ts +30 -0
- package/api/flowFramework/getSteps.js +47 -0
- package/api/flowFramework/provision.d.ts +31 -0
- package/api/flowFramework/provision.js +50 -0
- package/api/flowFramework/search.d.ts +30 -0
- package/api/flowFramework/search.js +47 -0
- package/api/flowFramework/searchState.d.ts +30 -0
- package/api/flowFramework/searchState.js +47 -0
- package/api/flowFramework/update.d.ts +8 -4
- package/api/flowFramework/update.js +4 -0
- package/api/index.d.ts +108 -6
- package/api/indices/addBlock.d.ts +2 -2
- package/api/indices/addBlock.js +6 -6
- package/api/indices/analyze.d.ts +3 -3
- package/api/indices/analyze.js +1 -1
- package/api/indices/clearCache.d.ts +1 -1
- package/api/indices/clearCache.js +5 -5
- package/api/indices/clone.d.ts +3 -3
- package/api/indices/clone.js +2 -2
- package/api/indices/close.d.ts +2 -2
- package/api/indices/close.js +2 -2
- package/api/indices/create.d.ts +4 -4
- package/api/indices/create.js +1 -1
- package/api/indices/createDataStream.d.ts +1 -1
- package/api/indices/dataStreamsStats.d.ts +6 -6
- package/api/indices/dataStreamsStats.js +1 -1
- package/api/indices/delete.d.ts +1 -1
- package/api/indices/delete.js +3 -3
- package/api/indices/deleteAlias.d.ts +1 -1
- package/api/indices/deleteAlias.js +2 -2
- package/api/indices/deleteDataStream.d.ts +1 -1
- package/api/indices/deleteIndexTemplate.d.ts +1 -1
- package/api/indices/deleteIndexTemplate.js +1 -1
- package/api/indices/deleteTemplate.d.ts +1 -1
- package/api/indices/deleteTemplate.js +1 -1
- package/api/indices/exists.d.ts +1 -1
- package/api/indices/exists.js +2 -2
- package/api/indices/existsAlias.d.ts +1 -1
- package/api/indices/existsAlias.js +4 -4
- package/api/indices/existsIndexTemplate.d.ts +1 -1
- package/api/indices/existsIndexTemplate.js +1 -1
- package/api/indices/existsTemplate.d.ts +1 -1
- package/api/indices/existsTemplate.js +1 -1
- package/api/indices/flush.d.ts +1 -1
- package/api/indices/flush.js +4 -4
- package/api/indices/forcemerge.d.ts +1 -1
- package/api/indices/forcemerge.js +6 -6
- package/api/indices/get.d.ts +1 -1
- package/api/indices/get.js +9 -9
- package/api/indices/getAlias.d.ts +1 -1
- package/api/indices/getAlias.js +3 -3
- package/api/indices/getDataStream.d.ts +2 -2
- package/api/indices/getDataStream.js +1 -1
- package/api/indices/getFieldMapping.d.ts +1 -1
- package/api/indices/getFieldMapping.js +3 -3
- package/api/indices/getIndexTemplate.d.ts +2 -2
- package/api/indices/getIndexTemplate.js +4 -4
- package/api/indices/getMapping.d.ts +1 -1
- package/api/indices/getMapping.js +5 -5
- package/api/indices/getSettings.d.ts +1 -1
- package/api/indices/getSettings.js +6 -6
- package/api/indices/getTemplate.d.ts +1 -1
- package/api/indices/getTemplate.js +2 -2
- package/api/indices/getUpgrade.d.ts +3 -2
- package/api/indices/getUpgrade.js +6 -6
- package/api/indices/open.d.ts +1 -1
- package/api/indices/open.js +4 -4
- package/api/indices/putAlias.d.ts +2 -2
- package/api/indices/putAlias.js +3 -3
- package/api/indices/putIndexTemplate.d.ts +2 -2
- package/api/indices/putIndexTemplate.js +1 -1
- package/api/indices/putMapping.d.ts +2 -3
- package/api/indices/putMapping.js +3 -3
- package/api/indices/putSettings.d.ts +1 -1
- package/api/indices/putSettings.js +5 -5
- package/api/indices/putTemplate.d.ts +4 -4
- package/api/indices/putTemplate.js +2 -2
- package/api/indices/recovery.d.ts +1 -1
- package/api/indices/recovery.js +2 -2
- package/api/indices/refresh.d.ts +1 -1
- package/api/indices/refresh.js +4 -4
- package/api/indices/resolveIndex.d.ts +2 -2
- package/api/indices/resolveIndex.js +2 -2
- package/api/indices/rollover.d.ts +4 -4
- package/api/indices/rollover.js +2 -2
- package/api/indices/segments.d.ts +2 -2
- package/api/indices/segments.js +3 -3
- package/api/indices/shardStores.d.ts +3 -3
- package/api/indices/shardStores.js +5 -5
- package/api/indices/shrink.d.ts +3 -3
- package/api/indices/shrink.js +2 -2
- package/api/indices/simulateIndexTemplate.d.ts +2 -4
- package/api/indices/simulateIndexTemplate.js +1 -3
- package/api/indices/simulateTemplate.d.ts +2 -2
- package/api/indices/simulateTemplate.js +3 -3
- package/api/indices/split.d.ts +3 -3
- package/api/indices/split.js +2 -2
- package/api/indices/stats.d.ts +3 -3
- package/api/indices/stats.js +7 -7
- package/api/indices/updateAliases.d.ts +2 -2
- package/api/indices/updateAliases.js +1 -1
- package/api/indices/upgrade.d.ts +4 -2
- package/api/indices/upgrade.js +8 -7
- package/api/indices/validateQuery.d.ts +4 -4
- package/api/indices/validateQuery.js +3 -3
- package/api/ingest/deletePipeline.d.ts +1 -1
- package/api/ingest/deletePipeline.js +1 -1
- package/api/ingest/getPipeline.d.ts +1 -1
- package/api/ingest/getPipeline.js +2 -2
- package/api/ingest/processorGrok.d.ts +4 -2
- package/api/ingest/processorGrok.js +3 -1
- package/api/ingest/putPipeline.d.ts +2 -2
- package/api/ingest/putPipeline.js +1 -1
- package/api/ingest/simulate.d.ts +4 -4
- package/api/ingest/simulate.js +1 -1
- package/api/{_types/indices.data_streams_stats.d.ts → insights/_api.js} +9 -7
- package/api/insights/topQueries.d.ts +30 -0
- package/api/insights/topQueries.js +48 -0
- package/api/ism/_api.js +61 -0
- package/api/ism/addPolicy.d.ts +32 -0
- package/api/ism/addPolicy.js +49 -0
- package/api/ism/changePolicy.d.ts +32 -0
- package/api/ism/changePolicy.js +49 -0
- package/api/ism/deletePolicy.d.ts +30 -0
- package/api/ism/deletePolicy.js +49 -0
- package/api/ism/existsPolicy.d.ts +29 -0
- package/api/ism/existsPolicy.js +49 -0
- package/api/ism/explainPolicy.d.ts +34 -0
- package/api/ism/explainPolicy.js +49 -0
- package/api/ism/getPolicies.d.ts +28 -0
- package/api/ism/getPolicies.js +45 -0
- package/api/ism/getPolicy.d.ts +30 -0
- package/api/ism/getPolicy.js +49 -0
- package/api/ism/putPolicies.d.ts +34 -0
- package/api/ism/putPolicies.js +51 -0
- package/api/ism/putPolicy.d.ts +34 -0
- package/api/ism/putPolicy.js +52 -0
- package/api/ism/refreshSearchAnalyzers.d.ts +31 -0
- package/api/ism/refreshSearchAnalyzers.js +49 -0
- package/api/ism/removePolicy.d.ts +31 -0
- package/api/ism/removePolicy.js +48 -0
- package/api/ism/retryIndex.d.ts +32 -0
- package/api/ism/retryIndex.js +49 -0
- package/api/knn/deleteModel.d.ts +2 -1
- package/api/knn/searchModels.d.ts +4 -3
- package/api/knn/searchModels.js +10 -10
- package/api/knn/stats.d.ts +4 -3
- package/api/knn/stats.js +1 -1
- package/api/knn/trainModel.d.ts +5 -12
- package/api/knn/trainModel.js +5 -5
- package/api/knn/warmup.d.ts +2 -1
- package/api/knn/warmup.js +1 -1
- package/api/{_types/snapshot.get.d.ts → list/_api.js} +9 -6
- package/api/list/help.d.ts +27 -0
- package/api/list/help.js +45 -0
- package/api/list/indices.d.ts +51 -0
- package/api/list/indices.js +65 -0
- package/api/list/shards.d.ts +47 -0
- package/api/list/shards.js +61 -0
- package/api/ml/_api.js +12 -0
- package/api/ml/createConnector.d.ts +43 -0
- package/api/ml/createConnector.js +47 -0
- package/api/ml/deleteAgent.d.ts +30 -0
- package/api/ml/deleteAgent.js +49 -0
- package/api/ml/deleteConnector.d.ts +30 -0
- package/api/ml/deleteConnector.js +49 -0
- package/api/ml/deleteModel.d.ts +1 -1
- package/api/ml/deleteModelGroup.d.ts +1 -1
- package/api/ml/deleteTask.d.ts +1 -1
- package/api/ml/deployModel.d.ts +1 -1
- package/api/ml/registerAgents.d.ts +43 -0
- package/api/ml/registerAgents.js +47 -0
- package/api/ml/registerModel.d.ts +2 -2
- package/api/ml/registerModelGroup.d.ts +1 -1
- package/api/ml/searchModels.d.ts +6 -1
- package/api/nodes/hotThreads.d.ts +1 -1
- package/api/nodes/hotThreads.js +2 -2
- package/api/nodes/info.d.ts +1 -1
- package/api/nodes/info.js +3 -3
- package/api/nodes/reloadSecureSettings.d.ts +2 -2
- package/api/nodes/reloadSecureSettings.js +2 -2
- package/api/nodes/stats.d.ts +1 -1
- package/api/nodes/stats.js +5 -5
- package/api/nodes/usage.d.ts +1 -1
- package/api/nodes/usage.js +1 -1
- package/api/notifications/createConfig.d.ts +1 -1
- package/api/notifications/getConfigs.d.ts +3 -1
- package/api/notifications/getConfigs.js +2 -0
- package/api/notifications/listChannels.d.ts +1 -1
- package/api/notifications/listFeatures.d.ts +1 -1
- package/api/notifications/sendTest.d.ts +1 -1
- package/api/notifications/updateConfig.d.ts +1 -1
- package/api/observability/createObject.d.ts +1 -1
- package/api/observability/deleteObject.d.ts +1 -1
- package/api/observability/deleteObjects.d.ts +1 -1
- package/api/observability/getLocalstats.d.ts +1 -1
- package/api/observability/getLocalstats.js +1 -1
- package/api/observability/updateObject.d.ts +1 -1
- package/api/ppl/explain.js +1 -1
- package/api/ppl/getStats.js +1 -1
- package/api/ppl/postStats.js +1 -1
- package/api/ppl/query.js +1 -1
- package/api/remoteStore/restore.d.ts +3 -3
- package/api/replication/_api.js +48 -0
- package/api/replication/autofollowStats.d.ts +28 -0
- package/api/replication/autofollowStats.js +45 -0
- package/api/replication/createReplicationRule.d.ts +31 -0
- package/api/replication/createReplicationRule.js +47 -0
- package/api/replication/deleteReplicationRule.d.ts +31 -0
- package/api/replication/deleteReplicationRule.js +47 -0
- package/api/replication/followerStats.d.ts +28 -0
- package/api/replication/followerStats.js +45 -0
- package/api/replication/leaderStats.d.ts +28 -0
- package/api/replication/leaderStats.js +45 -0
- package/api/replication/pause.d.ts +33 -0
- package/api/replication/pause.js +50 -0
- package/api/replication/resume.d.ts +33 -0
- package/api/replication/resume.js +50 -0
- package/api/replication/start.d.ts +32 -0
- package/api/replication/start.js +50 -0
- package/api/replication/status.d.ts +31 -0
- package/api/replication/status.js +49 -0
- package/api/replication/stop.d.ts +33 -0
- package/api/replication/stop.js +50 -0
- package/api/replication/updateSettings.d.ts +32 -0
- package/api/replication/updateSettings.js +50 -0
- package/api/rollups/delete.d.ts +2 -2
- package/api/rollups/explain.d.ts +1 -1
- package/api/rollups/get.d.ts +1 -1
- package/api/rollups/put.d.ts +1 -1
- package/api/rollups/start.d.ts +2 -2
- package/api/rollups/stop.d.ts +2 -2
- package/api/searchPipeline/delete.d.ts +2 -2
- package/api/searchPipeline/get.d.ts +1 -1
- package/api/searchPipeline/get.js +1 -1
- package/api/searchPipeline/put.d.ts +2 -2
- package/api/security/_api.js +3 -0
- package/api/security/createAllowlist.js +1 -1
- package/api/security/generateUserTokenLegacy.d.ts +29 -0
- package/api/security/generateUserTokenLegacy.js +49 -0
- package/api/security/getAllCertificates.d.ts +1 -1
- package/api/security/getDistinguishedName.d.ts +1 -1
- package/api/security/getDistinguishedName.js +1 -1
- package/api/security/getDistinguishedNames.js +1 -1
- package/api/security/getNodeCertificates.d.ts +1 -1
- package/api/security/getSslinfo.js +1 -1
- package/api/security/health.js +1 -1
- package/api/security/patchConfiguration.js +1 -1
- package/api/security/patchDistinguishedName.d.ts +1 -1
- package/api/security/patchDistinguishedName.js +2 -2
- package/api/security/updateConfiguration.js +1 -1
- package/api/security/updateDistinguishedName.js +1 -1
- package/api/security/validate.js +1 -1
- package/api/sm/_api.js +49 -0
- package/api/sm/createPolicy.d.ts +31 -0
- package/api/sm/createPolicy.js +50 -0
- package/api/sm/deletePolicy.d.ts +30 -0
- package/api/sm/deletePolicy.js +49 -0
- package/api/sm/explainPolicy.d.ts +30 -0
- package/api/sm/explainPolicy.js +49 -0
- package/api/sm/getPolicies.d.ts +34 -0
- package/api/sm/getPolicies.js +51 -0
- package/api/sm/getPolicy.d.ts +30 -0
- package/api/sm/getPolicy.js +49 -0
- package/api/sm/startPolicy.d.ts +31 -0
- package/api/sm/startPolicy.js +49 -0
- package/api/sm/stopPolicy.d.ts +31 -0
- package/api/sm/stopPolicy.js +49 -0
- package/api/sm/updatePolicy.d.ts +33 -0
- package/api/sm/updatePolicy.js +54 -0
- package/api/snapshot/cleanupRepository.d.ts +2 -2
- package/api/snapshot/cleanupRepository.js +1 -1
- package/api/snapshot/clone.d.ts +2 -2
- package/api/snapshot/clone.js +2 -2
- package/api/snapshot/create.d.ts +3 -3
- package/api/snapshot/create.js +1 -1
- package/api/snapshot/createRepository.d.ts +2 -2
- package/api/snapshot/createRepository.js +1 -1
- package/api/snapshot/delete.d.ts +1 -1
- package/api/snapshot/delete.js +1 -1
- package/api/snapshot/deleteRepository.d.ts +1 -1
- package/api/snapshot/deleteRepository.js +1 -1
- package/api/snapshot/get.d.ts +3 -7
- package/api/snapshot/get.js +4 -4
- package/api/snapshot/getRepository.d.ts +1 -1
- package/api/snapshot/getRepository.js +2 -2
- package/api/snapshot/restore.d.ts +9 -5
- package/api/snapshot/restore.js +1 -1
- package/api/snapshot/status.d.ts +3 -3
- package/api/snapshot/status.js +3 -3
- package/api/snapshot/verifyRepository.d.ts +2 -2
- package/api/snapshot/verifyRepository.js +1 -1
- package/api/sql/close.d.ts +1 -1
- package/api/sql/close.js +5 -5
- package/api/sql/explain.d.ts +1 -1
- package/api/sql/explain.js +5 -5
- package/api/sql/getStats.js +1 -1
- package/api/sql/postStats.d.ts +1 -1
- package/api/sql/postStats.js +5 -5
- package/api/sql/query.d.ts +1 -1
- package/api/sql/query.js +5 -5
- package/api/sql/settings.d.ts +1 -1
- package/api/sql/settings.js +5 -5
- package/api/tasks/cancel.d.ts +1 -1
- package/api/tasks/cancel.js +1 -1
- package/api/tasks/get.d.ts +3 -3
- package/api/tasks/list.d.ts +1 -1
- package/api/transforms/delete.d.ts +3 -2
- package/api/transforms/explain.d.ts +1 -1
- package/api/transforms/get.d.ts +2 -2
- package/api/transforms/preview.d.ts +3 -1
- package/api/transforms/preview.js +4 -2
- package/api/transforms/put.d.ts +3 -3
- package/api/transforms/put.js +1 -1
- package/api/transforms/start.d.ts +1 -1
- package/api/transforms/stop.d.ts +1 -1
- package/api/utils.js +1 -1
- package/api/wlm/_api.js +37 -0
- package/api/wlm/createQueryGroup.d.ts +30 -0
- package/api/wlm/createQueryGroup.js +47 -0
- package/api/wlm/deleteQueryGroup.d.ts +31 -0
- package/api/wlm/deleteQueryGroup.js +49 -0
- package/api/wlm/getQueryGroup.d.ts +32 -0
- package/api/wlm/getQueryGroup.js +48 -0
- package/api/wlm/updateQueryGroup.d.ts +31 -0
- package/api/wlm/updateQueryGroup.js +50 -0
- package/index.js +0 -2
- package/lib/Client.d.ts +1 -1
- package/lib/Client.js +1 -1
- package/lib/Serializer.js +1 -1
- package/package.json +3 -3
|
@@ -17,7 +17,7 @@
|
|
|
17
17
|
import * as Common from './_common'
|
|
18
18
|
import * as Indices_Stats from './indices.stats'
|
|
19
19
|
|
|
20
|
-
export
|
|
20
|
+
export type AdaptiveSelection = {
|
|
21
21
|
avg_queue_size?: number;
|
|
22
22
|
avg_response_time?: Common.Duration;
|
|
23
23
|
avg_response_time_ns?: number;
|
|
@@ -27,41 +27,41 @@ export interface AdaptiveSelection {
|
|
|
27
27
|
rank?: string;
|
|
28
28
|
}
|
|
29
29
|
|
|
30
|
-
export
|
|
31
|
-
estimated_size?: Common.
|
|
32
|
-
estimated_size_in_bytes?: Common.
|
|
33
|
-
limit_size?: Common.
|
|
34
|
-
limit_size_in_bytes?: Common.
|
|
30
|
+
export type Breaker = {
|
|
31
|
+
estimated_size?: Common.HumanReadableByteCount;
|
|
32
|
+
estimated_size_in_bytes?: Common.ByteCount;
|
|
33
|
+
limit_size?: Common.HumanReadableByteCount;
|
|
34
|
+
limit_size_in_bytes?: Common.ByteCount;
|
|
35
35
|
overhead?: number;
|
|
36
36
|
tripped?: number;
|
|
37
37
|
}
|
|
38
38
|
|
|
39
|
-
export
|
|
39
|
+
export type Cgroup = {
|
|
40
40
|
cpu?: CgroupCpu;
|
|
41
41
|
cpuacct?: CpuAcct;
|
|
42
42
|
memory?: CgroupMemory;
|
|
43
43
|
}
|
|
44
44
|
|
|
45
|
-
export
|
|
45
|
+
export type CgroupCpu = {
|
|
46
46
|
cfs_period_micros?: number;
|
|
47
47
|
cfs_quota_micros?: number;
|
|
48
48
|
control_group?: string;
|
|
49
49
|
stat?: CgroupCpuStat;
|
|
50
50
|
}
|
|
51
51
|
|
|
52
|
-
export
|
|
52
|
+
export type CgroupCpuStat = {
|
|
53
53
|
number_of_elapsed_periods?: number;
|
|
54
54
|
number_of_times_throttled?: number;
|
|
55
55
|
time_throttled_nanos?: Common.DurationValueUnitNanos;
|
|
56
56
|
}
|
|
57
57
|
|
|
58
|
-
export
|
|
58
|
+
export type CgroupMemory = {
|
|
59
59
|
control_group?: string;
|
|
60
60
|
limit_in_bytes?: string;
|
|
61
61
|
usage_in_bytes?: string;
|
|
62
62
|
}
|
|
63
63
|
|
|
64
|
-
export
|
|
64
|
+
export type Client = {
|
|
65
65
|
agent?: string;
|
|
66
66
|
closed_time_millis?: number;
|
|
67
67
|
id?: number;
|
|
@@ -71,31 +71,31 @@ export interface Client {
|
|
|
71
71
|
opened_time_millis?: number;
|
|
72
72
|
remote_address?: string;
|
|
73
73
|
request_count?: number;
|
|
74
|
-
request_size_bytes?: Common.
|
|
74
|
+
request_size_bytes?: Common.ByteCount;
|
|
75
75
|
x_opaque_id?: string;
|
|
76
76
|
}
|
|
77
77
|
|
|
78
|
-
export
|
|
78
|
+
export type ClusterAppliedStats = {
|
|
79
79
|
recordings?: Recording[];
|
|
80
80
|
}
|
|
81
81
|
|
|
82
|
-
export
|
|
82
|
+
export type ClusterStateOverallStats = {
|
|
83
83
|
failed_count?: number;
|
|
84
84
|
total_time_in_millis?: Common.DurationValueUnitMillis;
|
|
85
85
|
update_count?: number;
|
|
86
86
|
}
|
|
87
87
|
|
|
88
|
-
export
|
|
88
|
+
export type ClusterStateQueue = {
|
|
89
89
|
committed?: number;
|
|
90
90
|
pending?: number;
|
|
91
91
|
total?: number;
|
|
92
92
|
}
|
|
93
93
|
|
|
94
|
-
export
|
|
94
|
+
export type ClusterStateStats = {
|
|
95
95
|
overall?: ClusterStateOverallStats;
|
|
96
96
|
}
|
|
97
97
|
|
|
98
|
-
export
|
|
98
|
+
export type ClusterStateUpdate = {
|
|
99
99
|
commit_time?: Common.Duration;
|
|
100
100
|
commit_time_millis?: Common.DurationValueUnitMillis;
|
|
101
101
|
completion_time?: Common.Duration;
|
|
@@ -113,16 +113,16 @@ export interface ClusterStateUpdate {
|
|
|
113
113
|
publication_time_millis?: Common.DurationValueUnitMillis;
|
|
114
114
|
}
|
|
115
115
|
|
|
116
|
-
export
|
|
116
|
+
export type Context = {
|
|
117
117
|
cache_evictions?: number;
|
|
118
118
|
compilation_limit_triggered?: number;
|
|
119
119
|
compilations?: number;
|
|
120
120
|
context?: string;
|
|
121
121
|
}
|
|
122
122
|
|
|
123
|
-
export
|
|
123
|
+
export type Cpu = {
|
|
124
124
|
load_average?: Record<string, number>;
|
|
125
|
-
percent?:
|
|
125
|
+
percent?: Common.PercentageNumber;
|
|
126
126
|
sys?: Common.Duration;
|
|
127
127
|
sys_in_millis?: Common.DurationValueUnitMillis;
|
|
128
128
|
total?: Common.Duration;
|
|
@@ -131,33 +131,33 @@ export interface Cpu {
|
|
|
131
131
|
user_in_millis?: Common.DurationValueUnitMillis;
|
|
132
132
|
}
|
|
133
133
|
|
|
134
|
-
export
|
|
134
|
+
export type CpuAcct = {
|
|
135
135
|
control_group?: string;
|
|
136
136
|
usage_nanos?: Common.DurationValueUnitNanos;
|
|
137
137
|
}
|
|
138
138
|
|
|
139
|
-
export
|
|
140
|
-
available?: Common.
|
|
141
|
-
available_in_bytes?: Common.
|
|
142
|
-
cache_reserved?: Common.
|
|
143
|
-
cache_reserved_in_bytes?: Common.
|
|
139
|
+
export type DataPathStats = {
|
|
140
|
+
available?: Common.HumanReadableByteCount;
|
|
141
|
+
available_in_bytes?: Common.ByteCount;
|
|
142
|
+
cache_reserved?: Common.HumanReadableByteCount;
|
|
143
|
+
cache_reserved_in_bytes?: Common.ByteCount;
|
|
144
144
|
disk_queue?: string;
|
|
145
|
-
disk_read_size?: Common.
|
|
146
|
-
disk_read_size_in_bytes?: Common.
|
|
145
|
+
disk_read_size?: Common.HumanReadableByteCount;
|
|
146
|
+
disk_read_size_in_bytes?: Common.ByteCount;
|
|
147
147
|
disk_reads?: number;
|
|
148
|
-
disk_write_size?: Common.
|
|
149
|
-
disk_write_size_in_bytes?: Common.
|
|
148
|
+
disk_write_size?: Common.HumanReadableByteCount;
|
|
149
|
+
disk_write_size_in_bytes?: Common.ByteCount;
|
|
150
150
|
disk_writes?: number;
|
|
151
|
-
free?: Common.
|
|
152
|
-
free_in_bytes?: Common.
|
|
151
|
+
free?: Common.HumanReadableByteCount;
|
|
152
|
+
free_in_bytes?: Common.ByteCount;
|
|
153
153
|
mount?: string;
|
|
154
154
|
path?: string;
|
|
155
|
-
total?: Common.
|
|
156
|
-
total_in_bytes?: Common.
|
|
155
|
+
total?: Common.HumanReadableByteCount;
|
|
156
|
+
total_in_bytes?: Common.ByteCount;
|
|
157
157
|
type?: string;
|
|
158
158
|
}
|
|
159
159
|
|
|
160
|
-
export
|
|
160
|
+
export type Discovery = {
|
|
161
161
|
cluster_applier_stats?: ClusterAppliedStats;
|
|
162
162
|
cluster_state_queue?: ClusterStateQueue;
|
|
163
163
|
cluster_state_stats?: ClusterStateStats;
|
|
@@ -166,62 +166,62 @@ export interface Discovery {
|
|
|
166
166
|
serialized_cluster_states?: SerializedClusterState;
|
|
167
167
|
}
|
|
168
168
|
|
|
169
|
-
export
|
|
170
|
-
free_percent?:
|
|
171
|
-
used_percent?:
|
|
169
|
+
export type ExtendedMemoryStats = MemoryStats & {
|
|
170
|
+
free_percent?: Common.PercentageNumber;
|
|
171
|
+
used_percent?: Common.PercentageNumber;
|
|
172
172
|
}
|
|
173
173
|
|
|
174
|
-
export
|
|
174
|
+
export type FileSystem = {
|
|
175
175
|
data?: DataPathStats[];
|
|
176
176
|
io_stats?: IoStats;
|
|
177
177
|
timestamp?: number;
|
|
178
178
|
total?: FileSystemTotal;
|
|
179
179
|
}
|
|
180
180
|
|
|
181
|
-
export
|
|
182
|
-
available?: Common.
|
|
183
|
-
available_in_bytes?: Common.
|
|
184
|
-
cache_reserved?: Common.
|
|
185
|
-
cache_reserved_in_bytes?: Common.
|
|
186
|
-
free?: Common.
|
|
187
|
-
free_in_bytes?: Common.
|
|
188
|
-
total?: Common.
|
|
189
|
-
total_in_bytes?: Common.
|
|
181
|
+
export type FileSystemTotal = {
|
|
182
|
+
available?: Common.HumanReadableByteCount;
|
|
183
|
+
available_in_bytes?: Common.ByteCount;
|
|
184
|
+
cache_reserved?: Common.HumanReadableByteCount;
|
|
185
|
+
cache_reserved_in_bytes?: Common.ByteCount;
|
|
186
|
+
free?: Common.HumanReadableByteCount;
|
|
187
|
+
free_in_bytes?: Common.ByteCount;
|
|
188
|
+
total?: Common.HumanReadableByteCount;
|
|
189
|
+
total_in_bytes?: Common.ByteCount;
|
|
190
190
|
}
|
|
191
191
|
|
|
192
|
-
export
|
|
192
|
+
export type GarbageCollector = {
|
|
193
193
|
collectors?: Record<string, GarbageCollectorTotal>;
|
|
194
194
|
}
|
|
195
195
|
|
|
196
|
-
export
|
|
196
|
+
export type GarbageCollectorTotal = {
|
|
197
197
|
collection_count?: number;
|
|
198
198
|
collection_time?: string;
|
|
199
199
|
collection_time_in_millis?: number;
|
|
200
200
|
}
|
|
201
201
|
|
|
202
|
-
export
|
|
202
|
+
export type Http = {
|
|
203
203
|
clients?: Client[];
|
|
204
204
|
current_open?: number;
|
|
205
205
|
total_opened?: number;
|
|
206
206
|
}
|
|
207
207
|
|
|
208
|
-
export
|
|
208
|
+
export type IndexingPressure = {
|
|
209
209
|
memory?: IndexingPressureMemory;
|
|
210
210
|
}
|
|
211
211
|
|
|
212
|
-
export
|
|
212
|
+
export type IndexingPressureMemory = {
|
|
213
213
|
current?: PressureMemory;
|
|
214
|
-
limit?: Common.
|
|
215
|
-
limit_in_bytes?: Common.
|
|
214
|
+
limit?: Common.HumanReadableByteCount;
|
|
215
|
+
limit_in_bytes?: Common.ByteCount;
|
|
216
216
|
total?: PressureMemory;
|
|
217
217
|
}
|
|
218
218
|
|
|
219
|
-
export
|
|
219
|
+
export type Ingest = {
|
|
220
220
|
pipelines?: Record<string, IngestTotal>;
|
|
221
221
|
total?: IngestTotal;
|
|
222
222
|
}
|
|
223
223
|
|
|
224
|
-
export
|
|
224
|
+
export type IngestTotal = {
|
|
225
225
|
count?: number;
|
|
226
226
|
current?: number;
|
|
227
227
|
failed?: number;
|
|
@@ -230,7 +230,7 @@ export interface IngestTotal {
|
|
|
230
230
|
time_in_millis?: Common.DurationValueUnitMillis;
|
|
231
231
|
}
|
|
232
232
|
|
|
233
|
-
export
|
|
233
|
+
export type IoStatDevice = {
|
|
234
234
|
device_name?: string;
|
|
235
235
|
io_time_in_millis?: Common.DurationValueUnitMillis;
|
|
236
236
|
operations?: number;
|
|
@@ -243,12 +243,12 @@ export interface IoStatDevice {
|
|
|
243
243
|
write_time?: number;
|
|
244
244
|
}
|
|
245
245
|
|
|
246
|
-
export
|
|
246
|
+
export type IoStats = {
|
|
247
247
|
devices?: IoStatDevice[];
|
|
248
248
|
total?: IoStatDevice;
|
|
249
249
|
}
|
|
250
250
|
|
|
251
|
-
export
|
|
251
|
+
export type Jvm = {
|
|
252
252
|
buffer_pools?: Record<string, NodeBufferPool>;
|
|
253
253
|
classes?: JvmClasses;
|
|
254
254
|
gc?: GarbageCollector;
|
|
@@ -259,81 +259,84 @@ export interface Jvm {
|
|
|
259
259
|
uptime_in_millis?: number;
|
|
260
260
|
}
|
|
261
261
|
|
|
262
|
-
export
|
|
262
|
+
export type JvmClasses = {
|
|
263
263
|
current_loaded_count?: number;
|
|
264
264
|
total_loaded_count?: number;
|
|
265
265
|
total_unloaded_count?: number;
|
|
266
266
|
}
|
|
267
267
|
|
|
268
|
-
export
|
|
269
|
-
heap_committed?: Common.
|
|
270
|
-
heap_committed_in_bytes?: Common.
|
|
271
|
-
heap_max?: Common.
|
|
272
|
-
heap_max_in_bytes?: Common.
|
|
273
|
-
heap_used?: Common.
|
|
274
|
-
heap_used_in_bytes?: Common.
|
|
275
|
-
heap_used_percent?:
|
|
276
|
-
non_heap_committed?: Common.
|
|
277
|
-
non_heap_committed_in_bytes?: Common.
|
|
278
|
-
non_heap_used?: Common.
|
|
279
|
-
non_heap_used_in_bytes?: Common.
|
|
268
|
+
export type JvmMemoryStats = {
|
|
269
|
+
heap_committed?: Common.HumanReadableByteCount;
|
|
270
|
+
heap_committed_in_bytes?: Common.ByteCount;
|
|
271
|
+
heap_max?: Common.HumanReadableByteCount;
|
|
272
|
+
heap_max_in_bytes?: Common.ByteCount;
|
|
273
|
+
heap_used?: Common.HumanReadableByteCount;
|
|
274
|
+
heap_used_in_bytes?: Common.ByteCount;
|
|
275
|
+
heap_used_percent?: Common.PercentageNumber;
|
|
276
|
+
non_heap_committed?: Common.HumanReadableByteCount;
|
|
277
|
+
non_heap_committed_in_bytes?: Common.ByteCount;
|
|
278
|
+
non_heap_used?: Common.HumanReadableByteCount;
|
|
279
|
+
non_heap_used_in_bytes?: Common.ByteCount;
|
|
280
280
|
pools?: Record<string, Pool>;
|
|
281
281
|
}
|
|
282
282
|
|
|
283
|
-
export
|
|
283
|
+
export type JvmThreads = {
|
|
284
284
|
count?: number;
|
|
285
285
|
peak_count?: number;
|
|
286
286
|
}
|
|
287
287
|
|
|
288
|
-
export
|
|
288
|
+
export type KeyedProcessor = {
|
|
289
289
|
stats?: Processor;
|
|
290
290
|
type?: string;
|
|
291
291
|
}
|
|
292
292
|
|
|
293
|
-
export
|
|
294
|
-
max?: Common.
|
|
295
|
-
max_in_bytes?: Common.
|
|
296
|
-
usage_percent?:
|
|
297
|
-
used?: Common.
|
|
298
|
-
used_in_bytes?: Common.
|
|
293
|
+
export type LastGcStats = {
|
|
294
|
+
max?: Common.HumanReadableByteCount;
|
|
295
|
+
max_in_bytes?: Common.ByteCount;
|
|
296
|
+
usage_percent?: Common.PercentageNumber;
|
|
297
|
+
used?: Common.HumanReadableByteCount;
|
|
298
|
+
used_in_bytes?: Common.ByteCount;
|
|
299
299
|
}
|
|
300
300
|
|
|
301
|
-
export
|
|
302
|
-
adjusted_total_in_bytes?: Common.
|
|
303
|
-
free?: Common.
|
|
304
|
-
free_in_bytes?: Common.
|
|
305
|
-
resident?: Common.
|
|
306
|
-
resident_in_bytes?: Common.
|
|
307
|
-
share?: Common.
|
|
308
|
-
share_in_bytes?: Common.
|
|
309
|
-
total?: Common.
|
|
310
|
-
total_in_bytes?: Common.
|
|
311
|
-
total_virtual?: Common.
|
|
312
|
-
total_virtual_in_bytes?: Common.
|
|
313
|
-
used?: Common.
|
|
314
|
-
used_in_bytes?: Common.
|
|
301
|
+
export type MemoryStats = {
|
|
302
|
+
adjusted_total_in_bytes?: Common.ByteCount;
|
|
303
|
+
free?: Common.HumanReadableByteCount;
|
|
304
|
+
free_in_bytes?: Common.ByteCount;
|
|
305
|
+
resident?: Common.HumanReadableByteCount;
|
|
306
|
+
resident_in_bytes?: Common.ByteCount;
|
|
307
|
+
share?: Common.HumanReadableByteCount;
|
|
308
|
+
share_in_bytes?: Common.ByteCount;
|
|
309
|
+
total?: Common.HumanReadableByteCount;
|
|
310
|
+
total_in_bytes?: Common.ByteCount;
|
|
311
|
+
total_virtual?: Common.HumanReadableByteCount;
|
|
312
|
+
total_virtual_in_bytes?: Common.ByteCount;
|
|
313
|
+
used?: Common.HumanReadableByteCount;
|
|
314
|
+
used_in_bytes?: Common.ByteCount;
|
|
315
315
|
}
|
|
316
316
|
|
|
317
|
-
export
|
|
317
|
+
export type NodeBufferPool = {
|
|
318
318
|
count?: number;
|
|
319
|
-
total_capacity?: Common.
|
|
320
|
-
total_capacity_in_bytes?: Common.
|
|
321
|
-
used?: Common.
|
|
322
|
-
used_in_bytes?: Common.
|
|
319
|
+
total_capacity?: Common.HumanReadableByteCount;
|
|
320
|
+
total_capacity_in_bytes?: Common.ByteCount;
|
|
321
|
+
used?: Common.HumanReadableByteCount;
|
|
322
|
+
used_in_bytes?: Common.ByteCount;
|
|
323
323
|
}
|
|
324
324
|
|
|
325
|
-
export
|
|
326
|
-
name: Common.Name;
|
|
325
|
+
export type NodeReloadError = NodeReloadResponse & {
|
|
327
326
|
reload_exception?: Common.ErrorCause;
|
|
328
327
|
}
|
|
329
328
|
|
|
330
|
-
export type
|
|
329
|
+
export type NodeReloadResponse = {
|
|
330
|
+
name: Common.Name;
|
|
331
|
+
}
|
|
332
|
+
|
|
333
|
+
export type NodeReloadResult = NodeReloadResponse | NodeReloadError
|
|
331
334
|
|
|
332
|
-
export
|
|
335
|
+
export type NodesResponseBase = {
|
|
333
336
|
_nodes?: Common.NodeStatistics;
|
|
334
337
|
}
|
|
335
338
|
|
|
336
|
-
export
|
|
339
|
+
export type OperatingSystem = {
|
|
337
340
|
cgroup?: Cgroup;
|
|
338
341
|
cpu?: Cpu;
|
|
339
342
|
mem?: ExtendedMemoryStats;
|
|
@@ -341,35 +344,35 @@ export interface OperatingSystem {
|
|
|
341
344
|
timestamp?: number;
|
|
342
345
|
}
|
|
343
346
|
|
|
344
|
-
export
|
|
347
|
+
export type Pool = {
|
|
345
348
|
last_gc_stats?: LastGcStats;
|
|
346
|
-
max?: Common.
|
|
347
|
-
max_in_bytes?: Common.
|
|
348
|
-
peak_max?: Common.
|
|
349
|
-
peak_max_in_bytes?: Common.
|
|
350
|
-
peak_used?: Common.
|
|
351
|
-
peak_used_in_bytes?: Common.
|
|
352
|
-
used?: Common.
|
|
353
|
-
used_in_bytes?: Common.
|
|
354
|
-
}
|
|
355
|
-
|
|
356
|
-
export
|
|
357
|
-
all?: Common.
|
|
358
|
-
all_in_bytes?: Common.
|
|
359
|
-
combined_coordinating_and_primary?: Common.
|
|
360
|
-
combined_coordinating_and_primary_in_bytes?: Common.
|
|
361
|
-
coordinating?: Common.
|
|
362
|
-
coordinating_in_bytes?: Common.
|
|
349
|
+
max?: Common.HumanReadableByteCount;
|
|
350
|
+
max_in_bytes?: Common.ByteCount;
|
|
351
|
+
peak_max?: Common.HumanReadableByteCount;
|
|
352
|
+
peak_max_in_bytes?: Common.ByteCount;
|
|
353
|
+
peak_used?: Common.HumanReadableByteCount;
|
|
354
|
+
peak_used_in_bytes?: Common.ByteCount;
|
|
355
|
+
used?: Common.HumanReadableByteCount;
|
|
356
|
+
used_in_bytes?: Common.ByteCount;
|
|
357
|
+
}
|
|
358
|
+
|
|
359
|
+
export type PressureMemory = {
|
|
360
|
+
all?: Common.HumanReadableByteCount;
|
|
361
|
+
all_in_bytes?: Common.ByteCount;
|
|
362
|
+
combined_coordinating_and_primary?: Common.HumanReadableByteCount;
|
|
363
|
+
combined_coordinating_and_primary_in_bytes?: Common.ByteCount;
|
|
364
|
+
coordinating?: Common.HumanReadableByteCount;
|
|
365
|
+
coordinating_in_bytes?: Common.ByteCount;
|
|
363
366
|
coordinating_rejections?: number;
|
|
364
|
-
primary?: Common.
|
|
365
|
-
primary_in_bytes?: Common.
|
|
367
|
+
primary?: Common.HumanReadableByteCount;
|
|
368
|
+
primary_in_bytes?: Common.ByteCount;
|
|
366
369
|
primary_rejections?: number;
|
|
367
|
-
replica?: Common.
|
|
368
|
-
replica_in_bytes?: Common.
|
|
370
|
+
replica?: Common.HumanReadableByteCount;
|
|
371
|
+
replica_in_bytes?: Common.ByteCount;
|
|
369
372
|
replica_rejections?: number;
|
|
370
373
|
}
|
|
371
374
|
|
|
372
|
-
export
|
|
375
|
+
export type Process = {
|
|
373
376
|
cpu?: Cpu;
|
|
374
377
|
max_file_descriptors?: number;
|
|
375
378
|
mem?: MemoryStats;
|
|
@@ -377,36 +380,41 @@ export interface Process {
|
|
|
377
380
|
timestamp?: number;
|
|
378
381
|
}
|
|
379
382
|
|
|
380
|
-
export
|
|
383
|
+
export type Processor = {
|
|
381
384
|
count?: number;
|
|
382
385
|
current?: number;
|
|
383
386
|
failed?: number;
|
|
387
|
+
time?: Common.Duration;
|
|
384
388
|
time_in_millis?: Common.DurationValueUnitMillis;
|
|
385
389
|
}
|
|
386
390
|
|
|
387
|
-
export
|
|
391
|
+
export type PublishedClusterStates = {
|
|
388
392
|
compatible_diffs?: number;
|
|
389
393
|
full_states?: number;
|
|
390
394
|
incompatible_diffs?: number;
|
|
391
395
|
}
|
|
392
396
|
|
|
393
|
-
export
|
|
397
|
+
export type Recording = {
|
|
394
398
|
cumulative_execution_count?: number;
|
|
395
399
|
cumulative_execution_time?: Common.Duration;
|
|
396
400
|
cumulative_execution_time_millis?: Common.DurationValueUnitMillis;
|
|
397
401
|
name?: string;
|
|
398
402
|
}
|
|
399
403
|
|
|
404
|
+
export type RemoteStoreStats = {
|
|
405
|
+
last_successful_fetch_of_pinned_timestamps?: Common.StringifiedEpochTimeUnitSeconds;
|
|
406
|
+
}
|
|
407
|
+
|
|
400
408
|
export type SampleType = 'block' | 'cpu' | 'wait'
|
|
401
409
|
|
|
402
|
-
export
|
|
410
|
+
export type ScriptCache = {
|
|
403
411
|
cache_evictions?: number;
|
|
404
412
|
compilation_limit_triggered?: number;
|
|
405
413
|
compilations?: number;
|
|
406
414
|
context?: string;
|
|
407
415
|
}
|
|
408
416
|
|
|
409
|
-
export
|
|
417
|
+
export type Scripting = {
|
|
410
418
|
cache_evictions?: number;
|
|
411
419
|
compilation_limit_triggered?: number;
|
|
412
420
|
compilations?: number;
|
|
@@ -414,46 +422,46 @@ export interface Scripting {
|
|
|
414
422
|
contexts?: Context[];
|
|
415
423
|
}
|
|
416
424
|
|
|
417
|
-
export
|
|
425
|
+
export type SerializedClusterState = {
|
|
418
426
|
diffs?: SerializedClusterStateDetail;
|
|
419
427
|
full_states?: SerializedClusterStateDetail;
|
|
420
428
|
}
|
|
421
429
|
|
|
422
|
-
export
|
|
423
|
-
compressed_size?: Common.
|
|
424
|
-
compressed_size_in_bytes?: Common.
|
|
430
|
+
export type SerializedClusterStateDetail = {
|
|
431
|
+
compressed_size?: Common.HumanReadableByteCount;
|
|
432
|
+
compressed_size_in_bytes?: Common.ByteCount;
|
|
425
433
|
count?: number;
|
|
426
|
-
uncompressed_size?: Common.
|
|
427
|
-
uncompressed_size_in_bytes?: Common.
|
|
434
|
+
uncompressed_size?: Common.HumanReadableByteCount;
|
|
435
|
+
uncompressed_size_in_bytes?: Common.ByteCount;
|
|
428
436
|
}
|
|
429
437
|
|
|
430
|
-
export
|
|
438
|
+
export type ShardAdmissionControlStats = {
|
|
431
439
|
global_cpu_usage?: UsageStats;
|
|
432
440
|
global_io_usage?: UsageStats;
|
|
433
441
|
}
|
|
434
442
|
|
|
435
443
|
export type ShardCachesStats = Record<string, ShardCacheStats>
|
|
436
444
|
|
|
437
|
-
export
|
|
445
|
+
export type ShardCacheStats = {
|
|
438
446
|
evictions?: number;
|
|
439
447
|
hit_count?: number;
|
|
440
448
|
item_count?: number;
|
|
441
449
|
miss_count?: number;
|
|
442
|
-
size?: Common.
|
|
443
|
-
size_in_bytes?: Common.
|
|
450
|
+
size?: Common.HumanReadableByteCount;
|
|
451
|
+
size_in_bytes?: Common.ByteCount;
|
|
444
452
|
store_name?: string;
|
|
445
453
|
}
|
|
446
454
|
|
|
447
|
-
export
|
|
455
|
+
export type ShardClusterManagerThrottlingStats = {
|
|
448
456
|
stats?: ShardClusterManagerThrottlingStatsDetail;
|
|
449
457
|
}
|
|
450
458
|
|
|
451
|
-
export
|
|
459
|
+
export type ShardClusterManagerThrottlingStatsDetail = {
|
|
452
460
|
throttled_tasks_per_task_type?: Record<string, any>;
|
|
453
461
|
total_throttled_tasks?: number;
|
|
454
462
|
}
|
|
455
463
|
|
|
456
|
-
export
|
|
464
|
+
export type ShardIndexingPressureStats = {
|
|
457
465
|
enabled?: boolean;
|
|
458
466
|
enforced?: boolean;
|
|
459
467
|
stats?: Record<string, any>;
|
|
@@ -465,33 +473,33 @@ export type ShardRepositoriesStats = any[]
|
|
|
465
473
|
|
|
466
474
|
export type ShardResourceUsageStats = Record<string, ShardResourceUsageStatsDetail>
|
|
467
475
|
|
|
468
|
-
export
|
|
469
|
-
cpu_utilization_percent?: Common.
|
|
476
|
+
export type ShardResourceUsageStatsDetail = {
|
|
477
|
+
cpu_utilization_percent?: Common.PercentageString;
|
|
470
478
|
io_usage_stats?: ShardResourceUsageStatsIoUsageStats;
|
|
471
|
-
memory_utilization_percent?: Common.
|
|
479
|
+
memory_utilization_percent?: Common.PercentageString;
|
|
472
480
|
timestamp?: number;
|
|
473
481
|
}
|
|
474
482
|
|
|
475
|
-
export
|
|
476
|
-
max_io_utilization_percent?: Common.
|
|
483
|
+
export type ShardResourceUsageStatsIoUsageStats = {
|
|
484
|
+
max_io_utilization_percent?: Common.PercentageString;
|
|
477
485
|
}
|
|
478
486
|
|
|
479
487
|
export type ShardSearchBackpressureMode = 'disabled' | 'enforced' | 'monitor_only'
|
|
480
488
|
|
|
481
|
-
export
|
|
489
|
+
export type ShardSearchBackpressureStats = {
|
|
482
490
|
mode?: ShardSearchBackpressureMode;
|
|
483
491
|
search_shard_task?: ShardSearchBackpressureTaskStats;
|
|
484
492
|
search_task?: ShardSearchBackpressureTaskStats;
|
|
485
493
|
}
|
|
486
494
|
|
|
487
|
-
export
|
|
495
|
+
export type ShardSearchBackpressureTaskCancellationStats = {
|
|
488
496
|
cancellation_count?: number;
|
|
489
497
|
cancellation_limit_reached_count?: number;
|
|
490
|
-
cancelled_task_percentage?:
|
|
498
|
+
cancelled_task_percentage?: Common.PercentageNumber;
|
|
491
499
|
current_cancellation_eligible_tasks_count?: number;
|
|
492
500
|
}
|
|
493
501
|
|
|
494
|
-
export
|
|
502
|
+
export type ShardSearchBackpressureTaskResourceTrackerCpuUsageTrackerStats = {
|
|
495
503
|
cancellation_count?: number;
|
|
496
504
|
current_avg?: Common.Duration;
|
|
497
505
|
current_avg_millis?: Common.DurationValueUnitMillis;
|
|
@@ -499,7 +507,7 @@ export interface ShardSearchBackpressureTaskResourceTrackerCpuUsageTrackerStats
|
|
|
499
507
|
current_max_millis?: Common.DurationValueUnitMillis;
|
|
500
508
|
}
|
|
501
509
|
|
|
502
|
-
export
|
|
510
|
+
export type ShardSearchBackpressureTaskResourceTrackerElapsedTimeTrackerStats = {
|
|
503
511
|
cancellation_count?: number;
|
|
504
512
|
current_avg?: Common.Duration;
|
|
505
513
|
current_avg_millis?: Common.DurationValueUnitMillis;
|
|
@@ -507,35 +515,35 @@ export interface ShardSearchBackpressureTaskResourceTrackerElapsedTimeTrackerSta
|
|
|
507
515
|
current_max_millis?: Common.DurationValueUnitMillis;
|
|
508
516
|
}
|
|
509
517
|
|
|
510
|
-
export
|
|
518
|
+
export type ShardSearchBackpressureTaskResourceTrackerHeapUsageTrackerStats = {
|
|
511
519
|
cancellation_count?: number;
|
|
512
|
-
current_avg?: Common.
|
|
513
|
-
current_avg_bytes?: Common.
|
|
514
|
-
current_max?: Common.
|
|
515
|
-
current_max_bytes?: Common.
|
|
516
|
-
rolling_avg?: Common.
|
|
517
|
-
rolling_avg_bytes?: Common.
|
|
520
|
+
current_avg?: Common.HumanReadableByteCount;
|
|
521
|
+
current_avg_bytes?: Common.ByteCount;
|
|
522
|
+
current_max?: Common.HumanReadableByteCount;
|
|
523
|
+
current_max_bytes?: Common.ByteCount;
|
|
524
|
+
rolling_avg?: Common.HumanReadableByteCount;
|
|
525
|
+
rolling_avg_bytes?: Common.ByteCount;
|
|
518
526
|
}
|
|
519
527
|
|
|
520
|
-
export
|
|
528
|
+
export type ShardSearchBackpressureTaskResourceTrackerStats = {
|
|
521
529
|
cpu_usage_tracker?: ShardSearchBackpressureTaskResourceTrackerCpuUsageTrackerStats;
|
|
522
530
|
elapsed_time_tracker?: ShardSearchBackpressureTaskResourceTrackerElapsedTimeTrackerStats;
|
|
523
531
|
heap_usage_tracker?: ShardSearchBackpressureTaskResourceTrackerHeapUsageTrackerStats;
|
|
524
532
|
}
|
|
525
533
|
|
|
526
|
-
export
|
|
534
|
+
export type ShardSearchBackpressureTaskStats = {
|
|
527
535
|
cancellation_stats?: ShardSearchBackpressureTaskCancellationStats;
|
|
528
536
|
completion_count?: number;
|
|
529
537
|
resource_tracker_stats?: ShardSearchBackpressureTaskResourceTrackerStats;
|
|
530
538
|
}
|
|
531
539
|
|
|
532
|
-
export
|
|
540
|
+
export type ShardSearchPipelineStats = {
|
|
533
541
|
pipelines?: Record<string, any>;
|
|
534
542
|
total_request?: ShardSearchPipelineTotalStats;
|
|
535
543
|
total_response?: ShardSearchPipelineTotalStats;
|
|
536
544
|
}
|
|
537
545
|
|
|
538
|
-
export
|
|
546
|
+
export type ShardSearchPipelineTotalStats = {
|
|
539
547
|
count?: number;
|
|
540
548
|
current?: number;
|
|
541
549
|
failed?: number;
|
|
@@ -543,28 +551,28 @@ export interface ShardSearchPipelineTotalStats {
|
|
|
543
551
|
time_in_millis?: Common.DurationValueUnitMillis;
|
|
544
552
|
}
|
|
545
553
|
|
|
546
|
-
export
|
|
554
|
+
export type ShardSegmentReplicationBackpressureStats = {
|
|
547
555
|
total_rejected_requests?: number;
|
|
548
556
|
}
|
|
549
557
|
|
|
550
|
-
export
|
|
558
|
+
export type ShardTaskCancellationStats = {
|
|
551
559
|
search_shard_task?: ShardTaskCancellationStatsDetail;
|
|
552
560
|
}
|
|
553
561
|
|
|
554
|
-
export
|
|
562
|
+
export type ShardTaskCancellationStatsDetail = {
|
|
555
563
|
current_count_post_cancel?: number;
|
|
556
564
|
total_count_post_cancel?: number;
|
|
557
565
|
}
|
|
558
566
|
|
|
559
|
-
export
|
|
567
|
+
export type ShardWeightedRoutingStats = {
|
|
560
568
|
stats?: ShardWeightedRoutingStatsDetail;
|
|
561
569
|
}
|
|
562
570
|
|
|
563
|
-
export
|
|
571
|
+
export type ShardWeightedRoutingStatsDetail = {
|
|
564
572
|
fail_open_count?: number;
|
|
565
573
|
}
|
|
566
574
|
|
|
567
|
-
export
|
|
575
|
+
export type Stats = {
|
|
568
576
|
adaptive_selection?: Record<string, AdaptiveSelection>;
|
|
569
577
|
admission_control?: ShardAdmissionControlStats;
|
|
570
578
|
attributes?: Record<string, string>;
|
|
@@ -583,6 +591,7 @@ export interface Stats {
|
|
|
583
591
|
name?: Common.Name;
|
|
584
592
|
os?: OperatingSystem;
|
|
585
593
|
process?: Process;
|
|
594
|
+
remote_store?: RemoteStoreStats;
|
|
586
595
|
repositories?: ShardRepositoriesStats;
|
|
587
596
|
resource_usage_stats?: ShardResourceUsageStats;
|
|
588
597
|
roles?: Common.NodeRoles;
|
|
@@ -600,7 +609,7 @@ export interface Stats {
|
|
|
600
609
|
weighted_routing?: ShardWeightedRoutingStats;
|
|
601
610
|
}
|
|
602
611
|
|
|
603
|
-
export
|
|
612
|
+
export type ThreadCount = {
|
|
604
613
|
active?: number;
|
|
605
614
|
completed?: number;
|
|
606
615
|
largest?: number;
|
|
@@ -611,36 +620,36 @@ export interface ThreadCount {
|
|
|
611
620
|
total_wait_time_in_nanos?: number;
|
|
612
621
|
}
|
|
613
622
|
|
|
614
|
-
export
|
|
623
|
+
export type TotalRejectionsBreakup = {
|
|
615
624
|
no_successful_request_limits?: number;
|
|
616
625
|
node_limits?: number;
|
|
617
626
|
throughput_degradation_limits?: number;
|
|
618
627
|
}
|
|
619
628
|
|
|
620
|
-
export
|
|
629
|
+
export type Transport = {
|
|
621
630
|
inbound_handling_time_histogram?: TransportHistogram[];
|
|
622
631
|
outbound_handling_time_histogram?: TransportHistogram[];
|
|
623
632
|
rx_count?: number;
|
|
624
|
-
rx_size?: Common.
|
|
625
|
-
rx_size_in_bytes?: Common.
|
|
633
|
+
rx_size?: Common.HumanReadableByteCount;
|
|
634
|
+
rx_size_in_bytes?: Common.ByteCount;
|
|
626
635
|
server_open?: number;
|
|
627
636
|
total_outbound_connections?: number;
|
|
628
637
|
tx_count?: number;
|
|
629
|
-
tx_size?: Common.
|
|
630
|
-
tx_size_in_bytes?: Common.
|
|
638
|
+
tx_size?: Common.HumanReadableByteCount;
|
|
639
|
+
tx_size_in_bytes?: Common.ByteCount;
|
|
631
640
|
}
|
|
632
641
|
|
|
633
|
-
export
|
|
642
|
+
export type TransportHistogram = {
|
|
634
643
|
count?: number;
|
|
635
644
|
ge_millis?: number;
|
|
636
645
|
lt_millis?: number;
|
|
637
646
|
}
|
|
638
647
|
|
|
639
|
-
export
|
|
648
|
+
export type TransportUsageStats = {
|
|
640
649
|
rejection_count?: Record<string, any>;
|
|
641
650
|
}
|
|
642
651
|
|
|
643
|
-
export
|
|
652
|
+
export type UsageStats = {
|
|
644
653
|
transport?: TransportUsageStats;
|
|
645
654
|
}
|
|
646
655
|
|