stack es connector sync-job-update-stats cli command
Auth required
Idempotent
Scope: global
elastic stack es connector sync-job-update-stats \
--connector-sync-job-id <connector-sync-job-id> \
--deleted-document-count <deleted-document-count> \
--indexed-document-count <indexed-document-count> \
--indexed-document-volume <indexed-document-volume> \
[options]
Set the connector sync job stats.
--connector-sync-job-idstringrequired- The unique identifier of the connector sync job.
--deleted-document-countnumberrequired- The number of documents the sync job deleted.
--indexed-document-countnumberrequired- The number of documents the sync job indexed.
--indexed-document-volumenumberrequired- The total size of the data (in MiB) the sync job indexed.
--last-seenstring- The timestamp to use in the
last_seenproperty for the connector sync job. --metadatastring- The connector-specific metadata.
--total-document-countnumber- The total number of documents in the target index after the sync job finished.
--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)