Skip to main content
Solved

Dashboard TimeFrame Filter

  • August 5, 2026
  • 5 replies
  • 56 views

gopinath_n

For the dashboard filter, is there way we can filter results for the current month?

 

in absolute and relative setting, not able to achieve that. 

Best answer by AymanC

Hi ​@gopinath_n,

 

We’ve got a feature request raised for this - this was something possible in the legacy SIEM dashboarding (looker embedded) without needing to filter this within the search logic.

There is a way around this (and you can get quite nifty with it to solve a lot of other time filtering requirements). The below example should do the job though for this requirement!

 

metadata.log_type = "OKTA"

timestamp.get_timestamp(metadata.event_timestamp.seconds, "MONTH", "GMT") = timestamp.get_timestamp(timestamp.current_seconds(), "MONTH", "GMT")

match:
metadata.id

Kind Regards,

Ayman

5 replies

cmorris
Staff
Forum|alt.badge.img+17
  • Staff
  • August 6, 2026

So you only want to show results from August, for example, correct?

Relative 1 month should work. Applied that to my query, then sorted by create_date to go back to the oldest and I do not have anything before 8/1.

 


gopinath_n
  • Author
  • August 6, 2026

I’ve tried for 1 week search couple of days back and it returned 29th and 30th July results as well.


cmorris
Staff
Forum|alt.badge.img+17
  • Staff
  • August 7, 2026

Do you know what day that was used? One week should be Sunday to Saturday. If you can replicate and have screenshots, please share, but may need a support case.


AymanC
Forum|alt.badge.img+14
  • Bronze 5
  • Answer
  • August 12, 2026

Hi ​@gopinath_n,

 

We’ve got a feature request raised for this - this was something possible in the legacy SIEM dashboarding (looker embedded) without needing to filter this within the search logic.

There is a way around this (and you can get quite nifty with it to solve a lot of other time filtering requirements). The below example should do the job though for this requirement!

 

metadata.log_type = "OKTA"

timestamp.get_timestamp(metadata.event_timestamp.seconds, "MONTH", "GMT") = timestamp.get_timestamp(timestamp.current_seconds(), "MONTH", "GMT")

match:
metadata.id

Kind Regards,

Ayman


gopinath_n
  • Author
  • August 12, 2026

Thanks ​@AymanC