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

Snowplow collector behind CloudFlare #311

Open
mooperd opened this issue Apr 28, 2023 · 1 comment
Open

Snowplow collector behind CloudFlare #311

mooperd opened this issue Apr 28, 2023 · 1 comment

Comments

@mooperd
Copy link

mooperd commented Apr 28, 2023

We want our snowplow behind Cloudflare but this means we're not getting the right IP address in our database. Is there a way of configuring SP to use an IP address from the request header - in this case. "CF-Connecting-IP".

https://developers.cloudflare.com/fundamentals/get-started/reference/http-request-headers/#cf-connecting-ip

Thanks,

Mooperd

@rob-ellison-jet
Copy link

Hey @mooperd , this is good to know as we also have a similar setup. The headers should be collected and stored in the Thrift record. You can also add an HTTP Header extractor enrichment to add this to the good sink from the Enricher. We use this method to better identify bot traffic.
This may need looking into further if you want to use this in combination with the IP Lookup Enrichment though.
It feel like this is more an issue for the Enricher though.

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