You can do this by changing the 'measure' from all logs to a specific attribute:
all logs
DataDog will then allow you to select an aggregation like an average on the attribute: