Task #18066
Go lib: GetLogs()
Start date:
Due date:
15/03/2024
% Done:
100%
Estimated time:
Description
Write the Go function which directly connects to the ElasticSearch database and extracts the log entries as requested.
Related issues
Added by Shuvam Misra about 1 year ago. Updated about 1 year ago.
100%
Description
Write the Go function which directly connects to the ElasticSearch database and extracts the log entries as requested.
Related issues
made a helper function to create queries for getLogs(). improve FromTs, Tots, and Days validation. There is a runtime error that needs to be fixed when using range with terms.
attempted to run a docker test for the getLogs() construct structure but encountered some connection issues
For the following cases, create automated unit test cases.
Acquire Logs for Each Filter Parameter
Time stamp-based and number of days-based Logs
Obtain Logs Using SearchAfterTS
with no filter Parameter