Loading

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-id string required
The unique identifier of the connector sync job.
--deleted-document-count number required
The number of documents the sync job deleted.
--indexed-document-count number required
The number of documents the sync job indexed.
--indexed-document-volume number required
The total size of the data (in MiB) the sync job indexed.
--last-seen string
The timestamp to use in the last_seen property for the connector sync job.
--metadata string
The connector-specific metadata.
--total-document-count number
The total number of documents in the target index after the sync job finished.
--input-file string
path to a JSON file to use as command input
-V --[no-]version
Print the Elastic CLI version
--config-file string
path to a config file (default: ~/.elasticrc.yml)
--use-context string
override the active context from the config file
--command-profile string
restrict available commands to a deployment profile (serverless, stack, default)
--[no-]json
output as JSON
--output-fields string
comma-separated list of fields to include in output (dot-notation supported)
--output-template string
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)