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

Using request_creation_time as record timestamp, and additional custom parsing #26

Closed
davidk81 opened this issue Apr 6, 2021 · 2 comments
Labels
enhancement New feature or request question Further information is requested

Comments

@davidk81
Copy link

davidk81 commented Apr 6, 2021

  1. We would like to use request_creation_time as the timestamp when ingested into New Relic (versus default which is using the time-of-ingest). Is it possible to add custom parsing to the lamba to enable this?

I see there might be potential to parse the data here:
https://github.com/newrelic/aws_s3_log_ingestion_lambda/blob/master/src/handler.py#L112-L126

  1. The second question is, are we able to parse and add additional fields. Our use-case is we would like to add additional filtering on the uri path (eg: filter out some uri params such as https://hello.com/user/1234). Such filtering may be difficult or impossible to do using glob patterns with the NR server-side parsing
@danybmx
Copy link
Contributor

danybmx commented Aug 26, 2022

Hi @davidk81,

I can't found the request_creation_time in the lambda S3 event nor in the lambda context that is received by the handler. Although there is an eventTime for S3 events. Does that help?

The second point is related to #43 (#33 originally) that will be merged soon.

@danybmx danybmx added question Further information is requested enhancement New feature or request labels Aug 26, 2022
@davidk81
Copy link
Author

thanks @danybmx, thanks for getting back to us. we will take another look into this when we have time. i will close this issue for now.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants