diff --git a/docs/management/managing-fields.asciidoc b/docs/management/managing-fields.asciidoc index 97cd184a4db88..5cd5c1ffd6248 100644 --- a/docs/management/managing-fields.asciidoc +++ b/docs/management/managing-fields.asciidoc @@ -57,11 +57,17 @@ include::field-formatters/string-formatter.asciidoc[] [[field-formatters-numeric]] === Numeric field formatters -Numeric fields support the `Url`, `Bytes`, `Duration`, `Number`, `Percentage`, `String`, and `Color` formatters. +Numeric fields support the `Url`, `Bytes`, `Duration`, `Number`, `Percentage`, `Histogram`, `String`, and `Color` formatters. The `Bytes`, `Number`, and `Percentage` formatters enable you to choose the display formats of numbers in this field using the <> syntax that {kib} maintains. +The `Histogram` formatter is only used for the {ref}/histogram.html[histogram field type]. When using the `Histogram` formatter, +you can apply the `Number`, `Bytes`, or `Percentage` format to the aggregated data. + +`Number`, and `Percentage` formatters enable you to choose the display formats of numbers in this field using +the <> syntax that {kib} maintains. + include::field-formatters/url-formatter.asciidoc[] include::field-formatters/string-formatter.asciidoc[] diff --git a/src/plugins/index_pattern_field_editor/public/service/format_editor_service.ts b/src/plugins/index_pattern_field_editor/public/service/format_editor_service.ts index 67064e8a9cdbf..faabc7f5b9450 100644 --- a/src/plugins/index_pattern_field_editor/public/service/format_editor_service.ts +++ b/src/plugins/index_pattern_field_editor/public/service/format_editor_service.ts @@ -20,6 +20,7 @@ import { StringFormatEditor, TruncateFormatEditor, UrlFormatEditor, + HistogramFormatEditor, } from '../components'; /** @@ -47,6 +48,7 @@ export class FormatEditorService { StringFormatEditor, TruncateFormatEditor, UrlFormatEditor, + HistogramFormatEditor, ]; const fieldFormatEditorsSetup = this.fieldFormatEditors.setup(defaultFieldFormatEditors);