Why context object doesn't separated by columns?


#1

Hi again.

When I use unstruct event with my own iglu schema, kibana shows me that my fields is separated

But when I pass object in user context, it’s not separated by columns. Why?


#2

Hi @evgenyrodionov - this is because the unstruct event is unitary (there can be only one), whereas each type that you are passing in as a context is boxed inside an array (there can be many, e.g. with line items on an order).

So Kibana has to represent the contexts intact, not separated by columns.


#3

Thanks, @alex.

How I can parse this context and put anonymousId in root event’s object?


#4

Assuming you are using the Snowplow Kinesis-based RT pipeline, you can take a look at Kinesis Tee: