[DOCS] Adds note that default formatters use the meta.unit field (#176857)

## Summary

Adds note to the [Format data
fields](https://www.elastic.co/guide/en/kibana/current/managing-data-views.html#managing-fields)
section that default formatters use the [`meta.unit`
field](https://www.elastic.co/guide/en/elasticsearch/reference/current/mapping-field-meta.html)
for displaying time units, bytes, and percentages.

![Screenshot 2024-02-13 at 17 48
29](384d5da9-f687-404d-a6f8-8bf00a87ba86)

Relates to: #174973
This commit is contained in:
amyjtechwriter 2024-02-19 14:51:30 +00:00 committed by GitHub
parent a15798303a
commit 935f904f32
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -240,6 +240,8 @@ To customize how {kib} displays data fields, use the formatting options.
. Select *Set format*, then enter the *Format* for the field.
NOTE: For numeric fields the default field formatters are based on the `meta.unit` field. The unit is associated with a {ref}/api-conventions.html#time-units[time unit], percent, or byte. The convention for percents is to use value 1 to mean 100%.
[float]
[[string-field-formatters]]
==== String field formatters
@ -278,7 +280,7 @@ include::field-formatters/string-formatter.asciidoc[]
Numeric fields support *Bytes*, *Color*, *Duration*, *Histogram*, *Number*, *Percentage*, *String*, and *Url* formatters.
The *Bytes*, *Number*, and *Percentage* formatters enable you to choose the display formats of numbers in the field using
the <<numeral, Elastic numeral pattern>> syntax that {kib} maintains.
the <<numeral, Elastic numeral pattern>> syntax that {kib} maintains.
The *Histogram* formatter is used only for the {ref}/histogram.html[histogram field type]. When you use the *Histogram* formatter,
you can apply the *Bytes*, *Number*, or *Percentage* format to aggregated data.