-2

FILTER = ' timestamp > "2021-04-15T01:00:00Z" AND timestamp < "2021-04-20T01:00:00Z" '

this filter wonn't work for given date range, what can be the possible FILTER in python that can fetch logs within the given datetime range

1 Answers1

3

Instead FILTER = ' timestamp > "2021-04-15T01:00:00Z" AND timestamp < "2021-04-20T01:00:00Z

I simply removed "AND" keyword and it worked for me in python.

FILTER = ' timestamp > "2021-04-15T01:00:00Z" timestamp < "2021-04-20T01:00:00Z