# Issue with curator - Schema error: extra keys not allowed @ data\['client'\]\['timoeut'\]

**URL:** <https://discuss.elastic.co/t/issue-with-curator-schema-error-extra-keys-not-allowed-data-client-timoeut/166095>\
**Category:** Elasticsearch\
**Created:** [January 29, 2019, 6:29am UTC](https://discuss.elastic.co/t/issue-with-curator-schema-error-extra-keys-not-allowed-data-client-timoeut/166095 "2019-01-29T06:29:24Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![Kok\_Sin\_See](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/kok_sin_see/32/20893_2.png) [@Kok\_Sin\_See](https://discuss.elastic.co/u/Kok_Sin_See)\
**Post date:** [January 29, 2019, 6:29am UTC](https://discuss.elastic.co/t/issue-with-curator-schema-error-extra-keys-not-allowed-data-client-timoeut/166095/1 "2019-01-29T06:29:25Z")

</div>

Hi,

I am getting this error:  
Schema error: extra keys not allowed @ data['client']['timoeut']

the timeout is spelled as aboved.

Can advise?  
thanks

---

<div class="post-metadata">

**Author:** ![pjanzen](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/pjanzen/32/13756_2.png) [@pjanzen](https://discuss.elastic.co/u/pjanzen)\
**Post date:** [January 29, 2019, 8:53am UTC](https://discuss.elastic.co/t/issue-with-curator-schema-error-extra-keys-not-allowed-data-client-timoeut/166095/2 "2019-01-29T08:53:37Z")

</div>

@ data['client']['timoeut'] is wrongly spelled, this should be @ data['client']['timeout']

But I dont know if that fixes your problem..

---

<div class="post-metadata">

**Author:** ![harshbajaj16](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/harshbajaj16/32/44970_2.png) [@harshbajaj16](https://discuss.elastic.co/u/harshbajaj16)\
**Post date:** [January 29, 2019, 9:01am UTC](https://discuss.elastic.co/t/issue-with-curator-schema-error-extra-keys-not-allowed-data-client-timoeut/166095/3 "2019-01-29T09:01:49Z")

</div>

Hi @Kok_Sin_See,

This error usually occur if there is something wrong in your action file.

> [@](#):
>
> Schema error: extra keys not allowed @ data['client']['timoeut']

could you please share the action file with full logs for further investigation.

Regards,  
Harsh Bajaj

---

<div class="post-metadata">

**Author:** ![Kok\_Sin\_See](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/kok_sin_see/32/20893_2.png) [@Kok\_Sin\_See](https://discuss.elastic.co/u/Kok_Sin_See)\
**Post date:** [January 29, 2019, 11:36am UTC](https://discuss.elastic.co/t/issue-with-curator-schema-error-extra-keys-not-allowed-data-client-timoeut/166095/4 "2019-01-29T11:36:15Z")

</div>

Hi,

I tested the same configuration on my centos locally, it works.. The issue is when I tested in RHEL 7.2 production env. It was the same configuration file on both env.

How do I enable logging to a file?

thanks

* * *

## actions: 1: action: delete\_indices description: \>- Delete indices older than 60 days (based on index name), for winlogbeat- prefixed indices. Ignore the error if the filter does not result in an actionable list of indices (ignore\_empty\_list) and exit cleanly. options: ignore\_empty\_list: True timeout\_override: continue\_if\_exception: False disable\_action: False filters: - filtertype: pattern kind: prefix value: winlogbeat- exclude: - filtertype: age source: name direction: older timestring: '%Y.%m.%d' unit: days unit\_count: 60 exclude:

---

<div class="post-metadata">

**Author:** ![Kok\_Sin\_See](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/kok_sin_see/32/20893_2.png) [@Kok\_Sin\_See](https://discuss.elastic.co/u/Kok_Sin_See)\
**Post date:** [January 29, 2019, 11:37am UTC](https://discuss.elastic.co/t/issue-with-curator-schema-error-extra-keys-not-allowed-data-client-timoeut/166095/5 "2019-01-29T11:37:48Z")

</div>

Hi,  
The timoeut - is generated by the curator itself. Not by my configuration. As a matter of fact, there is no such setting in the config file.

Any idea?

thanks

---

<div class="post-metadata">

**Author:** ![pjanzen](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/pjanzen/32/13756_2.png) [@pjanzen](https://discuss.elastic.co/u/pjanzen)\
**Post date:** [January 29, 2019, 11:41am UTC](https://discuss.elastic.co/t/issue-with-curator-schema-error-extra-keys-not-allowed-data-client-timoeut/166095/6 "2019-01-29T11:41:49Z")

</div>

Hi,

You can find the [docs on curator logging and configuration here.](https://www.elastic.co/guide/en/elasticsearch/client/curator/current/configfile.html)

---

<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:** [January 29, 2019, 12:42pm UTC](https://discuss.elastic.co/t/issue-with-curator-schema-error-extra-keys-not-allowed-data-client-timoeut/166095/7 "2019-01-29T12:42:36Z")

</div>

> [@Kok\_Sin\_See](#):
>
> Schema error: extra keys not allowed @ data['client']['timoeut']

This error is in the client configuration, not the action file. It implies an incorrect spelling of the `timeout` key:

```auto
---
client:
   # ... other stuff here
   timeout: 30
logging:
   # ... other stuff here.

```

In your case, the `timeout` must be misspelled as `timoeut`, resulting in the error.

---

<div class="post-metadata">

**Author:** ![Kok\_Sin\_See](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/kok_sin_see/32/20893_2.png) [@Kok\_Sin\_See](https://discuss.elastic.co/u/Kok_Sin_See)\
**Post date:** [January 30, 2019, 6:09am UTC](https://discuss.elastic.co/t/issue-with-curator-schema-error-extra-keys-not-allowed-data-client-timoeut/166095/8 "2019-01-30T06:09:32Z")

</div>

Hi,

U r correct.. Already made the changes..

thanks

---

<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:** [February 27, 2019, 6:09am UTC](https://discuss.elastic.co/t/issue-with-curator-schema-error-extra-keys-not-allowed-data-client-timoeut/166095/9 "2019-02-27T06:09:42Z")

</div>

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