AWS CloudWatch Logs Insights - parse number with thousands point for stats

Viewed 60

We have a log message in our CloudWatch logs that looks somewhat like this

[...] size 3,435 bytes [...]
[...] size 100,334 bytes [...]
[...] size 688 bytes [...]

So essentially there's a number in the log message that I would like to parse out of the message and use for example in a stats avg(size) query.

It there a way to parse the number with the thousands point (comma actually) into an actual number in a CloudWatch Logs Insights query to use in stats?

0 Answers
Related