Project

General

Profile

Task #18066

Go lib: GetLogs()

Added by Shuvam Misra about 1 year ago. Updated about 1 year ago.

Status:
Closed
Priority:
Normal
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

Precedes LogHarbour: logging - Task #17937: WSC: show_activitylog()Closed18/03/202418/03/2024Tushar Bhingare

Actions
Precedes LogHarbour: logging - Task #17935: WSC: show_highprilog()Closed18/03/202418/03/2024Aniket Shinde

Actions
Precedes LogHarbour: logging - Task #17933: WSC: show_debuglog()Closed18/03/202418/03/2024Kanchan Barve

Actions
#1

Updated by Shuvam Misra about 1 year ago

#2

Updated by Shuvam Misra about 1 year ago

#3

Updated by Shuvam Misra about 1 year ago

#4

Updated by Tushar Bhingare about 1 year ago

  • Assignee set to Tushar Bhingare
#5

Updated by Tushar Bhingare about 1 year ago

  • Status changed from New to In Progress
#6

Updated by Tushar Bhingare about 1 year ago

  • % Done changed from 0 to 20
  • built the function getLogs() and obtained the desired outcome.
  • I have to work on the data section of the change log.
#7

Updated by Tushar Bhingare about 1 year ago

  • % Done changed from 20 to 30

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.

#8

Updated by Tushar Bhingare about 1 year ago

  • % Done changed from 30 to 50
  • Fixed the range error
  • Since filters execute faster, replace must queries with them.
  • Include a filter for priorities, only logs of priority equal to or higher than the value will be returned
#9

Updated by Tushar Bhingare about 1 year ago

attempted to run a docker test for the getLogs() construct structure but encountered some connection issues

#10

Updated by Shuvam Misra about 1 year ago

  • Status changed from In Progress to Testing
#11

Updated by Tushar Bhingare about 1 year ago

  • % Done changed from 50 to 90

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

#12

Updated by Tushar Bhingare about 1 year ago

  • % Done changed from 90 to 100
  • Status changed from Testing to Closed

Also available in: Atom PDF