# Description or documentation of fieldValues for Dashboards

**URL:** <https://forum.opensearch.org/t/description-or-documentation-of-fieldvalues-for-dashboards/26424>\
**Category:** OpenSearch Dashboards\
**Created:** [August 18, 2025, 2:35pm UTC](https://forum.opensearch.org/t/description-or-documentation-of-fieldvalues-for-dashboards/26424 "2025-08-18T14:35:06Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![sebastian-thorn](https://avatars.discourse-cdn.com/v4/letter/s/958977/32.png) [@sebastian-thorn](https://forum.opensearch.org/u/sebastian-thorn)\
**Post date:** [August 18, 2025, 2:35pm UTC](https://forum.opensearch.org/t/description-or-documentation-of-fieldvalues-for-dashboards/26424/1 "2025-08-18T14:35:06Z")

</div>

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

Source-code: src/plugins/data/common/data\_views/fields/data\_view\_field.test.ts

**Describe the issue** :

We automate all of out config with ansible, for both OpenSearch and Dashboards and it works fine, but there are aspects that we don’t fully understand.

We use the save-object api described here:

- [How to create index pattern through Dashboards API - OpenSearch Dashboards - OpenSearch](https://forum.opensearch.org/t/how-to-create-index-pattern-through-dashboards-api/13928)
- [Create saved objects API | Kibana Guide [7.10] | Elastic](https://www.elastic.co/guide/en/kibana/7.10/saved-objects-api-create.html)

**Questions:**

- Where can we find documentation for what these variables really mean and do?
- Are they still relevant for OpenSearch/Dashboards or are they depricated?

```typescript
  const fieldValues = {
    name: 'name',
    type: 'string',
    script: 'script',
    lang: 'lang',
    count: 1,
    esTypes: ['text'],
    aggregatable: true,
    filterable: true,
    searchable: true,
    sortable: true,
    indexed: true,
    readFromDocValues: false,
    visualizable: true,
    scripted: true,
    subType: { multi: { parent: 'parent' }, nested: { path: 'path' } },
    displayName: 'displayName',
    indexPattern: ({
      fieldFormatMap: { name: {}, _source: {}, _score: {}, _id: {} },
    } as unknown) as DataView,
    $$spec: ({} as unknown) as DataViewFieldSpec,
    conflictDescriptions: { a: ['b', 'c'], d: ['e'] },
  };

```

---

<div class="post-metadata">

**Author:** ![Leeroy](https://avatars.discourse-cdn.com/v4/letter/l/eb9ed0/32.png) [@Leeroy](https://forum.opensearch.org/u/Leeroy)\
**Post date:** [August 26, 2025, 9:06am UTC](https://forum.opensearch.org/t/description-or-documentation-of-fieldvalues-for-dashboards/26424/2 "2025-08-26T09:06:53Z")

</div>

Hi @sebastian-thorn ,

Did you manage to find any document that explained these values better? If you feel this is missing you can add an issue here - [GitHub · Where software is built](https://github.com/opensearch-project/documentation-website/issues) .

This will then get reviewed and additional documents added.

You can share the issue here when done so anyone who has the same issue can see the status and check any updated documentation as a result.

Thanks,

Leeroy.

---

<div class="post-metadata">

**Author:** ![Leeroy](https://avatars.discourse-cdn.com/v4/letter/l/eb9ed0/32.png) [@Leeroy](https://forum.opensearch.org/u/Leeroy)\
**Post date:** [August 26, 2025, 9:11am UTC](https://forum.opensearch.org/t/description-or-documentation-of-fieldvalues-for-dashboards/26424/3 "2025-08-26T09:11:03Z")

</div>

Hi @sebastian-thorn ,

I just checked the issues and seen an issue is opened for the document here - [[DOC] Document what fieldValues in dataView mean and used for · Issue #10798 · opensearch-project/documentation-website · GitHub](https://github.com/opensearch-project/documentation-website/issues/10798)

Leeroy.

---

<div class="post-metadata">

**Author:** ![sebastian-thorn](https://avatars.discourse-cdn.com/v4/letter/s/958977/32.png) [@sebastian-thorn](https://forum.opensearch.org/u/sebastian-thorn)\
**Post date:** [August 26, 2025, 9:48am UTC](https://forum.opensearch.org/t/description-or-documentation-of-fieldvalues-for-dashboards/26424/4 "2025-08-26T09:48:41Z")

</div>

Great, did not see that they created an issue.
