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

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