Hi!
I'm trying to filter the event history to get events with name 'player_virtual_currency_balance_changed' and EventData.VirtualCurrencyBalance < EventData.VirtualCurrencyPreviousBalance in order to check how my players are expending Gems in my game (I'm using a custom cloudscript function to buy some items and accelerate chests).
My first approach was this query:
where EventData.EventName == 'player_virtual_currency_balance_changed' and EventData.VirtualCurrencyBalance < EventData.VirtualCurrencyPreviousBalance
but it seems that with elasticsearch you cannot access and compare both properties of the event.
How can I do this?