Timelion: Cannot escape colons in field names in the metric parameter #95954
Labels
bug
Fixes for quality problems that affect the customer experience
Feature:Timelion
Timelion app and visualization
Team:Visualizations
Visualization editors, elastic-charts and infrastructure
Kibana version:
7.9.1
Describe the bug: In Timelion, it is impossible to escape colons (which are treated as delimiters) in field names in the
metric
parameter. This, in turn, makes it impossible to produce certain visualizations in Timelion. By contrast, it is possible to escape colons in theq
parameter, which suggests that this is a bug and not a deliberate design decision.Steps to reproduce:
:helloworld
).metric
parameter whose value contains a field name with a colon, and watch it fail as expected (e.g.,.es(index=sample*, timefield=timestamp,metric=cardinality::helloworld)
).metric
parameter whose value contains a field name with a colon and attempt to escape colon, and watch it fail (e.g.,.es(index=sample*, timefield=timestamp,metric=cardinality:\:helloworld)
).Expected behavior: You should be able to use the
\
character to escape colons (and prevent splitting) in themetric
parameter, just as you can use the\
character to escape colons inq
parameter.Screenshots (if relevant):
Any additional context: This bug was originally reported almost 3 years ago (#22113). Possible solutions were entertained, but it appears that no solution was implemented.
The text was updated successfully, but these errors were encountered: