The logger data part is 4 bytes. But the data point is multiplied by 10K in and divided by 10K coming out, to allow for some decimals. This was put up in the
logger comments where the data point format and size is explained.
So logging unix timestamps is not appropriate, too large a number (too large after the 10K multiplication).
But you're logging timestamped timestamps? How does logging unix timestamps make sense? The data points are themselves timestamped.
Anyway, you could log a number that large if you divided it by 10K before you pass it to the logger. Or just send it with 4 decimals. Or divide it by 10K with the metric valuation function:
valuation:function(value) { return value/10000 }
FWIW \w will match more than just digits, I would use \d instead, like other examples, for instance
weathershield.