How to decode values from log messages