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

Pp 13499 add transformation #9

Merged
merged 4 commits into from
Feb 6, 2025
Merged

Conversation

danworth
Copy link
Contributor

@danworth danworth commented Feb 6, 2025

Move most test data into fixtures and then dynamically generate FirehoseTransformationEvent input when the input doesn't matter so much, e.g. testing error scenarios.

Also some minor formatting and minor refactor of the transformation to make it a little more efficient (in first commit)

danworth and others added 4 commits February 5, 2025 15:48
Extract most values once from the CloudWatch log event since they are
the same for each log event message.
Move most test data into fixtures and then dynamically generate
FirehoseTransformationEvent input when the input doesn't matter so much,
e.g.  testing error scenarios.
* Changed errors within a record to only fail processing of a single record and continue the others.
* Fixed index of s3 logs
* Used official types for the CloudWatchLogsDecodedData
* Made service field in splunk fields optional

Co-authored-by: Dan Worth <dan.worth@digital.cabinet-office.gov.uk>
@danworth danworth merged commit bee1d68 into main Feb 6, 2025
3 checks passed
@jfharden jfharden deleted the PP-13499_add_transformation branch February 6, 2025 16:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants