# Add a new field to the .ml-anomalies-shared index

**URL:** <https://discuss.elastic.co/t/add-a-new-field-to-the-ml-anomalies-shared-index/316847>\
**Category:** Elasticsearch\
**Created:** [October 18, 2022, 6:58am UTC](https://discuss.elastic.co/t/add-a-new-field-to-the-ml-anomalies-shared-index/316847 "2022-10-18T06:58:25Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![irivas95](https://avatars.discourse-cdn.com/v4/letter/i/839c29/32.png) [@irivas95](https://discuss.elastic.co/u/irivas95)\
**Post date:** [October 18, 2022, 6:58am UTC](https://discuss.elastic.co/t/add-a-new-field-to-the-ml-anomalies-shared-index/316847/1 "2022-10-18T06:58:26Z")

</div>

Hi,  
I need to add a new field, "anomaly level" to the .ml-anomalies-shared index to new data and already indexed data. The field would have a different value based on the value of the record score field, for example:  
if the record score is between 0 and 25, the anomaly level field will have the value "warning". Is it possible?  
Thanks in advance

---

<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:** [November 15, 2022, 6:58am UTC](https://discuss.elastic.co/t/add-a-new-field-to-the-ml-anomalies-shared-index/316847/2 "2022-11-15T06:58:32Z")

</div>

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