# Masking a field value inside an array

**URL:** <https://forum.opensearch.org/t/masking-a-field-value-inside-an-array/19338>\
**Category:** OpenSearch Dashboards\
**Created:** [May 13, 2024, 2:38pm UTC](https://forum.opensearch.org/t/masking-a-field-value-inside-an-array/19338 "2024-05-13T14:38:41Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![mikovilla](https://avatars.discourse-cdn.com/v4/letter/m/35a633/32.png) [@mikovilla](https://forum.opensearch.org/u/mikovilla)\
**Post date:** [May 13, 2024, 2:38pm UTC](https://forum.opensearch.org/t/masking-a-field-value-inside-an-array/19338/1 "2024-05-13T14:38:41Z")

</div>

**Versions** (relevant - OpenSearch/Dashboard/Server OS/Browser):  
2.5/2.5/W10/ChromeV120

**Describe the issue** :  
Hi, I am new to OpenSearch and Dashboards, and exploring the possibilities of encrypting sensitive information. I’m able to find documentations about field masking but I am not able to mask strings inside an array. Say we have a result that looks like this:

```auto
_source:
{
   "sender":"miko",
   "message":
   {
      "content": "hello, world!"
   },
   "settings":
   [
      {
         "config": "on",
         "description": "notification",
         "modifiedDate": "20240513",
      },
      {
         "config: "off",
         "description": "alert",
         "modifiedDate": "20240512"
      }
   ],
   "testArray": ["a", "b", "c"]
}

```

Is it possible to mask the entire **settings**? or the objects in it?  
I can anonymize sender and message.content just fine. I tried settings\*, but unlike message\*, it does not work.

Or is this feature not yet available?

Thank you!

**Configuration** :

**Relevant Logs or Screenshots** :
