Filter month


(Padmavathy) #1

I am using Kibana 5 .I am drawing a line chart with a year's data.I need to filter out any one specific month say Feb .

How to filter for specific months in Kibana 5?


(Matt Bargar) #2

If you want to filter out a specific month in a specific year, you could create a simple custom filter for the date range like this:

Values are in millis since epoch.

If you want to filter out any arbitrary month, you'd be best off either including the month as a property in your documents or creating a scripted field that calculates the month from the timestamp. This blog post would help you get started with the latter https://www.elastic.co/blog/using-painless-kibana-scripted-fields


(Padmavathy) #3

Thanks @Bargs.Custom filter worked.


(system) #4

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