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

support hostheader as a partition to allow multiple sites to be handled by 1 bucket/stack #8

Closed
leecookson opened this issue Jul 14, 2020 · 1 comment

Comments

@leecookson
Copy link

Since the host header isn't in the log file name, it would need to be part of the log bucket's prefix configured in CloudFront to keep the lambda stateless when converting new log objects to the partition format.

We have lots of sites, and would like to avoid the overhead of setting up a new stack for each one, and also have the flexibility to query multiple sites at once while still maintaining the cost/performance benefits of using partitions.

@steffeng
Copy link
Member

How many hostnames do you have, 10/100/10000s...? How many Amazon CloudFront distributions do you have?
Querying for the x-host-header in the logs does not do the trick?

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

No branches or pull requests

2 participants