Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Kibana timelion: How to add vertical line

I have a chart displayed in Kibana timelion and I want to add vertical line
For horizontal lines it can be used .value(200) or .static(200) - is there any possibility to add vertical one?

like image 761
pbaranski Avatar asked Jun 07 '17 12:06

pbaranski


1 Answers

I did this on 5.6.2. It's kind of hack way.

.es(q='date:[2017-12-01 TO 2017-12-02]', metric='min:Some_Test_Rate', timefield='date').add(10).bars(2).color(red).label('Specific Date'),

  • I have weekly data, so, I put the range like 2017-12-01 TO 2017-12-02. It just pick one date. (every Friday)

  • And display any data. Adjust with add(10) to make it looks better. (You can use max as well)

  • The others: .bars(2).color(red).label('Specific Date'), would be easy to understand.

like image 74
Peter Avatar answered Sep 24 '22 13:09

Peter