# Curator command error in windows

**URL:** https://discuss.elastic.co/t/curator-command-error-in-windows/124385
**Category:** Elasticsearch
**Created:** [March 17, 2018, 4:47am UTC](https://discuss.elastic.co/t/curator-command-error-in-windows/124385 "2018-03-17T04:47:44Z")
**Posts on this page:** 7
**Page:** 1

<div class="post-metadata">

### Author: ![malc\_richi](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/malc_richi/32/28895_2.png) [@malc\_richi](https://discuss.elastic.co/u/malc_richi)
#### Post date: [March 17, 2018, 4:47am UTC](https://discuss.elastic.co/t/curator-command-error-in-windows/124385/1 "2018-03-17T04:47:44Z")

</div>

Hi There,  
Under going a couple of issues,below is the list of activities preformed:

1.installed elastic search 5.4.3 - successful  
2. Installed Python version 3.6 - successful  
3 have pip set.  
4.Trying to install curator now?  
5.i had entered the following command in CMD  
Pip install elastic search - curator  
6.And it was successful and when. Entered curator -- version it displays 5.4.1  
7.so is it perfectly installed?  
8.now I have to delete few indexes in ES , how do I proceed.  
9.tried a few commands like curator delete indices .... But throws an error.

My elastic is up end running

---

<div class="post-metadata">

### Author: ![thiago](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/thiago/32/32096_2.png) [@thiago](https://discuss.elastic.co/u/thiago)
#### Post date: [March 18, 2018, 3:06pm UTC](https://discuss.elastic.co/t/curator-command-error-in-windows/124385/2 "2018-03-18T15:06:34Z")

</div>

It will help if you attach here the error.

---

<div class="post-metadata">

### Author: ![theuntergeek](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/theuntergeek/32/44961_2.png) [@theuntergeek](https://discuss.elastic.co/u/theuntergeek)
#### Post date: [March 18, 2018, 5:25pm UTC](https://discuss.elastic.co/t/curator-command-error-in-windows/124385/3 "2018-03-18T17:25:54Z")

</div>

It will also help you you include your configuration files — minus the credentials, of course.

---

<div class="post-metadata">

### Author: ![malc\_richi](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/malc_richi/32/28895_2.png) [@malc\_richi](https://discuss.elastic.co/u/malc_richi)
#### Post date: [March 19, 2018, 10:34am UTC](https://discuss.elastic.co/t/curator-command-error-in-windows/124385/4 "2018-03-19T10:34:50Z")

</div>

hi ,  
Please find the below screenshot and the commands im using ...Is this the correct approach?

 ![error%20screenshots](https://us1.discourse-cdn.com/elastic/original/3X/3/1/3155d164f8a894cff91cc04468d2ed89a26e0b8d.jpg) ![jpg](https://us1.discourse-cdn.com/elastic/original/3X/d/e/defc4930576d7b8e6ccd8bc71cdfc275a4efbabe.png) ![jpg](https://us1.discourse-cdn.com/elastic/original/3X/5/2/5275c60ddba995e8e9fbdedfabf5c3a84669021f.png) ![jpg](https://us1.discourse-cdn.com/elastic/original/3X/5/7/57bbc7b8969a41aae96861426eabe5f9ed755ca0.png)

---

<div class="post-metadata">

### Author: ![theuntergeek](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/theuntergeek/32/44961_2.png) [@theuntergeek](https://discuss.elastic.co/u/theuntergeek)
#### Post date: [March 19, 2018, 5:44pm UTC](https://discuss.elastic.co/t/curator-command-error-in-windows/124385/5 "2018-03-19T17:44:03Z")

</div>

From the `--older-than`, it is clear you have been reading someone's outdated blog post instructions. That flag was discontinued with the advent of Curator v4. Please do not use it. Also, screen shots are exceptionally hard to read. If there is any way you can cut/paste the actual data, it is preferred.

I'm kind of puzzled why you went to the trouble to install Python and pip and all that when there's an official [Windows MSI Installer](https://www.elastic.co/guide/en/elasticsearch/client/curator/5.4/windows-msi.html) for Curator.

Your action configuration file looks good, but you need to create a [client configuration file](https://www.elastic.co/guide/en/elasticsearch/client/curator/5.4/configfile.html#configfile) as well. This tells Curator where to connect, any credentials that may be necessary, what level of logging, etc. You can provide that with `curator --config "C:\path\to\config.yml" --dry-run "C:\path\to\action.yml"

If you put your client configuration file into `C:\Users\emitescv\.curator\curator.yml`, you can omit the `--config "C:\path\to\config.yml"` portion, as it looks there by default.

---

<div class="post-metadata">

### Author: ![malc\_richi](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/malc_richi/32/28895_2.png) [@malc\_richi](https://discuss.elastic.co/u/malc_richi)
#### Post date: [March 24, 2018, 3:29pm UTC](https://discuss.elastic.co/t/curator-command-error-in-windows/124385/6 "2018-03-24T15:29:41Z")

</div>

Thanks a lot!!!

---

<div class="post-metadata">

### Author: ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)
#### Post date: [April 21, 2018, 3:29pm UTC](https://discuss.elastic.co/t/curator-command-error-in-windows/124385/7 "2018-04-21T15:29:48Z")

</div>

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.
