Pulling query history only for the last 5 mins using "/api/2.0/sql/history/queries" api
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-17-2023 12:31 PM
I know query history api provides filter_by option with start and end time in ms but I was wondering if I can get only the last 5 mins of query data every time I run the api call (using telegraf to call the api). Is it possible I can use relative dates (such as not - 5 min ago) with the query history api?
Thanks,
Labels:
- Labels:
-
Date
-
End Time
-
History
-
Query History
0 REPLIES 0