Recently datadog has started to support ingesting of logs that are upto 72 hours old. This commit updates the current log upload flow to use the Logs API for logs that are within the 72 hour range. Logs older than 72 hours will continue to use the Rehydration method.
This commit only makes the functional changes required for using the Logs API. There will also be some TUI changes required to make the UX better. Will create a seperate PR for those changes.
Epic: CC-28996
Part of: CC-30567
Release note: None
Recently datadog has started to support ingesting of logs that are upto 72 hours old. This commit updates the current log upload flow to use the Logs API for logs that are within the 72 hour range. Logs older than 72 hours will continue to use the Rehydration method.
This commit only makes the functional changes required for using the Logs API. There will also be some TUI changes required to make the UX better. Will create a seperate PR for those changes.
Epic: CC-28996 Part of: CC-30567 Release note: None