Logs can be transformed through processing rules. Note that rules are processed sequentially, making the order important; a different rule order could give different results.
To execute this request, you need an access token with Read settings (settings.read) scope. To learn how to obtain and use it, see Tokens and authentication.