elastalert-create-index1
Elastalert-create-index
Overview
usage: elastalert-create-index [-h] [--host HOST] [--port PORT]
- [--username USERNAME] [--password PASSWORD]
-
[--url-prefix URL_PREFIX] [--no-auth] [--ssl] [--no-ssl] [--verify-certs] [--no-verify-certs] [--index INDEX] [--alias ALIAS] [--old-index OLD_INDEX] [--send_get_body_as SEND_GET_BODY_AS] [--boto-profile PROFILE] [--profile PROFILE] [--aws-region AWS_REGION] [--timeout TIMEOUT] [--config CONFIG] [--recreate RECREATE]
options:
-
-h, --help -
show this help message and exit
-
--host HOST -
Elasticsearch host
-
--port PORT -
Elasticsearch port
-
--username USERNAME -
Elasticsearch username
-
--password PASSWORD -
Elasticsearch password
-
--url-prefix URL_PREFIX -
Elasticsearch URL prefix
-
--no-auth -
Suppress prompt for basic auth
-
--ssl -
Use TLS
-
--no-ssl -
Do not use TLS
-
--verify-certs -
Verify TLS certificates
-
--no-verify-certs -
Do not verify TLS certificates
-
--index INDEX -
Index name to create
-
--alias ALIAS -
Alias name to create
-
--old-index OLD_INDEX -
Old index name to copy
-
--send_get_body_as SEND_GET_BODY_AS -
Method for querying Elasticsearch - POST, GET or source
-
--boto-profile PROFILE -
DEPRECATED: (use
--profile) Boto profile to use for signing requests
-
--profile PROFILE -
AWS profile to use for signing requests. Optionally use the AWS_DEFAULT_PROFILE environment variable
-
--aws-region AWS_REGION -
AWS Region to use for signing requests. Optionally use the AWS_DEFAULT_REGION environment variable
-
--timeout TIMEOUT -
Elasticsearch request timeout
-
--config CONFIG -
Global config file (default: config.yaml)
-
--recreate RECREATE -
Force re-creation of the index (this will cause data loss).