Affected: Data Export
Overview
Data Export does not automatically send index
events by default in LaunchDarkly.
The index
event is a type of event that makes sure a context gets indexed into the LaunchDarkly Contexts list in cases where there weren't anyidentify
events that had the context properties in it.
Solution
If you are using a client-side SDK then enabling sending index
events is not necessary because the client-side SDK does not send index
events. This is because client-side SDKs are designed for single-user desktop, mobile, and embedded applications. The client-side SDK sends an identify
event upon initialization. The index
and identify
events have the same data so there does not need to be an index
event in client-side SDKs.
If you are using a server-side SDK, you do not need to pass a context object during initialization because it's designed for multi-user systems. Therefore index
events are sent once a context has been evaluated for a flag and subsequently identify
events are sent when the context has changed (e.g. anonymous context to a logged-in context).
If you need to enable index
events for a server-side SDK on your LaunchDarkly account, submit a Support ticket.