Hi,
I am testing curator to create a new index in Elasticsearch 5.1.1. Following are my config and action file respectively
Config File :-
client:
hosts:
- localhost
port:
- 9200
url_prefix:
use_ssl: False
certificate:
client_cert:
client_key:
aws_key:
aws_secret_key:
aws_region:
ssl_no_validate: False
timeout: 30
master_only: False
Action File :-
actions:
1:
action: create_index
description: "Create index as named"
options:
name: new_index
extra_settings:
settings:
number_of_shards: 1
number_of_replicas: 0
timeout_override:
continue_if_exception: false
disable_action: false
After running it by the command
curator --config C:\Users\user\Desktop\config.yml --dry-run C:\Users\user\Desktop\file.yml
It shows the message
2017-03-08 18:02:58,316 INFO Preparing Action ID: 1, "create_index"
2017-03-08 18:02:58,363 INFO Trying Action ID: 1, "create_index": Create index as named
2017-03-08 18:02:58,363 INFO DRY-RUN MODE. No changes will be made.
2017-03-08 18:02:58,363 INFO DRY-RUN: create_index "new_index" with arguments: {'settings': {'number_of_shards': 1, 'number_of_replicas': 0}}
2017-03-08 18:02:58,363 INFO Action ID: 1, "create_index" completed.
2017-03-08 18:02:58,379 INFO Job completed.
But after running curl localhost:9200/_cat/indices , I don't see any new index created.
I feel like there is a problem in the config file most probably. Please help me out.
P.S :- I have also used 127.0.0.1 and local machine IP in the host