# Different results when running curator command at command prompt vs as a .bat file in windows

**URL:** <https://discuss.elastic.co/t/different-results-when-running-curator-command-at-command-prompt-vs-as-a-bat-file-in-windows/31804>\
**Category:** Elasticsearch\
**Created:** [October 7, 2015, 7:56pm UTC](https://discuss.elastic.co/t/different-results-when-running-curator-command-at-command-prompt-vs-as-a-bat-file-in-windows/31804 "2015-10-07T19:56:14Z")\
**Posts on this page:** 1\
**Showing post:** 3

<div class="post-metadata">

**Author:** ![casieowen](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/casieowen/32/8734_2.png) [@casieowen](https://discuss.elastic.co/u/casieowen)\
**Post date:** [October 7, 2015, 11:08pm UTC](https://discuss.elastic.co/t/different-results-when-running-curator-command-at-command-prompt-vs-as-a-bat-file-in-windows/31804/3 "2015-10-07T23:08:20Z")

</div>

I'm attaching a snip of the command ran. I tried to attach all the debug info as a .doc, but this UI won't accept it. And it's too large to include here. There are a few references to the two indices that are caught as relevant when I run this manually. I don't see anything revealing in the log. Here is the end, as much as I can fit. You'll see it does reference the two indices that are caught as relevant if I run this manually, which are: casieo\_index-2015.10.05 and casieo\_index-2015.10.04:

2015-10-07 15:40:27,519 DEBUG curator.api.utils get\_indices:27 All indices: [u'casieo\_index', u'.marvel-2015.09.28', u'.marvel-2015.09.29', u'.marvel-2015.09.23', u'.marvel-2015.09.26', u'.marvel-2015.09.27', u'.marvel-2015.09.24', u'.marvel-2015.09.25', u'casieo\_index-2015.10.05', u'casieo\_index-2015.10.04', u'.marvel-2015.10.02', u'.marvel-2015.10.03', u'.marvel-2015.10.01', u'.marvel-2015.10.06', u'.marvel-2015.10.07', u'.marvel-2015.10.04', u'.marvel-2015.10.05', u'.marvel-2015.09.30', u'.marvel-kibana', u'iplocation\_2015.10.06', u'customers-v2', u'customers-v1']  
2015-10-07 15:40:27,519 DEBUG curator.cli.index\_selection indices:72 Full list of indices: [u'casieo\_index', u'.marvel-2015.09.28', u'.marvel-2015.09.29', u'.marvel-2015.09.23', u'.marvel-2015.09.26', u'.marvel-2015.09.27', u'.marvel-2015.09.24', u'.marvel-2015.09.25', u'casieo\_index-2015.10.05', u'casieo\_index-2015.10.04', u'.marvel-2015.10.02', u'.marvel-2015.10.03', u'.marvel-2015.10.01', u'.marvel-2015.10.06', u'.marvel-2015.10.07', u'.marvel-2015.10.04', u'.marvel-2015.10.05', u'.marvel-2015.09.30', u'.marvel-kibana', u'iplocation\_2015.10.06', u'customers-v2', u'customers-v1']  
2015-10-07 15:40:27,519 DEBUG curator.cli.index\_selection indices:89 All filters: [{'timestring': u'm.d', 'pattern': '(?P\m\.\d)', 'groupname': 'date', 'method': 'older\_than', 'time\_unit': 'days', 'value': 1}, {'pattern': '^casieo\_index-.\*'}] 2015-10-07 15:40:27,519 DEBUG curator.cli.index\_selection indices:94 Filter: {'timestring': u'm.d', 'pattern': '(?P\<date\>\\m\\.\\d)', 'groupname': 'date', 'method': 'older\_than', 'time\_unit': 'days', 'value': 1} 2015-10-07 15:40:27,520 DEBUG curator.cli.index\_selection indices:94 Filter: {'pattern': '^casieo\_index-.\*'}  
2015-10-07 15:40:27,520 INFO curator.cli.index\_selection indices:98 Pruning Kibana-related indices to prevent accidental deletion.  
2015-10-07 15:40:27,520 WARNING curator.cli.index\_selection indices:152 No indices matched provided args: {'timestring': u'm.d', 'newer\_than': None, 'older\_than': 1, 'time\_unit': 'days', 'suffix': None, 'all\_indices': False, 'index': (), 'exclude': (), 'prefix': u'casieo\_index-', 'regex': None} ![](https://us1.discourse-cdn.com/elastic/original/2X/9/9a3095b4bb464e508af95d32d9a9c86ee3c8411e.jpg)

---

_[View the full topic](https://discuss.elastic.co/t/different-results-when-running-curator-command-at-command-prompt-vs-as-a-bat-file-in-windows/31804)._
