axiomhq / axiom-cloudfront-lambda Goto Github PK
View Code? Open in Web Editor NEWSend CloudFront logs to Axiom.
Home Page: https://axiom.co
License: MIT License
Send CloudFront logs to Axiom.
Home Page: https://axiom.co
License: MIT License
As we parse a TSV, everything is a string. Figure out what other fields should be non-strings and parse them accordingly.
taken from #13
Default lambda Memory allocation is 128MB, I am afraid if we are batching 10000 events that might sometimes lead to memory exceeding which would crash the lambda function. if we are doing that I would say let's make the batching configurable and add note that memory allocation should be increased relevant to the batching configuration
I tried it already and did some backfilling. memory did not exceed and I was hitting the 10k. But you might be right...
I am making it configurable...
However if we are doing multiple request back to axiom because of the batch sizes I don't think the default 300ms TTL of lambda would suffice!
WDYT?
You can configure the subdirectory for CloudFront logs, so we should make it configurable in the stack(s) too
In the base template when providing your own bucket I believe the template is not properly adding a put object trigger on the s3 bucket. The thing is when I try to add it manually it says the trigger is over lapping.
How many events can be in one file? Maybe batch-ingest every 1k or so.
This way, if people have an existing bucket, they can use our stack to set up the lambda function (including the role and all).
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.