kibana/docs
Diana Derevyankina b000066d64
[TSVB] Support custom field format (#101245) (#111928)
* [TSVB] Support custom field format

Add format_label response processor for series vis data and bucket key formatting to process_bucket for table vis data

* Add ignore_field_formatting for series to support value formatting for all panel types except markdown

* Fix type issue for visData and rename getCustomFieldFormatter to createCustomFieldFormatter

* Update vis.test to cover custom field formats logic and add a migration script to set ignore_field_formatting to true for the series

* Move createCustomFieldFormatter to a separate file, make formatting respect only active metrics field name, refactor vis files and fix label formatting only for grouped by terms series

* Remove services, add getFieldFormatsService  to use it in format_label and get_table_data, replace getCustomFieldFormatter with createCustomFieldFormatter

* Update plugin.ts

* Update start for plugin.ts

* Add formatting for annotations and markdown values

* Refactor some code

* Update some naming and conditions

* Fix formatting of data type labels

* In process_bucket fix case for no getFieldFormatByName

* Add field formatting functional tests for all panel types

* Update tests to make them run correctly for firefox

* Update _tsvb_markdown test setup

* Move series ignoreFieldFormatting check to a separate file, change convertSeriesToVars signature, update migration script and refactor a bit functional tests

* Fix type check for timeseries_visualization.tsx

* Update migrations.js test expected version to 7.15

* Fix tests in _tsvb_chart.ts

* Fix merge conflict remove process_bucket.js

* Update process_bucket.test.ts

* Fix markdown labels formatting

* Add ignore_field_formatting for annotations, enhanced migration script to set that flag to true, refactor data_format_picker

* Fix migration script and add disabling for ignore component when string index pattern is used

* Add supporting URL and color formatters in tsvb table

* Fix eslint

* Remove ignore formatting component, add field formatting option to TSVB data format picker and make it default, remove migration script, update tests and refactor some files

* Fix failing tests, refactor create_field_formatter and add test to it, update some other files

* Fix series formatting for top hit when it has not numeric result

* Handle no fieldFormatMap case for table/vis.js

* Remove "Default" option form DataFormatPicker when index pattern is string, fix markdown variables issue and refactor some code

* Chore(TSVB): Replace aggregations lookup with map

* Fix types, update test expected data and remove unused translations

* Fix i18 check and useEffect in agg.tsx

* Handle aggregations field formatting case

* Fix agg_utils, vis and check_if_numeric_metric tests

* Correct typo and refactor condition in std_metric

* Fix type check

* Get rid of IFieldType

* Add URL and color formatting for topN and metric tabs, fix setting initial custom formatter and switching formatter in agg.tsx

* Update tsvb.asciidoc

* Remove link icon from Date format field help text, update click logic for top N in case of custom field format and fix CI

* Remove unused import

* Revert top N bar extra logic for click

* Refactor some code in agg.tsx

* Add URL and color formatting to Gauge

* Fix bug with terms formatting, refactor some code, update create_field_formatter

* Add comments to _gauge.scss

* Remove unnecessary await

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
Co-authored-by: Uladzislau Lasitsa <Uladzislau_Lasitsa@epam.com>

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
Co-authored-by: Uladzislau Lasitsa <Uladzislau_Lasitsa@epam.com>
2021-09-13 07:18:34 -04:00
..
api [7.x] Timelion App removal (#110255) (#111851) 2021-09-10 15:57:40 -04:00
apm [DOCS] APM failed transaction correlations (#111219) (#111742) 2021-09-09 08:53:10 -07:00
canvas [DOCS] Updates Canvas images for 7.14 (#106424) (#106740) 2021-07-26 11:29:41 -04:00
code
concepts [7.x] [DOCS] Updates create index pattern (#106935) (#109748) 2021-08-24 17:28:36 -04:00
dev-tools [DOCS][DEV TOOLS] Uses task-oriented titles (#106796) (#106803) 2021-07-26 18:58:16 -04:00
developer [7.x] Timelion App removal (#110255) (#111851) 2021-09-10 15:57:40 -04:00
development [7.x] Timelion App removal (#110255) (#111851) 2021-09-10 15:57:40 -04:00
discover [DOCS] Updates Discover docs (#110346) (#111008) 2021-09-02 12:08:13 -04:00
fleet Remove beta admonitions for Fleet docs (#106010) (#106143) 2021-07-19 15:01:40 -04:00
getting-started [DOCS] Updates the quick start for 7.14 (#105489) (#105636) 2021-07-14 12:38:35 -04:00
images [DOCS] Updates Monitoring images (#106902) (#106904) 2021-07-27 16:21:46 -04:00
management [7.x] Timelion App removal (#110255) (#111851) 2021-09-10 15:57:40 -04:00
maps [sample data] update web log geo.src field to match country code of geo.coordinates (#110885) (#111434) 2021-09-07 15:17:35 -04:00
migration [7.11] Add note dropping support for glibc 2.12 (#93067) (#93118) 2021-03-01 15:59:54 -05:00
observability
settings [Docs] Logging settings: add explanation of appenders, loggers and root (#111013) (#111204) 2021-09-03 15:16:55 -04:00
setup [docs/docker] Include server.shutdownTimeout in default configuration (#111468) (#111647) 2021-09-08 16:15:54 -04:00
siem [DOCS] Elastic Sec Overview (Fixing Image) (#104529) (#104700) 2021-07-07 13:09:29 -04:00
spaces [DOCS] Updates Spaces page (#111005) (#111056) 2021-09-02 18:03:45 -04:00
uptime/images
user [TSVB] Support custom field format (#101245) (#111928) 2021-09-13 07:18:34 -04:00
accessibility.asciidoc
action-type-template.asciidoc [Alerting] Update UI to reflect new terminology (#93597) (#94572) 2021-03-15 12:22:43 -04:00
CHANGELOG.asciidoc [7.x] [DOCS] Adds security updates to 7.14.1 release notes (#111007) (#111062) 2021-09-02 18:14:25 -04:00
glossary.asciidoc [DOCS] Re-add glossary links (#94748) (#94821) 2021-03-17 11:26:45 -04:00
gs-index.asciidoc
index-extra-title-page.html Revert "[i18n] [7.x] Integrate 7.14.0 Translations (#106359)" 2021-07-22 13:47:56 -07:00
index.asciidoc [7.x] [DOCS] Adds additional index pattern attributes (#110287) 2021-08-26 11:37:39 -05:00
index.x.asciidoc
limitations.asciidoc
migration.asciidoc
redirects.asciidoc [DOCS] Change "See" to "Refer to" in new redirects (#107023) (#107049) 2021-07-28 12:39:07 -04:00
release-notes.asciidoc
rule-type-template.asciidoc [Alerting][Docs] Combine rule creation and management pages (#101498) (#101979) 2021-06-10 22:14:56 -04:00
timelion.asciidoc