stack es ml get-influencers cli command
Auth required
Idempotent
Scope: global
elastic stack es ml get-influencers --job-id <job-id> [options]
Get anomaly detection job results for influencers.
Behaviour flags:
--dry-run — validate all inputs and exit without performing any action
--job-idstringrequired- Identifier for the anomaly detection job.
--desc- If true, the results are sorted in descending order.
--endstring- Returns influencers with timestamps earlier than this time. The default value means it is unset and results are not limited to specific timestamps.
--exclude-interim- If true, the output excludes interim results. By default, interim results are included.
--influencer-scorenumber- Returns influencers with anomaly scores greater than or equal to this value.
--fromnumber- Skips the specified number of influencers.
--sizenumber- Specifies the maximum number of influencers to obtain.
--sortstring- Specifies the sort field for the requested influencers. By default, the
influencers are sorted by the
influencer_scorevalue. --startstring- Returns influencers with timestamps after this time. The default value means it is unset and results are not limited to specific timestamps.
--pagestring- Configures pagination.
This parameter has the
fromandsizeproperties. --error-trace- When set to
trueElasticsearch will include the full stack trace of errors when they occur. --filter-pathstring-
Comma-separated list of filters in dot notation which reduce the response returned by Elasticsearch.
Repeatable: pass
--filter-pathmultiple times to supply more than one value --human- When set to
truewill return statistics in a format suitable for humans. For example"exists_time": "1h"for humans and"exists_time_in_millis": 3600000for computers. When disabled the human readable values will be omitted. This makes sense for responses being consumed only by machines. --pretty- If set to
truethe returned JSON will be "pretty-formatted". Only use this option for debugging only. --input-filestring- path to a JSON file to use as command input
--dry-run- validate all inputs and exit without performing any action (preview changes without applying them)
--json-
output as JSON