TSVB: Cannot use large integers as static value #28842
Labels
bug
Fixes for quality problems that affect the customer experience
Feature:TSVB
TSVB (Time Series Visual Builder)
Team:Visualizations
Visualization editors, elastic-charts and infrastructure
Kibana version:
6.5.1
Elasticsearch version:
6.5.1
Server OS version:
CentOS 7
Browser version:
Firefox 60.2.1esr
Original install method (e.g. download page, yum, from source, etc.):
yum
Describe the bug:
Cannot use large integers as static value, eg 10737418240
Comes up with the error:
Invalid int constant [10737418240]. If you want a long constant then change it to [10737418240L].
However cannot enter the L as the Static Value field is
type=number
.Using the browser developer tools to change the type to
type=text
is a hacky work around, you can then enter the L, and the static value displays correctlySteps to reproduce:
Expected behavior:
I can enter 10737418240L
Any additional context:
I am graphing the
system.filesystem.available
metric from metricbeat, and want to add a static value marker of 10GB so I can easily see if the available disk space left drops below 10GB.10737418240 is 10gb in bytes.
The text was updated successfully, but these errors were encountered: