Alberkillo
Alberkillo

Reputation: 1

Parse version number to vars

using telegraf 1.24.1. I want to parse a number version (10.2.12) and return as separated vars (major, minor, patch)

No substring option found.

Thanks in advance

No funtionality found

Upvotes: 0

Views: 39

Answers (1)

powersj
powersj

Reputation: 379

In many cases like this, it is best to check out the starlark processor. It is a python-like environment where you could split the string and then create fields for each value: major, minor, and patch.

Upvotes: 0

Related Questions