Segment Streaming Integration

Hi,

We are trying to integrate Segment into Auth0 log streaming using the official ‘Segment’ stream.

The write key is configured corectly and the Stream Status is reporting as ‘green’ but we are not seeing any events in Segment.

Our Segment instance is in the EU. Could anyone from Auth0 comment on the URL being used for the stream with respect to the comment in this article:

https://segment.com/docs/connections/sources/catalog/libraries/server/http-api/

In particular:

"HTTP API sources in EU workspaces should use the events.eu1.segmentapis.com endpoint

If you are located in the EU and use the https://api.segment.io/v1/ endpoint, you might not see any errors, but your events will not appear in the Segment app. For more information about regional support, see the Source Regional support documentation."

Thanks!

Hi @JimT

Welcome to the Auth0 Community!

Thank you for posting your question. I’ve checked on our side, and currently, it’s not possible to configure an in-house segment connector to use the EU URL to receive data. However, you should be able to configure the Custom Webhook to send data to the proper endpoint. I can’t test for the EU workspace, but I’ve managed to set up the Custom Webhook to send data to the US workspace with Basic Authentication → HTTP API Source | Segment Documentation

Thanks
Dawid

Hi Dawid,

Thanks for confirming what we thought the issue was. Could you explain how you can configure a custom JSON format from the Custom Webhook?

It only presents three options for the Content Format and none of them are compatible with the segment Tracking or Batch APIs.

Cheers.

Hi @JimT

Unfortunately, it’s not possible to modify the format of the JSON body. But I encourage you to write up a product request in the Feedback category. You can read our FAQ regarding submitting a feature request here: How do I submit Product feedback or feature requests?

Thanks
Dawid

1 Like

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.