Can scale_interval in time series?


(Romain Xie) #1

Hi,

Can I set the Time Series to show which like defined in the Timelion?

.es(index=netflow-latest, timefield=@timestamp, metric='sum:system.network.in.flow').yaxis(units=bits/s).scale_interval(1m)

That means, I need first sum the data, and then scale the result of the sum to a time interval.

Thank you.
Romain


(Marius Dragomir) #2

You can set the specific interval in the Panel Options tab, with the Interval box. If you set it to 1m it should give you the same result as .scale_interval(1m)


(Romain Xie) #3

Yes, after set it, I can get the data.
But, in the image, there is too many point be draw.
In the Timelion, the point to draw is better.

Is there any other way to try?

Thanks


(Marius Dragomir) #4

Do you just want to have the points removed from the chart? In this case, you can set the "Point size" to 0 in the options of the Data tab.


(Romain Xie) #5

Thanks, it's better than too many many point show :blush:


(system) #6

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.