How-To: Pass Two Averages to a Timechart
When two fields must be averaged and passed to a
timeChart()
function, both
functions will create an avg()
field. To rename the
fields, use as
parameters
combined with timeChart()
:
logscale
timechart(function=[avg(ConfigStateHash, as=avgConfigStateHash), avg(ConnectTime, as=avgConnectTime)])
This creates two averages,
avgConfigStateHash
and
avgConnectTime
, then passes them to the
timechart()
function.