# Unknown setting \[xpack.notification.email.html.sanitization.allow\] please check that any required plugins are installed, or check the breaking changes documentation for removed settings

**URL:** <https://discuss.elastic.co/t/unknown-setting-xpack-notification-email-html-sanitization-allow-please-check-that-any-required-plugins-are-installed-or-check-the-breaking-changes-documentation-for-removed-settings/120746>\
**Category:** Elasticsearch\
**Created:** [February 21, 2018, 12:39am UTC](https://discuss.elastic.co/t/unknown-setting-xpack-notification-email-html-sanitization-allow-please-check-that-any-required-plugins-are-installed-or-check-the-breaking-changes-documentation-for-removed-settings/120746 "2018-02-21T00:39:38Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Karthik\_Ramachandran](https://avatars.discourse-cdn.com/v4/letter/k/f19dbf/32.png) [@Karthik\_Ramachandran](https://discuss.elastic.co/u/Karthik_Ramachandran)\
**Post date:** [February 21, 2018, 12:39am UTC](https://discuss.elastic.co/t/unknown-setting-xpack-notification-email-html-sanitization-allow-please-check-that-any-required-plugins-are-installed-or-check-the-breaking-changes-documentation-for-removed-settings/120746/1 "2018-02-21T00:39:38Z")

</div>

Trying to configure sanitization settings for eMail notifications but when ES is started, i'm getting error

java.lang.IllegalArgumentException: unknown setting [xpack.notification.email.html.sanitization.allow] please check that any required plugins are installed, or check the breaking changes documentation for removed settings

ES Version 6.2

Below are various testing done and results.

Used Windows OS, and it works fine with settings  
xpack.notification.email.html.sanitization:  
allow: \_styles,\_tables,\_blocks,\_links,\_formatting

Used Linux (Redhat), and works fine for basic watcher enabled/mail settings **without** sanitization settings.

Using the same Linux, when sanitization settings are added, getting error as stated above

Any guidance would be helpful.

---

<div class="post-metadata">

**Author:** ![TimV](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/timv/32/13162_2.png) [@TimV](https://discuss.elastic.co/u/TimV)\
**Post date:** [February 21, 2018, 5:19am UTC](https://discuss.elastic.co/t/unknown-setting-xpack-notification-email-html-sanitization-allow-please-check-that-any-required-plugins-are-installed-or-check-the-breaking-changes-documentation-for-removed-settings/120746/2 "2018-02-21T05:19:38Z")

</div>

This was fixed in 6.2.2 (that was just released)

[https://www.elastic.co/guide/en/elasticsearch/reference/6.2/xes-6.2.2.html](https://www.elastic.co/guide/en/elasticsearch/reference/6.2/xes-6.2.2.html)

---

<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:** [March 21, 2018, 5:19am UTC](https://discuss.elastic.co/t/unknown-setting-xpack-notification-email-html-sanitization-allow-please-check-that-any-required-plugins-are-installed-or-check-the-breaking-changes-documentation-for-removed-settings/120746/3 "2018-03-21T05:19:40Z")

</div>

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