stack es simulate ingest cli command
Auth required
Idempotent
Scope: global
elastic stack es simulate ingest --docs <docs> [options]
Simulate data ingestion.
--docsstring[]required- Sample documents to test in the pipeline.
--indexstring- The index to simulate ingesting into. This value can be overridden by specifying an index on each document. If you specify this parameter in the request path, it is used for any documents that do not explicitly specify an index argument.
--pipelinestring- The pipeline to use as the default pipeline. This value can be used to override the default pipeline of the index.
--merge-typestring- The mapping merge type if mapping overrides are being provided in mapping_addition. The allowed values are one of index or template. The index option merges mappings the way they would be merged into an existing index. The template option merges mappings the way they would be merged into a template.
--component-template-substitutionsstring- A map of component template names to substitute component template definition objects.
--index-template-substitutionsstring- A map of index template names to substitute index template definition objects.
--mapping-additionstring--pipeline-substitutionsstring- Pipelines to test. If you don’t specify the
pipelinerequest path parameter, this parameter is required. If you specify both this and the request path parameter, the API only uses the request path parameter.
--input-filestring- path to a JSON file to use as command input
-V--[no-]version- Print the Elastic CLI version
--config-filestring- path to a config file (default: ~/.elasticrc.yml)
--use-contextstring- override the active context from the config file
--command-profilestring- restrict available commands to a deployment profile (serverless, stack, default)
--[no-]json- output as JSON
--output-fieldsstring- comma-separated list of fields to include in output (dot-notation supported)
--output-templatestring- Mustache-like template for custom text output (e.g. "{{id}}: {{name}}")
--[no-]dry-run-
validate all inputs and exit without performing any action (preview changes without applying them)