# Curator no output

**URL:** <https://discuss.elastic.co/t/curator-no-output/238317>\
**Category:** Elasticsearch\
**Tags:** curator\
**Created:** [June 23, 2020, 5:52pm UTC](https://discuss.elastic.co/t/curator-no-output/238317 "2020-06-23T17:52:19Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![Yawn](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/yawn/32/52227_2.png) [@Yawn](https://discuss.elastic.co/u/Yawn)\
**Post date:** [June 23, 2020, 5:52pm UTC](https://discuss.elastic.co/t/curator-no-output/238317/1 "2020-06-23T17:52:19Z")

</div>

Hello,

I am having a weird issue with curator. I did some tests previously running curator manually to take a few snapshots, and it worked.

Now I am running it again and I see nothing happening and nothing in the logs.

Here is my curator config and my action file:

```auto
client:
  hosts:
    - SERVER-01
  port: 9200
  url_prefix:
  use_ssl: True
  certificate: '/CA/CA.cer'
  ssl_no_validate: False
  http_auth: xxxxx:xxxx
  timeout: 30
  master_only: False

logging:
  loglevel: DEBUG
  logfile: "/var/log/curator/curator.log"
  logformat: default
  blacklist: []

```

action file:

```auto
actions:
  1:
    action: snapshot
    description: >-
      Snapshot xxxxx
    options:
      repository: backup
      name: curator-%Y%m%d%H%M%S
      ignore_unavailable: False
      include_global_state: True
      partial: False
      wait_for_completion: True
      skip_repo_fs_check: False
      disable_action: False
      continue_if_exception: False
    filters:
    - filtertype: pattern
      kind: prefix
      value: log-
    - filtertype: age
      source: creation_date
      direction: older
      unit: days
      unit_count: 1
    - filtertype: opened
      exclude: False

```

When I run curator /path/actionfile.yml, it justs ends and nothing happens. I'm not sure if anything changed since the time it worked before..

Any help is appreciated.

Thanks

---

<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:** [June 23, 2020, 7:29pm UTC](https://discuss.elastic.co/t/curator-no-output/238317/2 "2020-06-23T19:29:26Z")

</div>

When Curator fails to even log anything (or do you have any logs, and it just terminates after _something_ happens, but not the action?), it's almost always due to badly formatted YAML.

Are there potentially tabs in your action file? YAML will depend on uniform spacing to work properly.

---

<div class="post-metadata">

**Author:** ![Yawn](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/yawn/32/52227_2.png) [@Yawn](https://discuss.elastic.co/u/Yawn)\
**Post date:** [June 23, 2020, 8:12pm UTC](https://discuss.elastic.co/t/curator-no-output/238317/3 "2020-06-23T20:12:12Z")

</div>

I will check if there are any tabs.

Thanks 🙂

---

<div class="post-metadata">

**Author:** ![Yawn](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/yawn/32/52227_2.png) [@Yawn](https://discuss.elastic.co/u/Yawn)\
**Post date:** [June 25, 2020, 4:14pm UTC](https://discuss.elastic.co/t/curator-no-output/238317/4 "2020-06-25T16:14:14Z")

</div>

There does not seem to be any tab spaces.  
I also used an action file that works on another server, and I got the same behavior

I don't have any logs at all in curator.log (since the last time it worked)  
I am still investigating if there are any other problems.

Thanks

---

<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:** [June 25, 2020, 10:03pm UTC](https://discuss.elastic.co/t/curator-no-output/238317/5 "2020-06-25T22:03:15Z")

</div>

Do you get _any_ logging at all? If not, it could be the `~/.curator.yml` file having strange spacing. It should show something or nothing.

---

<div class="post-metadata">

**Author:** ![Yawn](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/yawn/32/52227_2.png) [@Yawn](https://discuss.elastic.co/u/Yawn)\
**Post date:** [June 26, 2020, 2:12pm UTC](https://discuss.elastic.co/t/curator-no-output/238317/6 "2020-06-26T14:12:05Z")

</div>

Hi

Thanks for your reply. I found out the issue. The certificate file location was changed 🤪  
After I fix that, curator runs fine now.

And no there was no logs at all, which would have helped in this case.

Thanks again

---

<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:** [July 24, 2020, 2:12pm UTC](https://discuss.elastic.co/t/curator-no-output/238317/7 "2020-07-24T14:12:06Z")

</div>

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