A newer version is available. For the latest information, see the current release documentation.
action: create_index description: "Create index as named" options: name: extra_settings: timeout_override: continue_if_exception: False disable_action: False filters: - filtertype: ...
Empty values and commented lines will result in the default value, if any, being selected. If a setting is set, but not used by a given action, it will be ignored.
This action creates the named index.
The extra_settings option allows the addition of extra settings, such as index settings and mappings. An example of how these settings can be used to create an index might be:
extra_settings: settings: number_of_shards: 1 number_of_replicas: 0 mappings: type1 : properties: field1: type: string index: not_analyzed
- extra_settings No default value. You can add any acceptable index settings and mappings as nested YAML. See the Elasticsearch Create Index API documentation for more information.
- timeout_override (can override the default timeout)
- continue_if_exception (has a default value which can optionally be changed)
- disable_action (has a default value which can optionally be changed)
See an example of this action in an actionfile here.
Intro to Kibana
ELK for Logs & Metrics