stack kb security-entity-analytics-api init-entity-engine cli command
Auth required
elastic stack kb security-entity-analytics-api init-entity-engine \
--entity-type <entity-type> \
[options]
Initialize an Entity Engine
Behaviour flags:
--dry-run — validate all inputs and exit without performing any action
--entity-typestringrequired- The entity type of the engine.
--delaystring- The delay before the transform will run.
--docs-per-secondnumber- The number of documents per second to process.
--enrich-policy-execution-intervalstring- Interval in which enrich policy runs. For example,
"1h"means the rule runs every hour. Must be less than or equal to half the duration of the lookback period, --field-history-lengthnumber- The number of historical values to keep for each field.
--filterstring--frequencystring- The frequency at which the transform will run.
--index-patternstring--lookback-periodstring- The amount of time the transform looks back to calculate the aggregations.
--max-page-search-sizenumber- The initial page size to use for the composite aggregation of each checkpoint.
--timeoutstring- The timeout for initializing the aggregating transform.
--timestamp-fieldstring- The field to use as the timestamp for the entity type.
--input-filestring- path to a JSON file to use as command input
--[no-]dry-run- validate all inputs and exit without performing any action (preview changes without applying them)
--[no-]json-
output as JSON