question

tarekonatsheh avatar image
tarekonatsheh asked

Event is in (Data Explorer), but not in (Event History)

Dears,

We are sending crucial events to playstream by the game (client), and based on them we have a Rule that triggers a function in the cloud script.

We have noted lately that sometimes the event does not reach the playstream, and therefore, the cloud script function won't get triggered. But, we were able to find this event in the new Data Explorer.

Note that the events we are sending are not telemetry events.

What would be the cause of this? do you have any ideas?

Please advise.

MatchmakingdataPlayStream
2 comments
10 |1200

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Seth Du avatar image Seth Du ♦ commented ·

It is true that sometimes it takes more time for PlayStream events to occur on Event History than Data Explorer. However, it is abnormal if they only shows in Explorer.

Would you please share more details about this issue? What's the title ID? How you implement the Rule and Can you provide some related PlayStream Event ID?

0 Likes 0 ·
tarekonatsheh avatar image tarekonatsheh Seth Du ♦ commented ·

Title ID: C0DAE

The rule is triggered when it sees a custom playstream event of type: "title.C0DAE.EndSessionBubble"
There are no CONDITIONS
ACTIONS: Execute Cloud Script, with (Publish results as PlayStream Event) checked.

related Playstream Event ID: "EventId":"9a80b75fb25c4324bb881125f3709ec2"
as seen in the Data Explorer.

This is the whole EventData fyi:
{"PlayFabEnvironment":{"Application":"mainserver","Vertical":"master","Commit":"0431296","Cloud":"main"},"EventNamespace":"title.C0DAE","SourceType":"GameClient","EntityType":"player","Timestamp":"2020-08-06T11:40:30.6388156Z","EventName":"EndSessionBubble","TitleId":"C0DAE","EntityId":"677A4ABB4C2CDE02","EventId":"9a80b75fb25c4324bb881125f3709ec2","Source":"C0DAE","Time":"08/06/2020 14:40:32","UserID":"677A4ABB4C2CDE02","Session":11}

0 Likes 0 ·

1 Answer

·
Seth Du avatar image
Seth Du answered

I have found the event you have mentioned in Event History. Also, there is triggered Cloud Script execution result. However, it shows failed.


4 comments
10 |1200

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

tarekonatsheh avatar image tarekonatsheh commented ·

That event is exactly what we were looking for.
I have tried searching for it using the EventId and now I can see it :)
Thanks a lot!

However, it is also interesting that when I use the date option to filter the search results in the Events History, it does not show up. So there is definitely something that needs to be fixed there.

Thank you again.

0 Likes 0 ·
Seth Du avatar image Seth Du ♦ tarekonatsheh commented ·

In fact, I am using timestamp for the search and the query sentence is below

where Timestamp between (datetime(2020-08-06T11:39:00)..datetime(2020-08-06T11:45:00))
0 Likes 0 ·
tarekonatsheh avatar image tarekonatsheh Seth Du ♦ commented ·

Interesting, your query works fine.. But try using this query, it won't work:

where Timestamp between (datetime(2020-08-06T06:00:00)..datetime(2020-08-07T06:00:00))
0 Likes 0 ·
Show more comments

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Error rendering WebPanel (widgets/consolidation-widget.ftl): org.hibernate.hql.internal.ast.QuerySyntaxException: AvailableConsolidation is not mapped [from AvailableConsolidation up where up.node = :node]