Year over year, month over month, Year to date this year versus last

Hi All,

I'm relatively new to Kibana and my knowledge of it is quite limited.

I am trying to create dashboards that display simple Month to date, year to date (YTD) stats on the same dash board. I would also like to create visualizations that display WoW, MoM and YoY stats as well as YTD vs YTD(last year)

So far I've been struggling with how to get Kibana to do this or if it even can. I would greatly appreciate it if someone could lead me in the right direction.

Many thanks

Robin

The approach we plan to take for this use case is to provide scripted fields that allow you to time-shift metrics you want to compare in the manner you described.

Unfortunately, Kibana scripted fields by default are based on Lucene expressions that currently do not support date math -- we are working to enhance that in the future. If this is really important to you, you can also try using static Groovy scripts, which support date math, but much more cumbersome to set up in a secure manner and generally not recommended (more on that in this thread).

2 Likes