Filter last day documents in index

Hello all,

i have an index that recieves data from monday to friday, i need to retrieve the last day documents. Because of data is not recieving on saturday and sunday, 1 day ago filter is not wotking correctly. i would need the create a filter in kibana panel for getting always the last day documents in the index, is this possible?

Best

Take a look at the top hits aggregation, it should give you what you want.

1 Like

Many thanks warkolm

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