Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adding Timestamp Extraction to CloudWatch Logs Sink #3106

Open
MaGonzalMayedo opened this issue Aug 3, 2023 · 0 comments
Open

Adding Timestamp Extraction to CloudWatch Logs Sink #3106

MaGonzalMayedo opened this issue Aug 3, 2023 · 0 comments
Labels
enhancement New feature or request plugin - sink A plugin to write data to a destination.

Comments

@MaGonzalMayedo
Copy link
Contributor

Is your feature request related to a problem? Please describe.
Currently the cloudwatch_logs sink publishes log events with the time at which the event is transmitted from the sink. There is no support for extracting an already existing timestamp from the event and using it as the timestamp of the event.

Describe the solution you'd like
A solution would be to extend the current plugin to include a timestamp extraction option. This would be configurable and would allow for the extraction of the timestamp.

Additional context
The timestamp could potentially be extracted in the following way:

  • Through a user-entered date configuration. Where the sink would try to pull and use during transmission.
  • Through the extraction of a Data-Prepper standard timestamp (via the Date Processor).

Both of these methods would also require the final date to be in UTC prior to being transmitted.

@dlvenable dlvenable added enhancement New feature or request plugin - sink A plugin to write data to a destination. and removed untriaged labels Aug 9, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request plugin - sink A plugin to write data to a destination.
Projects
Development

No branches or pull requests

2 participants