stack es indices analyze cli command
Auth required
Idempotent
Scope: global
elastic stack es indices analyze [options]
Get tokens from text analysis.
--indexstring- Index used to derive the analyzer. If specified, the
analyzeror field parameter overrides this value. If no index is specified or the index does not have a default analyzer, the analyze API uses the standard analyzer. --analyzerstring- The name of the analyzer that should be applied to the provided
text. This could be a built-in analyzer, or an analyzer that’s been configured in the index. --attributesstring[]- Array of token attributes used to filter the output of the
explainparameter. --char-filterstring[]- Array of character filters used to preprocess characters before the tokenizer.
--[no-]explain- If
true, the response includes token attributes and additional details. --fieldstring- Field used to derive the analyzer. To use this parameter, you must specify an index. If specified, the
analyzerparameter overrides this value. --filterstring[]- Array of token filters used to apply after the tokenizer.
--normalizerstring- Normalizer to use to convert text into a single token.
--textstring-
Text to analyze. If an array of strings is provided, it is analyzed as a multi-value field.
Repeatable: pass
--textmultiple times to supply more than one value --tokenizerstring- Tokenizer to use to convert text into tokens.
--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)